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 #include <wx/rawbmp.h>
2928 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2929 // appears to me that the other platforms are already doing it, so I'll just
2930 // automatically do it for wxMSW here.
2932 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2933 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2935 #define wxPy_premultiply(p, a) (p)
2936 #define wxPy_unpremultiply(p, a) (p)
2940 #include <wx/image.h>
2942 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2943 char** cArray
= NULL
;
2946 if (!PyList_Check(listOfStrings
)) {
2947 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2950 count
= PyList_Size(listOfStrings
);
2951 cArray
= new char*[count
];
2953 for(int x
=0; x
<count
; x
++) {
2954 // TODO: Need some validation and error checking here
2955 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2962 char** cArray
= NULL
;
2965 cArray
= ConvertListOfStrings(listOfStrings
);
2968 bmp
= new wxBitmap(cArray
);
2972 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2975 PyString_AsStringAndSize(bits
, &buf
, &length
);
2976 return new wxBitmap(buf
, width
, height
, depth
);
2978 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2979 wxSize
size(self
->GetWidth(), self
->GetHeight());
2982 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2983 wxMask
*mask
= new wxMask(*self
, colour
);
2984 self
->SetMask(mask
);
2986 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2987 self
->SetWidth(size
.x
);
2988 self
->SetHeight(size
.y
);
2990 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2991 int height
=self
->GetHeight();
2992 int width
=self
->GetWidth();
2994 if (DATASIZE
!= width
* height
* 3) {
2995 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2997 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
2999 // raise an exception...
3000 wxPyErr_SetString(PyExc_RuntimeError
,
3001 "Failed to gain raw access to bitmap data.");
3005 wxNativePixelData::Iterator
p(pixData
);
3006 for (int y
=0; y
<height
; y
++) {
3007 wxNativePixelData::Iterator rowStart
= p
;
3008 for (int x
=0; x
<width
; x
++) {
3009 p
.Red() = *(data
++);
3010 p
.Green() = *(data
++);
3011 p
.Blue() = *(data
++);
3015 p
.OffsetY(pixData
, 1);
3018 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3019 int height
=self
->GetHeight();
3020 int width
=self
->GetWidth();
3022 if (DATASIZE
!= width
* height
* 4) {
3023 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3025 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3027 // raise an exception...
3028 wxPyErr_SetString(PyExc_RuntimeError
,
3029 "Failed to gain raw access to bitmap data.");
3034 wxAlphaPixelData::Iterator
p(pixData
);
3035 for (int y
=0; y
<height
; y
++) {
3036 wxAlphaPixelData::Iterator rowStart
= p
;
3037 for (int x
=0; x
<width
; x
++) {
3039 p
.Red() = wxPy_premultiply(*(data
++), a
);
3040 p
.Green() = wxPy_premultiply(*(data
++), a
);
3041 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3042 p
.Alpha() = a
; data
++;
3046 p
.OffsetY(pixData
, 1);
3049 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3050 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3052 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3053 buffer data
, int DATASIZE
,
3054 buffer alpha
, int ALPHASIZE
)
3056 if (DATASIZE
!= width
*height
*3) {
3057 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3061 if (ALPHASIZE
!= width
*height
) {
3062 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3066 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3067 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3069 // raise an exception...
3070 wxPyErr_SetString(PyExc_RuntimeError
,
3071 "Failed to gain raw access to bitmap data.");
3076 wxAlphaPixelData::Iterator
p(pixData
);
3077 for (int y
=0; y
<height
; y
++) {
3078 wxAlphaPixelData::Iterator rowStart
= p
;
3079 for (int x
=0; x
<width
; x
++) {
3080 byte a
= *(alpha
++);
3081 p
.Red() = wxPy_premultiply(*(data
++), a
);
3082 p
.Green() = wxPy_premultiply(*(data
++), a
);
3083 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3088 p
.OffsetY(pixData
, 1);
3093 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3095 if (DATASIZE
!= width
*height
*3) {
3096 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3100 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3101 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3103 // raise an exception...
3104 wxPyErr_SetString(PyExc_RuntimeError
,
3105 "Failed to gain raw access to bitmap data.");
3109 wxNativePixelData::Iterator
p(pixData
);
3110 for (int y
=0; y
<height
; y
++) {
3111 wxNativePixelData::Iterator rowStart
= p
;
3112 for (int x
=0; x
<width
; x
++) {
3113 p
.Red() = *(data
++);
3114 p
.Green() = *(data
++);
3115 p
.Blue() = *(data
++);
3119 p
.OffsetY(pixData
, 1);
3125 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3127 if (DATASIZE
!= width
*height
*4) {
3128 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3132 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3133 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3135 // raise an exception...
3136 wxPyErr_SetString(PyExc_RuntimeError
,
3137 "Failed to gain raw access to bitmap data.");
3142 wxAlphaPixelData::Iterator
p(pixData
);
3143 for (int y
=0; y
<height
; y
++) {
3144 wxAlphaPixelData::Iterator rowStart
= p
;
3145 for (int x
=0; x
<width
; x
++) {
3147 p
.Red() = wxPy_premultiply(*(data
++), a
);
3148 p
.Green() = wxPy_premultiply(*(data
++), a
);
3149 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3150 p
.Alpha() = a
; data
++;
3154 p
.OffsetY(pixData
, 1);
3160 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3162 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3163 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3166 self
->Green() = green
;
3167 self
->Blue() = blue
;
3169 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3170 PyObject
* rv
= PyTuple_New(3);
3171 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3172 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3173 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3177 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3179 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3180 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3182 self
->Red() = wxPy_premultiply(red
, alpha
);
3183 self
->Green() = wxPy_premultiply(green
, alpha
);
3184 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3185 self
->Alpha() = alpha
;
3187 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3188 PyObject
* rv
= PyTuple_New(4);
3189 int red
= self
->Red();
3190 int green
= self
->Green();
3191 int blue
= self
->Blue();
3192 int alpha
= self
->Alpha();
3194 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3195 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3196 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3197 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3200 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3201 if ( !colour
.IsOk() )
3202 return new wxMask(bitmap
, *wxBLACK
);
3204 return new wxMask(bitmap
, colour
);
3207 #include <wx/iconbndl.h>
3209 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3210 wxIcon
* icon
= new wxIcon();
3211 icon
->CopyFromBitmap(bmp
);
3214 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3215 char** cArray
= NULL
;
3218 cArray
= ConvertListOfStrings(listOfStrings
);
3221 icon
= new wxIcon(cArray
);
3225 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3229 return new wxIconLocation(*filename
);
3232 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3239 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3246 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3248 wxImage
img(cursorName
, type
);
3249 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3250 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3251 return new wxCursor(img
);
3253 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3258 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3261 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3262 return self
->operator bool();
3265 #include <wx/fontutil.h>
3266 #include <wx/fontmap.h>
3267 #include <wx/fontenum.h>
3269 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3270 return self
->ToString();
3273 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3274 static wxNativeEncodingInfo info
;
3275 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3282 SWIGINTERNINLINE PyObject
*
3283 SWIG_From_size_t (size_t value
)
3285 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3289 SWIGINTERNINLINE
int
3290 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3293 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3294 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3298 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3299 wxFontEncoding alt_enc
;
3300 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3301 return PyInt_FromLong(alt_enc
);
3307 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3308 wxNativeFontInfo nfi
;
3309 nfi
.FromString(info
);
3310 return new wxFont(nfi
);
3312 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3313 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3315 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFontBase::New(pixelSize
, family
,
3317 style
, weight
, underlined
,
3320 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3321 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3323 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3324 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3326 class wxPyFontEnumerator
: public wxFontEnumerator
{
3328 wxPyFontEnumerator() {}
3329 ~wxPyFontEnumerator() {}
3331 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3332 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3337 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3338 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3341 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3343 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3344 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3345 ret
= wxArrayString2PyList_helper(arr
);
3346 wxPyEndBlockThreads(blocked
);
3349 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3351 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3352 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3353 ret
= wxArrayString2PyList_helper(arr
);
3354 wxPyEndBlockThreads(blocked
);
3360 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3363 loc
= new wxLocale();
3365 loc
= new wxLocale(language
, flags
);
3366 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3367 // for the floating point conversions and such to work right.
3368 #if PY_VERSION_HEX < 0x02040000
3369 setlocale(LC_NUMERIC
, "C");
3373 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3374 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3375 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3376 // for the floating point conversions and such to work right.
3377 #if PY_VERSION_HEX < 0x02040000
3378 setlocale(LC_NUMERIC
, "C");
3382 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3383 bool rc
= self
->Init(language
, flags
);
3384 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3385 // for the floating point conversions and such to work right.
3386 #if PY_VERSION_HEX < 0x02040000
3387 setlocale(LC_NUMERIC
, "C");
3392 class wxPyLocale
: public wxLocale
3397 wxPyLocale(const wxString
& name
, // name (for messages)
3398 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3399 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3400 bool bLoadDefault
= true, // preload wxstd.mo?
3401 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3403 wxPyLocale(int language
, // wxLanguage id or custom language
3404 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3408 virtual const wxString
& GetString(const wxString
& origString
,
3409 const wxString
& domain
= wxPyEmptyString
) const;
3410 virtual const wxString
& GetString(const wxString
& origString
,
3411 const wxString
& origString2
,
3413 const wxString
& domain
= wxPyEmptyString
) const;
3415 virtual const wxString
& GetSingularString(const wxString
& origString
,
3416 const wxString
& domain
= wxPyEmptyString
) const;
3417 virtual const wxString
& GetPluralString(const wxString
& origString
,
3418 const wxString
& origString2
,
3420 const wxString
& domain
= wxPyEmptyString
) const;
3425 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3428 wxPyLocale::wxPyLocale() : wxLocale()
3432 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3433 const wxString
& shortName
, // dir prefix (for msg files)
3434 const wxString
& locale
, // locale (for setlocale)
3435 bool bLoadDefault
, // preload wxstd.mo?
3436 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3437 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3441 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3442 int flags
) : wxLocale(language
, flags
)
3446 wxPyLocale::~wxPyLocale()
3450 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3451 const wxString
& domain
) const
3453 return GetSingularString(origString
, domain
);
3456 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3457 const wxString
& origString2
,
3459 const wxString
& domain
) const
3461 return GetPluralString(origString
, origString2
, n
, domain
);
3464 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3465 const wxString
& domain
) const
3468 wxString
str( _T("error in translation"));
3469 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3470 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3471 PyObject
* param1
= wx2PyString(origString
);
3472 PyObject
* param2
= wx2PyString(domain
);
3473 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3477 str
= Py2wxString(ret
);
3481 wxPyEndBlockThreads(blocked
);
3482 return (found
? str
: wxLocale::GetString(origString
, domain
));
3485 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3486 const wxString
& origString2
, size_t n
,
3487 const wxString
& domain
) const
3490 wxString
str( _T("error in translation"));
3491 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3492 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3493 PyObject
* param1
= wx2PyString(origString
);
3494 PyObject
* param2
= wx2PyString(origString2
);
3495 PyObject
* param4
= wx2PyString(domain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3497 Py_BuildValue("(OOiO)",
3504 str
= Py2wxString(ret
);
3508 wxPyEndBlockThreads(blocked
);
3509 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3512 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3515 loc
= new wxPyLocale();
3517 loc
= new wxPyLocale(language
, flags
);
3518 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3519 // for the floating point conversions and such to work right.
3520 #if PY_VERSION_HEX < 0x02040000
3521 setlocale(LC_NUMERIC
, "C");
3526 #include "wx/wxPython/pydrawxxx.h"
3528 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3530 self
->GetPixel(x
, y
, &col
);
3533 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3535 self
->GetPixel(pt
, &col
);
3540 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3542 if (PyNumber_Check(obj
)) {
3543 if (val
) *val
= PyFloat_AsDouble(obj
);
3546 return SWIG_TypeError
;
3549 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3551 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3554 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3556 self
->GetClippingBox(rect
);
3559 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3561 self
->GetPartialTextExtents(text
, widths
);
3565 #define SWIG_From_double PyFloat_FromDouble
3567 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetLogicalOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->SetDeviceOrigin(point
.x
, point
.y
);
3573 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3574 self
->CalcBoundingBox(point
.x
, point
.y
);
3576 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3589 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3591 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3592 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3595 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3603 #include <wx/dcbuffer.h>
3606 #include <wx/dcps.h>
3609 class wxMetaFile
: public wxObject
{
3611 wxMetaFile(const wxString
&)
3612 { wxPyRaiseNotImplemented(); }
3615 class wxMetaFileDC
: public wxClientDC
{
3617 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3618 { wxPyRaiseNotImplemented(); }
3623 class wxPrinterDC
: public wxClientDC
{
3625 wxPrinterDC(const wxPrintData
&)
3626 { wxPyRaiseNotImplemented(); }
3631 #include <wx/graphics.h>
3634 #if !wxUSE_GRAPHICS_CONTEXT
3635 // C++ stub classes for platforms or build configurations that don't have
3636 // wxGraphicsContext yet.
3638 class wxGraphicsRenderer
;
3639 class wxGraphicsMatrix
;
3642 class wxGraphicsObject
: public wxObject
3645 wxGraphicsObject() {}
3646 wxGraphicsObject( wxGraphicsRenderer
* ) {
3647 PyErr_SetString(PyExc_NotImplementedError
,
3648 "wx.GraphicsObject is not available on this platform.");
3650 wxGraphicsObject( const wxGraphicsObject
& ) {}
3651 virtual ~wxGraphicsObject() {}
3652 bool IsNull() const { return false; }
3653 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3658 class wxGraphicsPen
: public wxGraphicsObject
3662 virtual ~wxGraphicsPen() {}
3664 wxGraphicsPen wxNullGraphicsPen
;
3668 class wxGraphicsBrush
: public wxGraphicsObject
3671 wxGraphicsBrush() {}
3672 virtual ~wxGraphicsBrush() {}
3674 wxGraphicsBrush wxNullGraphicsBrush
;
3678 class wxGraphicsFont
: public wxGraphicsObject
3682 virtual ~wxGraphicsFont() {}
3684 wxGraphicsFont wxNullGraphicsFont
;
3688 class wxGraphicsPath
: public wxGraphicsObject
3691 wxGraphicsPath() { }
3692 wxGraphicsPath(wxGraphicsRenderer
* ) {
3693 PyErr_SetString(PyExc_NotImplementedError
,
3694 "wx.GraphicsPath is not available on this platform.");
3696 virtual ~wxGraphicsPath() {}
3698 void MoveToPoint( wxDouble
, wxDouble
) {}
3699 void MoveToPoint( const wxPoint2DDouble
& ) {}
3700 void AddLineToPoint( wxDouble
, wxDouble
) {}
3701 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3702 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3703 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3704 void AddPath( const wxGraphicsPath
& ) {}
3705 void CloseSubpath() {}
3706 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3707 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3708 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3709 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3711 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3718 void * GetNativePath() const { return NULL
; }
3719 void UnGetNativePath(void *) const {}
3720 void Transform( const wxGraphicsMatrix
& ) {}
3721 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3722 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3724 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3725 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3727 wxGraphicsPath wxNullGraphicsPath
;
3730 class wxGraphicsMatrix
: public wxGraphicsObject
3733 wxGraphicsMatrix() { }
3734 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3735 PyErr_SetString(PyExc_NotImplementedError
,
3736 "wx.GraphicsMatrix is not available on this platform.");
3738 virtual ~wxGraphicsMatrix() {}
3739 virtual void Concat( const wxGraphicsMatrix
& ) {}
3740 virtual void Copy( const wxGraphicsMatrix
& ) {}
3741 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3742 wxDouble
, wxDouble
) {}
3743 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3744 wxDouble
*, wxDouble
*, wxDouble
*) {}
3745 virtual void Invert() {}
3746 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3747 virtual bool IsIdentity() const { return false; }
3748 virtual void Translate( wxDouble
, wxDouble
) {}
3749 virtual void Scale( wxDouble
, wxDouble
) {}
3750 virtual void Rotate( wxDouble
) {}
3751 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3752 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3753 virtual void * GetNativeMatrix() const { return NULL
; }
3755 wxGraphicsMatrix wxNullGraphicsMatrix
;
3758 class wxGraphicsContext
: public wxGraphicsObject
3762 wxGraphicsContext(wxGraphicsRenderer
* ) {
3763 PyErr_SetString(PyExc_NotImplementedError
,
3764 "wx.GraphicsContext is not available on this platform.");
3767 virtual ~wxGraphicsContext() {}
3769 static wxGraphicsContext
* Create() {
3770 PyErr_SetString(PyExc_NotImplementedError
,
3771 "wx.GraphicsContext is not available on this platform.");
3774 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3775 PyErr_SetString(PyExc_NotImplementedError
,
3776 "wx.GraphicsContext is not available on this platform.");
3780 static wxGraphicsContext
* CreateFromNative( void * ) {
3781 PyErr_SetString(PyExc_NotImplementedError
,
3782 "wx.GraphicsContext is not available on this platform.");
3786 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3787 PyErr_SetString(PyExc_NotImplementedError
,
3788 "wx.GraphicsContext is not available on this platform.");
3792 static wxGraphicsContext
* Create( wxWindow
* ) {
3793 PyErr_SetString(PyExc_NotImplementedError
,
3794 "wx.GraphicsContext is not available on this platform.");
3798 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3800 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3802 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3804 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3805 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3807 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3808 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3809 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3811 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3813 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3814 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3816 virtual void PushState() {}
3817 virtual void PopState() {}
3818 virtual void Clip( const wxRegion
& ) {}
3819 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3820 virtual void ResetClip() {}
3821 virtual void * GetNativeContext() { return NULL
; }
3822 virtual int GetLogicalFunction() const { return 0; }
3823 virtual bool SetLogicalFunction(int ) {}
3824 virtual void Translate( wxDouble
, wxDouble
) {}
3825 virtual void Scale( wxDouble
, wxDouble
) {}
3826 virtual void Rotate( wxDouble
) {}
3827 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3828 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3829 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3831 virtual void SetPen( const wxGraphicsPen
& ) {}
3832 void SetPen( const wxPen
& ) {}
3834 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3835 void SetBrush( const wxBrush
& ) {}
3837 virtual void SetFont( const wxGraphicsFont
& ) {}
3838 void SetFont( const wxFont
&, const wxColour
& ) {}
3840 virtual void StrokePath( const wxGraphicsPath
& ) {}
3841 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3842 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3844 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3845 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3846 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3847 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3848 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3849 wxDouble
*, wxDouble
* ) const {}
3850 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3852 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3853 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3856 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3857 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3858 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3859 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3861 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3862 virtual bool ShouldOffset() const { return false; }
3866 class wxGraphicsRenderer
: public wxObject
3869 wxGraphicsRenderer() {
3870 PyErr_SetString(PyExc_NotImplementedError
,
3871 "wx.GraphicsRenderer is not available on this platform.");
3874 virtual ~wxGraphicsRenderer() {}
3876 static wxGraphicsRenderer
* GetDefaultRenderer() {
3877 PyErr_SetString(PyExc_NotImplementedError
,
3878 "wx.GraphicsRenderer is not available on this platform.");
3882 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3883 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3884 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3885 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3886 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3888 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3890 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3891 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3893 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3894 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3895 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3896 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3897 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3898 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3899 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3904 class wxGCDC
: public wxWindowDC
3907 wxGCDC(const wxWindowDC
&) {
3908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3909 PyErr_SetString(PyExc_NotImplementedError
,
3910 "wxGCDC is not available on this platform.");
3911 wxPyEndBlockThreads(blocked
);
3914 wxGCDC(const wxWindow
*) {
3915 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3916 PyErr_SetString(PyExc_NotImplementedError
,
3917 "wxGCDC is not available on this platform.");
3918 wxPyEndBlockThreads(blocked
);
3922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3923 PyErr_SetString(PyExc_NotImplementedError
,
3924 "wxGCDC is not available on this platform.");
3925 wxPyEndBlockThreads(blocked
);
3928 virtual ~wxGCDC() {}
3930 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3931 void SetGraphicsContext( wxGraphicsContext
* ) {}
3936 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3937 if ( !backgroundBrush
.IsNull() )
3938 self
->DrawText(str
, x
, y
, backgroundBrush
);
3940 self
->DrawText(str
, x
, y
);
3942 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3943 if ( !backgroundBrush
.IsNull() )
3944 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3946 self
->DrawText(str
, x
, y
, angle
);
3948 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3949 wxDouble width
= 0.0,
3951 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3952 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3953 PyObject
* rv
= PyTuple_New(2);
3954 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3955 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3958 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3959 wxArrayDouble widths
;
3960 self
->GetPartialTextExtents(text
, widths
);
3963 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3964 size_t c1
, c2
, count
;
3965 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3966 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3968 if ( beginP
!= NULL
&& endP
!= NULL
)
3970 count
= wxMin(c1
, c2
);
3971 self
->StrokeLines(count
, beginP
, endP
);
3977 #include "wx/dcgraph.h"
3980 #include <wx/overlay.h>
3984 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3985 self
->AddColour(name
, wxColour(red
, green
, blue
));
3988 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3989 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3990 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3991 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3994 #include <wx/effects.h>
3997 #include "wx/renderer.h"
4000 SWIGINTERNINLINE PyObject
*
4001 SWIG_From_bool (bool value
)
4003 return PyBool_FromLong(value
? 1 : 0);
4007 #include "wx/wxPython/pseudodc.h"
4009 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4011 self
->GetIdBounds(id
, rect
);
4017 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4018 PyObject
*resultobj
= 0;
4019 wxGDIObject
*result
= 0 ;
4021 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4023 if (!wxPyCheckForApp()) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (wxGDIObject
*)new wxGDIObject();
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4036 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4037 PyObject
*resultobj
= 0;
4038 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4041 PyObject
*swig_obj
[1] ;
4043 if (!args
) SWIG_fail
;
4045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4046 if (!SWIG_IsOK(res1
)) {
4047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4049 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= SWIG_Py_Void();
4064 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4065 PyObject
*resultobj
= 0;
4066 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4070 PyObject
*swig_obj
[1] ;
4072 if (!args
) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4078 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (bool)(arg1
)->IsNull();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4094 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4097 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4098 return SWIG_Py_Void();
4101 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4102 return SWIG_Python_InitShadowInstance(args
);
4105 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
= 0;
4107 byte arg1
= (byte
) 0 ;
4108 byte arg2
= (byte
) 0 ;
4109 byte arg3
= (byte
) 0 ;
4110 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4111 wxColour
*result
= 0 ;
4112 unsigned char val1
;
4114 unsigned char val2
;
4116 unsigned char val3
;
4118 unsigned char val4
;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4122 PyObject
* obj2
= 0 ;
4123 PyObject
* obj3
= 0 ;
4124 char * kwnames
[] = {
4125 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4130 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4131 if (!SWIG_IsOK(ecode1
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4134 arg1
= static_cast< byte
>(val1
);
4137 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4138 if (!SWIG_IsOK(ecode2
)) {
4139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4141 arg2
= static_cast< byte
>(val2
);
4144 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4145 if (!SWIG_IsOK(ecode3
)) {
4146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4148 arg3
= static_cast< byte
>(val3
);
4151 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4152 if (!SWIG_IsOK(ecode4
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4155 arg4
= static_cast< byte
>(val4
);
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4170 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
= 0;
4172 wxString
*arg1
= 0 ;
4173 wxColour
*result
= 0 ;
4174 bool temp1
= false ;
4175 PyObject
* obj0
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "colorName", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4182 arg1
= wxString_in_helper(obj0
);
4183 if (arg1
== NULL
) SWIG_fail
;
4187 if (!wxPyCheckForApp()) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4208 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
= 0;
4210 unsigned long arg1
;
4211 wxColour
*result
= 0 ;
4212 unsigned long val1
;
4214 PyObject
* obj0
= 0 ;
4215 char * kwnames
[] = {
4216 (char *) "colRGB", NULL
4219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4220 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4221 if (!SWIG_IsOK(ecode1
)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4224 arg1
= static_cast< unsigned long >(val1
);
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (wxColour
*)new wxColour(arg1
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4238 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4239 PyObject
*resultobj
= 0;
4240 wxColour
*arg1
= (wxColour
*) 0 ;
4243 PyObject
*swig_obj
[1] ;
4245 if (!args
) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4251 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4267 PyObject
*resultobj
= 0;
4268 wxColour
*arg1
= (wxColour
*) 0 ;
4272 PyObject
*swig_obj
[1] ;
4274 if (!args
) SWIG_fail
;
4276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4277 if (!SWIG_IsOK(res1
)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4280 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (byte
)(arg1
)->Red();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4294 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 PyObject
*resultobj
= 0;
4296 wxColour
*arg1
= (wxColour
*) 0 ;
4300 PyObject
*swig_obj
[1] ;
4302 if (!args
) SWIG_fail
;
4304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4305 if (!SWIG_IsOK(res1
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4308 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (byte
)(arg1
)->Green();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4322 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4323 PyObject
*resultobj
= 0;
4324 wxColour
*arg1
= (wxColour
*) 0 ;
4328 PyObject
*swig_obj
[1] ;
4330 if (!args
) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4336 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (byte
)(arg1
)->Blue();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4350 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4351 PyObject
*resultobj
= 0;
4352 wxColour
*arg1
= (wxColour
*) 0 ;
4356 PyObject
*swig_obj
[1] ;
4358 if (!args
) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4364 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (byte
)(arg1
)->Alpha();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4378 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4379 PyObject
*resultobj
= 0;
4380 wxColour
*arg1
= (wxColour
*) 0 ;
4384 PyObject
*swig_obj
[1] ;
4386 if (!args
) SWIG_fail
;
4388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4389 if (!SWIG_IsOK(res1
)) {
4390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4392 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (bool)(arg1
)->IsOk();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4408 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxColour
*arg1
= (wxColour
*) 0 ;
4414 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4417 unsigned char val2
;
4419 unsigned char val3
;
4421 unsigned char val4
;
4423 unsigned char val5
;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4427 PyObject
* obj2
= 0 ;
4428 PyObject
* obj3
= 0 ;
4429 PyObject
* obj4
= 0 ;
4430 char * kwnames
[] = {
4431 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4436 if (!SWIG_IsOK(res1
)) {
4437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4439 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4440 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4441 if (!SWIG_IsOK(ecode2
)) {
4442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4444 arg2
= static_cast< byte
>(val2
);
4445 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4446 if (!SWIG_IsOK(ecode3
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4449 arg3
= static_cast< byte
>(val3
);
4450 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4451 if (!SWIG_IsOK(ecode4
)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4454 arg4
= static_cast< byte
>(val4
);
4456 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4457 if (!SWIG_IsOK(ecode5
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4460 arg5
= static_cast< byte
>(val5
);
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_Py_Void();
4475 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
= 0;
4477 wxColour
*arg1
= (wxColour
*) 0 ;
4478 unsigned long arg2
;
4481 unsigned long val2
;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "self",(char *) "colRGB", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4491 if (!SWIG_IsOK(res1
)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4494 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4495 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4496 if (!SWIG_IsOK(ecode2
)) {
4497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4499 arg2
= static_cast< unsigned long >(val2
);
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_Py_Void();
4513 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
= 0;
4515 wxColour
*arg1
= (wxColour
*) 0 ;
4516 wxString
*arg2
= 0 ;
4519 bool temp2
= false ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "self",(char *) "colourName", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4531 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4533 arg2
= wxString_in_helper(obj1
);
4534 if (arg2
== NULL
) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 (arg1
)->Set((wxString
const &)*arg2
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_Py_Void();
4558 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
= 0;
4560 wxColour
*arg1
= (wxColour
*) 0 ;
4561 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4569 char * kwnames
[] = {
4570 (char *) "self",(char *) "flags", NULL
4573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4578 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4580 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4581 if (!SWIG_IsOK(ecode2
)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4584 arg2
= static_cast< long >(val2
);
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4605 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4606 PyObject
*resultobj
= 0;
4607 wxColour
*arg1
= (wxColour
*) 0 ;
4611 PyObject
*swig_obj
[1] ;
4613 if (!args
) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4619 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_From_long(static_cast< long >(result
));
4633 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
= 0;
4635 wxColour
*arg1
= (wxColour
*) 0 ;
4636 PyObject
*arg2
= (PyObject
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4642 char * kwnames
[] = {
4643 (char *) "self",(char *) "other", NULL
4646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4648 if (!SWIG_IsOK(res1
)) {
4649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4651 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4654 result
= (bool)wxColour___eq__(arg1
,arg2
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4666 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxColour
*arg1
= (wxColour
*) 0 ;
4669 PyObject
*arg2
= (PyObject
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "self",(char *) "other", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4681 if (!SWIG_IsOK(res1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4684 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4687 result
= (bool)wxColour___ne__(arg1
,arg2
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4699 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
= 0;
4701 wxColour
*arg1
= (wxColour
*) 0 ;
4702 bool arg2
= (bool) false ;
4703 PyObject
*result
= 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 char * kwnames
[] = {
4711 (char *) "self",(char *) "includeAlpha", NULL
4714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4719 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4722 if (!SWIG_IsOK(ecode2
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4725 arg2
= static_cast< bool >(val2
);
4728 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4738 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4739 PyObject
*resultobj
= 0;
4740 wxColour
*arg1
= (wxColour
*) 0 ;
4741 unsigned long result
;
4744 PyObject
*swig_obj
[1] ;
4746 if (!args
) SWIG_fail
;
4748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4749 if (!SWIG_IsOK(res1
)) {
4750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4752 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4754 result
= (unsigned long)wxColour_GetRGB(arg1
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4764 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4767 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4768 return SWIG_Py_Void();
4771 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4772 return SWIG_Python_InitShadowInstance(args
);
4775 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
= 0;
4778 unsigned char *arg2
= (unsigned char *) 0 ;
4779 unsigned char *arg3
= (unsigned char *) 0 ;
4780 unsigned char *arg4
= (unsigned char *) 0 ;
4781 wxPalette
*result
= 0 ;
4790 PyObject
* obj0
= 0 ;
4791 PyObject
* obj1
= 0 ;
4792 PyObject
* obj2
= 0 ;
4793 PyObject
* obj3
= 0 ;
4794 char * kwnames
[] = {
4795 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4800 if (!SWIG_IsOK(ecode1
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4803 arg1
= static_cast< int >(val1
);
4804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4805 if (!SWIG_IsOK(res2
)) {
4806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4808 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4809 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4810 if (!SWIG_IsOK(res3
)) {
4811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4813 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4814 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4815 if (!SWIG_IsOK(res4
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4818 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4820 if (!wxPyCheckForApp()) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4833 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4834 PyObject
*resultobj
= 0;
4835 wxPalette
*arg1
= (wxPalette
*) 0 ;
4838 PyObject
*swig_obj
[1] ;
4840 if (!args
) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4846 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_Py_Void();
4861 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxPalette
*arg1
= (wxPalette
*) 0 ;
4870 unsigned char val2
;
4872 unsigned char val3
;
4874 unsigned char val4
;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4879 PyObject
* obj3
= 0 ;
4880 char * kwnames
[] = {
4881 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4889 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4890 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4891 if (!SWIG_IsOK(ecode2
)) {
4892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4894 arg2
= static_cast< byte
>(val2
);
4895 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4896 if (!SWIG_IsOK(ecode3
)) {
4897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4899 arg3
= static_cast< byte
>(val3
);
4900 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4901 if (!SWIG_IsOK(ecode4
)) {
4902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4904 arg4
= static_cast< byte
>(val4
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_From_int(static_cast< int >(result
));
4918 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
= 0;
4920 wxPalette
*arg1
= (wxPalette
*) 0 ;
4922 byte
*arg3
= (byte
*) 0 ;
4923 byte
*arg4
= (byte
*) 0 ;
4924 byte
*arg5
= (byte
*) 0 ;
4931 int res3
= SWIG_TMPOBJ
;
4933 int res4
= SWIG_TMPOBJ
;
4935 int res5
= SWIG_TMPOBJ
;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 char * kwnames
[] = {
4939 (char *) "self",(char *) "pixel", NULL
4945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4947 if (!SWIG_IsOK(res1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4950 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4952 if (!SWIG_IsOK(ecode2
)) {
4953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4955 arg2
= static_cast< int >(val2
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4965 if (SWIG_IsTmpObj(res3
)) {
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4968 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4971 if (SWIG_IsTmpObj(res4
)) {
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4974 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4977 if (SWIG_IsTmpObj(res5
)) {
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4980 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4989 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPalette
*arg1
= (wxPalette
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5003 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_From_int(static_cast< int >(result
));
5017 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 PyObject
*resultobj
= 0;
5019 wxPalette
*arg1
= (wxPalette
*) 0 ;
5023 PyObject
*swig_obj
[1] ;
5025 if (!args
) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5031 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (bool)(arg1
)->IsOk();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5047 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5051 return SWIG_Py_Void();
5054 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 return SWIG_Python_InitShadowInstance(args
);
5058 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
= 0;
5060 wxColour
*arg1
= 0 ;
5061 int arg2
= (int) 1 ;
5062 int arg3
= (int) wxSOLID
;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5071 PyObject
* obj2
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "colour",(char *) "width",(char *) "style", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5079 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5083 if (!SWIG_IsOK(ecode2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5086 arg2
= static_cast< int >(val2
);
5089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5090 if (!SWIG_IsOK(ecode3
)) {
5091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5093 arg3
= static_cast< int >(val3
);
5096 if (!wxPyCheckForApp()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5109 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5110 PyObject
*resultobj
= 0;
5111 wxPen
*arg1
= (wxPen
*) 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5122 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= SWIG_Py_Void();
5137 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5138 PyObject
*resultobj
= 0;
5139 wxPen
*arg1
= (wxPen
*) 0 ;
5143 PyObject
*swig_obj
[1] ;
5145 if (!args
) SWIG_fail
;
5147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5148 if (!SWIG_IsOK(res1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5151 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (int)(arg1
)->GetCap();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_From_int(static_cast< int >(result
));
5165 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5166 PyObject
*resultobj
= 0;
5167 wxPen
*arg1
= (wxPen
*) 0 ;
5171 PyObject
*swig_obj
[1] ;
5173 if (!args
) SWIG_fail
;
5175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5176 if (!SWIG_IsOK(res1
)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5179 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (arg1
)->GetColour();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5193 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5194 PyObject
*resultobj
= 0;
5195 wxPen
*arg1
= (wxPen
*) 0 ;
5199 PyObject
*swig_obj
[1] ;
5201 if (!args
) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5207 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (int)(arg1
)->GetJoin();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_From_int(static_cast< int >(result
));
5221 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxPen
*arg1
= (wxPen
*) 0 ;
5227 PyObject
*swig_obj
[1] ;
5229 if (!args
) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5235 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)(arg1
)->GetStyle();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_From_int(static_cast< int >(result
));
5249 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5250 PyObject
*resultobj
= 0;
5251 wxPen
*arg1
= (wxPen
*) 0 ;
5255 PyObject
*swig_obj
[1] ;
5257 if (!args
) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5263 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (int)(arg1
)->GetWidth();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_From_int(static_cast< int >(result
));
5277 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 PyObject
*resultobj
= 0;
5279 wxPen
*arg1
= (wxPen
*) 0 ;
5283 PyObject
*swig_obj
[1] ;
5285 if (!args
) SWIG_fail
;
5287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5288 if (!SWIG_IsOK(res1
)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5291 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (bool)(arg1
)->IsOk();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5307 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
= 0;
5309 wxPen
*arg1
= (wxPen
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5317 char * kwnames
[] = {
5318 (char *) "self",(char *) "cap_style", NULL
5321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5323 if (!SWIG_IsOK(res1
)) {
5324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5326 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5328 if (!SWIG_IsOK(ecode2
)) {
5329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5331 arg2
= static_cast< int >(val2
);
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->SetCap(arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= SWIG_Py_Void();
5345 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
= 0;
5347 wxPen
*arg1
= (wxPen
*) 0 ;
5348 wxColour
*arg2
= 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 char * kwnames
[] = {
5355 (char *) "self",(char *) "colour", NULL
5358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5360 if (!SWIG_IsOK(res1
)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5363 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 (arg1
)->SetColour(*arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_Py_Void();
5381 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= 0;
5383 wxPen
*arg1
= (wxPen
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 char * kwnames
[] = {
5392 (char *) "self",(char *) "join_style", NULL
5395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5400 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5402 if (!SWIG_IsOK(ecode2
)) {
5403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5405 arg2
= static_cast< int >(val2
);
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 (arg1
)->SetJoin(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= SWIG_Py_Void();
5419 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
= 0;
5421 wxPen
*arg1
= (wxPen
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5429 char * kwnames
[] = {
5430 (char *) "self",(char *) "style", NULL
5433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5435 if (!SWIG_IsOK(res1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5438 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5440 if (!SWIG_IsOK(ecode2
)) {
5441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5443 arg2
= static_cast< int >(val2
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->SetStyle(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_Py_Void();
5457 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
= 0;
5459 wxPen
*arg1
= (wxPen
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5467 char * kwnames
[] = {
5468 (char *) "self",(char *) "width", NULL
5471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5473 if (!SWIG_IsOK(res1
)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5476 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5478 if (!SWIG_IsOK(ecode2
)) {
5479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5481 arg2
= static_cast< int >(val2
);
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetWidth(arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_Py_Void();
5495 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
= 0;
5497 wxPen
*arg1
= (wxPen
*) 0 ;
5499 wxDash
*arg3
= (wxDash
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5504 char * kwnames
[] = {
5505 (char *) "self",(char *) "dashes", NULL
5508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5510 if (!SWIG_IsOK(res1
)) {
5511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5513 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5515 arg2
= PyList_Size(obj1
);
5516 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5517 if (arg3
== NULL
) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 (arg1
)->SetDashes(arg2
,arg3
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_Py_Void();
5527 if (arg3
) delete [] arg3
;
5532 if (arg3
) delete [] arg3
;
5538 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5539 PyObject
*resultobj
= 0;
5540 wxPen
*arg1
= (wxPen
*) 0 ;
5541 PyObject
*result
= 0 ;
5544 PyObject
*swig_obj
[1] ;
5546 if (!args
) SWIG_fail
;
5548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5549 if (!SWIG_IsOK(res1
)) {
5550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5552 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5566 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
= 0;
5568 wxPen
*arg1
= (wxPen
*) 0 ;
5569 PyObject
*arg2
= (PyObject
*) 0 ;
5570 PyObject
*arg3
= (PyObject
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5575 PyObject
* obj2
= 0 ;
5576 char * kwnames
[] = {
5577 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5585 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxPen__SetDashes(arg1
,arg2
,arg3
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_Py_Void();
5601 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5602 PyObject
*resultobj
= 0;
5603 wxPen
*arg1
= (wxPen
*) 0 ;
5607 PyObject
*swig_obj
[1] ;
5609 if (!args
) SWIG_fail
;
5611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5612 if (!SWIG_IsOK(res1
)) {
5613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5615 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_From_int(static_cast< int >(result
));
5629 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxPen
*arg1
= (wxPen
*) 0 ;
5632 wxPen
*arg2
= (wxPen
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 char * kwnames
[] = {
5641 (char *) "self",(char *) "other", NULL
5644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5646 if (!SWIG_IsOK(res1
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5649 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5651 if (!SWIG_IsOK(res2
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5654 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5670 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
= 0;
5672 wxPen
*arg1
= (wxPen
*) 0 ;
5673 wxPen
*arg2
= (wxPen
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "other", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5690 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5692 if (!SWIG_IsOK(res2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5695 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5714 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5715 return SWIG_Py_Void();
5718 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 return SWIG_Python_InitShadowInstance(args
);
5722 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
= 0;
5724 wxColour
*arg1
= 0 ;
5725 int arg2
= (int) wxSOLID
;
5726 wxBrush
*result
= 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 char * kwnames
[] = {
5733 (char *) "colour",(char *) "style", NULL
5736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5739 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5743 if (!SWIG_IsOK(ecode2
)) {
5744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5746 arg2
= static_cast< int >(val2
);
5749 if (!wxPyCheckForApp()) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5762 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
= 0;
5764 wxBitmap
*arg1
= 0 ;
5765 wxBrush
*result
= 0 ;
5768 PyObject
* obj0
= 0 ;
5769 char * kwnames
[] = {
5770 (char *) "stippleBitmap", NULL
5773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5774 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5775 if (!SWIG_IsOK(res1
)) {
5776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5781 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5783 if (!wxPyCheckForApp()) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5796 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5797 PyObject
*resultobj
= 0;
5798 wxBrush
*arg1
= (wxBrush
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5809 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= SWIG_Py_Void();
5824 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
= 0;
5826 wxBrush
*arg1
= (wxBrush
*) 0 ;
5827 wxColour
*arg2
= 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "col", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5842 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 (arg1
)->SetColour((wxColour
const &)*arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_Py_Void();
5860 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxBrush
*arg1
= (wxBrush
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "self",(char *) "style", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5879 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5881 if (!SWIG_IsOK(ecode2
)) {
5882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5884 arg2
= static_cast< int >(val2
);
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 (arg1
)->SetStyle(arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_Py_Void();
5898 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
= 0;
5900 wxBrush
*arg1
= (wxBrush
*) 0 ;
5901 wxBitmap
*arg2
= 0 ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5908 char * kwnames
[] = {
5909 (char *) "self",(char *) "stipple", NULL
5912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5914 if (!SWIG_IsOK(res1
)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5917 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5919 if (!SWIG_IsOK(res2
)) {
5920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5925 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_Py_Void();
5939 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5940 PyObject
*resultobj
= 0;
5941 wxBrush
*arg1
= (wxBrush
*) 0 ;
5945 PyObject
*swig_obj
[1] ;
5947 if (!args
) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5953 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= ((wxBrush
const *)arg1
)->GetColour();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5967 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5968 PyObject
*resultobj
= 0;
5969 wxBrush
*arg1
= (wxBrush
*) 0 ;
5973 PyObject
*swig_obj
[1] ;
5975 if (!args
) SWIG_fail
;
5977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5978 if (!SWIG_IsOK(res1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5981 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_From_int(static_cast< int >(result
));
5995 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5996 PyObject
*resultobj
= 0;
5997 wxBrush
*arg1
= (wxBrush
*) 0 ;
5998 wxBitmap
*result
= 0 ;
6001 PyObject
*swig_obj
[1] ;
6003 if (!args
) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6009 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6023 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6024 PyObject
*resultobj
= 0;
6025 wxBrush
*arg1
= (wxBrush
*) 0 ;
6029 PyObject
*swig_obj
[1] ;
6031 if (!args
) SWIG_fail
;
6033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6034 if (!SWIG_IsOK(res1
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6037 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6053 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6054 PyObject
*resultobj
= 0;
6055 wxBrush
*arg1
= (wxBrush
*) 0 ;
6059 PyObject
*swig_obj
[1] ;
6061 if (!args
) SWIG_fail
;
6063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6064 if (!SWIG_IsOK(res1
)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6067 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)(arg1
)->IsOk();
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6086 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6087 return SWIG_Py_Void();
6090 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6091 return SWIG_Python_InitShadowInstance(args
);
6094 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
= 0;
6096 wxString
*arg1
= 0 ;
6097 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6098 wxBitmap
*result
= 0 ;
6099 bool temp1
= false ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6104 char * kwnames
[] = {
6105 (char *) "name",(char *) "type", NULL
6108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6110 arg1
= wxString_in_helper(obj0
);
6111 if (arg1
== NULL
) SWIG_fail
;
6115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6116 if (!SWIG_IsOK(ecode2
)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6119 arg2
= static_cast< wxBitmapType
>(val2
);
6122 if (!wxPyCheckForApp()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6143 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6148 PyObject
*swig_obj
[1] ;
6150 if (!args
) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6156 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_Py_Void();
6169 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6173 int arg3
= (int) -1 ;
6174 wxBitmap
*result
= 0 ;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6183 PyObject
* obj2
= 0 ;
6184 char * kwnames
[] = {
6185 (char *) "width",(char *) "height",(char *) "depth", NULL
6188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6190 if (!SWIG_IsOK(ecode1
)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6193 arg1
= static_cast< int >(val1
);
6194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6195 if (!SWIG_IsOK(ecode2
)) {
6196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6198 arg2
= static_cast< int >(val2
);
6200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6201 if (!SWIG_IsOK(ecode3
)) {
6202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6204 arg3
= static_cast< int >(val3
);
6207 if (!wxPyCheckForApp()) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6220 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
= 0;
6223 wxBitmap
*result
= 0 ;
6226 PyObject
* obj0
= 0 ;
6227 char * kwnames
[] = {
6228 (char *) "icon", NULL
6231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6232 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6233 if (!SWIG_IsOK(res1
)) {
6234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6239 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6241 if (!wxPyCheckForApp()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6254 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
= 0;
6257 int arg2
= (int) -1 ;
6258 wxBitmap
*result
= 0 ;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6265 char * kwnames
[] = {
6266 (char *) "image",(char *) "depth", NULL
6269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6270 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6271 if (!SWIG_IsOK(res1
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6277 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6280 if (!SWIG_IsOK(ecode2
)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6283 arg2
= static_cast< int >(val2
);
6286 if (!wxPyCheckForApp()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6299 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
= 0;
6301 PyObject
*arg1
= (PyObject
*) 0 ;
6302 wxBitmap
*result
= 0 ;
6303 PyObject
* obj0
= 0 ;
6304 char * kwnames
[] = {
6305 (char *) "listOfStrings", NULL
6308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6311 if (!wxPyCheckForApp()) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6324 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
= 0;
6326 PyObject
*arg1
= (PyObject
*) 0 ;
6329 int arg4
= (int) 1 ;
6330 wxBitmap
*result
= 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6340 PyObject
* obj3
= 0 ;
6341 char * kwnames
[] = {
6342 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6348 if (!SWIG_IsOK(ecode2
)) {
6349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6351 arg2
= static_cast< int >(val2
);
6352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6353 if (!SWIG_IsOK(ecode3
)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6356 arg3
= static_cast< int >(val3
);
6358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6359 if (!SWIG_IsOK(ecode4
)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6362 arg4
= static_cast< int >(val4
);
6365 if (!wxPyCheckForApp()) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6378 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6379 PyObject
*resultobj
= 0;
6380 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6384 PyObject
*swig_obj
[1] ;
6386 if (!args
) SWIG_fail
;
6388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6389 if (!SWIG_IsOK(res1
)) {
6390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6392 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6394 result
= (bool)(arg1
)->IsOk();
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6407 PyObject
*resultobj
= 0;
6408 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6412 PyObject
*swig_obj
[1] ;
6414 if (!args
) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6422 result
= (int)(arg1
)->GetWidth();
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_From_int(static_cast< int >(result
));
6432 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6433 PyObject
*resultobj
= 0;
6434 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6438 PyObject
*swig_obj
[1] ;
6440 if (!args
) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6448 result
= (int)(arg1
)->GetHeight();
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= SWIG_From_int(static_cast< int >(result
));
6458 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6459 PyObject
*resultobj
= 0;
6460 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6464 PyObject
*swig_obj
[1] ;
6466 if (!args
) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6472 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6474 result
= (int)(arg1
)->GetDepth();
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_From_int(static_cast< int >(result
));
6484 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6490 PyObject
*swig_obj
[1] ;
6492 if (!args
) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6498 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6500 result
= wxBitmap_GetSize(arg1
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6510 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6513 SwigValueWrapper
<wxImage
> result
;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6524 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6526 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6536 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6537 PyObject
*resultobj
= 0;
6538 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6539 wxMask
*result
= 0 ;
6542 PyObject
*swig_obj
[1] ;
6544 if (!args
) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6552 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6562 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6565 wxMask
*arg2
= (wxMask
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 char * kwnames
[] = {
6572 (char *) "self",(char *) "mask", NULL
6575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6577 if (!SWIG_IsOK(res1
)) {
6578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6580 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6581 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6582 if (!SWIG_IsOK(res2
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6586 (arg1
)->SetMask(arg2
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_Py_Void();
6596 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
= 0;
6598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6599 wxColour
*arg2
= 0 ;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6605 char * kwnames
[] = {
6606 (char *) "self",(char *) "colour", NULL
6609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6611 if (!SWIG_IsOK(res1
)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6614 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6620 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_Py_Void();
6630 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
= 0;
6632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6634 SwigValueWrapper
<wxBitmap
> result
;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 char * kwnames
[] = {
6641 (char *) "self",(char *) "rect", NULL
6644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6646 if (!SWIG_IsOK(res1
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6649 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6655 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6665 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
= 0;
6667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6668 wxString
*arg2
= 0 ;
6670 wxPalette
*arg4
= (wxPalette
*) NULL
;
6674 bool temp2
= false ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 PyObject
* obj2
= 0 ;
6682 PyObject
* obj3
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 arg2
= wxString_in_helper(obj1
);
6695 if (arg2
== NULL
) SWIG_fail
;
6698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6699 if (!SWIG_IsOK(ecode3
)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6702 arg3
= static_cast< wxBitmapType
>(val3
);
6704 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6705 if (!SWIG_IsOK(res4
)) {
6706 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6708 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6711 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6734 wxString
*arg2
= 0 ;
6739 bool temp2
= false ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6744 PyObject
* obj2
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "self",(char *) "name",(char *) "type", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6751 if (!SWIG_IsOK(res1
)) {
6752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6754 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6756 arg2
= wxString_in_helper(obj1
);
6757 if (arg2
== NULL
) SWIG_fail
;
6760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6761 if (!SWIG_IsOK(ecode3
)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6764 arg3
= static_cast< wxBitmapType
>(val3
);
6766 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6786 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6787 PyObject
*resultobj
= 0;
6788 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6789 wxPalette
*result
= 0 ;
6792 PyObject
*swig_obj
[1] ;
6794 if (!args
) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6802 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6812 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
= 0;
6814 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 char * kwnames
[] = {
6824 (char *) "self",(char *) "icon", NULL
6827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6834 if (!SWIG_IsOK(res2
)) {
6835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6840 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6842 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6854 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "height", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6873 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6875 if (!SWIG_IsOK(ecode2
)) {
6876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6878 arg2
= static_cast< int >(val2
);
6880 (arg1
)->SetHeight(arg2
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_Py_Void();
6890 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
= 0;
6892 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6900 char * kwnames
[] = {
6901 (char *) "self",(char *) "width", NULL
6904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6906 if (!SWIG_IsOK(res1
)) {
6907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6909 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6911 if (!SWIG_IsOK(ecode2
)) {
6912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6914 arg2
= static_cast< int >(val2
);
6916 (arg1
)->SetWidth(arg2
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_Py_Void();
6926 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
= 0;
6928 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6936 char * kwnames
[] = {
6937 (char *) "self",(char *) "depth", NULL
6940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6945 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6947 if (!SWIG_IsOK(ecode2
)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6950 arg2
= static_cast< int >(val2
);
6952 (arg1
)->SetDepth(arg2
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6962 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6964 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6971 char * kwnames
[] = {
6972 (char *) "self",(char *) "size", NULL
6975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6977 if (!SWIG_IsOK(res1
)) {
6978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6980 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6986 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_Py_Void();
6996 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
= 0;
6998 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7006 char * kwnames
[] = {
7007 (char *) "self",(char *) "data", NULL
7010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7012 if (!SWIG_IsOK(res1
)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7017 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7021 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_Py_Void();
7031 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
= 0;
7033 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7041 char * kwnames
[] = {
7042 (char *) "self",(char *) "data", NULL
7045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7050 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7052 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7056 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_Py_Void();
7066 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= 0;
7068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7069 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "other", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7086 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7088 if (!SWIG_IsOK(res2
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7091 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7093 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7105 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
= 0;
7107 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7108 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7116 char * kwnames
[] = {
7117 (char *) "self",(char *) "other", NULL
7120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7125 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7127 if (!SWIG_IsOK(res2
)) {
7128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7130 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7132 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7144 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7147 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7148 return SWIG_Py_Void();
7151 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 return SWIG_Python_InitShadowInstance(args
);
7155 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
= 0;
7163 wxBitmap
*result
= 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7172 PyObject
* obj2
= 0 ;
7173 PyObject
* obj3
= 0 ;
7174 char * kwnames
[] = {
7175 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7180 if (!SWIG_IsOK(ecode1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7183 arg1
= static_cast< int >(val1
);
7184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7185 if (!SWIG_IsOK(ecode2
)) {
7186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7188 arg2
= static_cast< int >(val2
);
7190 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7194 if (obj3
!= Py_None
) {
7195 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7200 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7210 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= 0;
7216 wxBitmap
*result
= 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7224 PyObject
* obj2
= 0 ;
7225 char * kwnames
[] = {
7226 (char *) "width",(char *) "height",(char *) "data", NULL
7229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7231 if (!SWIG_IsOK(ecode1
)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7234 arg1
= static_cast< int >(val1
);
7235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7236 if (!SWIG_IsOK(ecode2
)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7239 arg2
= static_cast< int >(val2
);
7241 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7245 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7255 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= 0;
7261 wxBitmap
*result
= 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 PyObject
* obj2
= 0 ;
7270 char * kwnames
[] = {
7271 (char *) "width",(char *) "height",(char *) "data", NULL
7274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7275 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7276 if (!SWIG_IsOK(ecode1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7279 arg1
= static_cast< int >(val1
);
7280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7281 if (!SWIG_IsOK(ecode2
)) {
7282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7284 arg2
= static_cast< int >(val2
);
7286 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7290 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7300 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7301 PyObject
*resultobj
= 0;
7302 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7306 PyObject
*swig_obj
[1] ;
7308 if (!args
) SWIG_fail
;
7310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7311 if (!SWIG_IsOK(res1
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7314 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7316 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7326 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7327 PyObject
*resultobj
= 0;
7328 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7332 PyObject
*swig_obj
[1] ;
7334 if (!args
) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7340 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7342 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= SWIG_From_int(static_cast< int >(result
));
7352 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7353 PyObject
*resultobj
= 0;
7354 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7358 PyObject
*swig_obj
[1] ;
7360 if (!args
) SWIG_fail
;
7362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7363 if (!SWIG_IsOK(res1
)) {
7364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7366 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7368 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_From_int(static_cast< int >(result
));
7378 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 PyObject
*resultobj
= 0;
7380 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7384 PyObject
*swig_obj
[1] ;
7386 if (!args
) SWIG_fail
;
7388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7389 if (!SWIG_IsOK(res1
)) {
7390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7392 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7394 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7404 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7405 PyObject
*resultobj
= 0;
7406 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7410 PyObject
*swig_obj
[1] ;
7412 if (!args
) SWIG_fail
;
7414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7415 if (!SWIG_IsOK(res1
)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7418 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7420 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_From_int(static_cast< int >(result
));
7430 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7434 return SWIG_Py_Void();
7437 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7438 PyObject
*resultobj
= 0;
7439 wxBitmap
*arg1
= 0 ;
7440 wxNativePixelData
*result
= 0 ;
7444 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7446 if (!SWIG_IsOK(res1
)) {
7447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7452 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7454 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7464 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7465 PyObject
*resultobj
= 0;
7466 wxBitmap
*arg1
= 0 ;
7468 wxNativePixelData
*result
= 0 ;
7473 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7475 if (!SWIG_IsOK(res1
)) {
7476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7481 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7484 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7487 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7497 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7498 PyObject
*resultobj
= 0;
7499 wxBitmap
*arg1
= 0 ;
7502 wxNativePixelData
*result
= 0 ;
7508 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7516 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7519 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7523 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7526 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7536 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7543 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7546 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7549 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7553 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7558 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7559 PyObject
*resultobj
= 0;
7560 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7563 PyObject
*swig_obj
[1] ;
7565 if (!args
) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7571 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_Py_Void();
7584 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7585 PyObject
*resultobj
= 0;
7586 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7587 wxNativePixelData_Accessor result
;
7590 PyObject
*swig_obj
[1] ;
7592 if (!args
) SWIG_fail
;
7594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7595 if (!SWIG_IsOK(res1
)) {
7596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7598 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7600 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7610 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7611 PyObject
*resultobj
= 0;
7612 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7615 PyObject
*swig_obj
[1] ;
7617 if (!args
) SWIG_fail
;
7619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7620 if (!SWIG_IsOK(res1
)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7623 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_Py_Void();
7635 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7636 PyObject
*resultobj
= 0;
7637 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7641 PyObject
*swig_obj
[1] ;
7643 if (!args
) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7649 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7651 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7663 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7666 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7667 return SWIG_Py_Void();
7670 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 return SWIG_Python_InitShadowInstance(args
);
7674 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7675 PyObject
*resultobj
= 0;
7676 wxNativePixelData
*arg1
= 0 ;
7677 wxNativePixelData_Accessor
*result
= 0 ;
7681 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7689 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7691 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7701 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7702 PyObject
*resultobj
= 0;
7703 wxBitmap
*arg1
= 0 ;
7704 wxNativePixelData
*arg2
= 0 ;
7705 wxNativePixelData_Accessor
*result
= 0 ;
7711 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7719 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7720 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7721 if (!SWIG_IsOK(res2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7727 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7729 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7739 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7740 PyObject
*resultobj
= 0;
7741 wxNativePixelData_Accessor
*result
= 0 ;
7743 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7745 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7755 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7759 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7762 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7765 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7768 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7772 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7777 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 PyObject
*resultobj
= 0;
7779 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7782 PyObject
*swig_obj
[1] ;
7784 if (!args
) SWIG_fail
;
7786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7787 if (!SWIG_IsOK(res1
)) {
7788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7790 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_Py_Void();
7803 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= 0;
7805 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7806 wxNativePixelData
*arg2
= 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 char * kwnames
[] = {
7814 (char *) "self",(char *) "data", NULL
7817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7819 if (!SWIG_IsOK(res1
)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7822 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7824 if (!SWIG_IsOK(res2
)) {
7825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7830 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7832 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_Py_Void();
7842 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7843 PyObject
*resultobj
= 0;
7844 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7848 PyObject
*swig_obj
[1] ;
7850 if (!args
) SWIG_fail
;
7852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7853 if (!SWIG_IsOK(res1
)) {
7854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7856 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7858 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7870 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 PyObject
*resultobj
= 0;
7872 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7875 PyObject
*swig_obj
[1] ;
7877 if (!args
) SWIG_fail
;
7879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7880 if (!SWIG_IsOK(res1
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7883 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7885 wxNativePixelData_Accessor_nextPixel(arg1
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_Py_Void();
7895 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7898 wxNativePixelData
*arg2
= 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7911 PyObject
* obj2
= 0 ;
7912 PyObject
* obj3
= 0 ;
7913 char * kwnames
[] = {
7914 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7922 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7924 if (!SWIG_IsOK(res2
)) {
7925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7930 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7932 if (!SWIG_IsOK(ecode3
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7935 arg3
= static_cast< int >(val3
);
7936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7937 if (!SWIG_IsOK(ecode4
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7940 arg4
= static_cast< int >(val4
);
7942 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_Py_Void();
7952 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
= 0;
7954 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7955 wxNativePixelData
*arg2
= 0 ;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7965 PyObject
* obj2
= 0 ;
7966 char * kwnames
[] = {
7967 (char *) "self",(char *) "data",(char *) "x", NULL
7970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7975 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7977 if (!SWIG_IsOK(res2
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7983 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7985 if (!SWIG_IsOK(ecode3
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7988 arg3
= static_cast< int >(val3
);
7990 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_Py_Void();
8000 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
= 0;
8002 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8003 wxNativePixelData
*arg2
= 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8013 PyObject
* obj2
= 0 ;
8014 char * kwnames
[] = {
8015 (char *) "self",(char *) "data",(char *) "y", NULL
8018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8020 if (!SWIG_IsOK(res1
)) {
8021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8023 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8025 if (!SWIG_IsOK(res2
)) {
8026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8031 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8033 if (!SWIG_IsOK(ecode3
)) {
8034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8036 arg3
= static_cast< int >(val3
);
8038 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_Py_Void();
8048 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8051 wxNativePixelData
*arg2
= 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8064 PyObject
* obj2
= 0 ;
8065 PyObject
* obj3
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8075 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8077 if (!SWIG_IsOK(res2
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8083 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8085 if (!SWIG_IsOK(ecode3
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8088 arg3
= static_cast< int >(val3
);
8089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8090 if (!SWIG_IsOK(ecode4
)) {
8091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8093 arg4
= static_cast< int >(val4
);
8095 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_Py_Void();
8105 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
= 0;
8107 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8113 unsigned char val2
;
8115 unsigned char val3
;
8117 unsigned char val4
;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8121 PyObject
* obj2
= 0 ;
8122 PyObject
* obj3
= 0 ;
8123 char * kwnames
[] = {
8124 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8132 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8133 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8134 if (!SWIG_IsOK(ecode2
)) {
8135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8137 arg2
= static_cast< byte
>(val2
);
8138 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8139 if (!SWIG_IsOK(ecode3
)) {
8140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8142 arg3
= static_cast< byte
>(val3
);
8143 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8144 if (!SWIG_IsOK(ecode4
)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8147 arg4
= static_cast< byte
>(val4
);
8149 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_Py_Void();
8159 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8160 PyObject
*resultobj
= 0;
8161 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8162 PyObject
*result
= 0 ;
8165 PyObject
*swig_obj
[1] ;
8167 if (!args
) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8173 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8175 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8185 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8188 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8189 return SWIG_Py_Void();
8192 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8193 return SWIG_Python_InitShadowInstance(args
);
8196 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8197 PyObject
*resultobj
= 0;
8198 wxBitmap
*arg1
= 0 ;
8199 wxAlphaPixelData
*result
= 0 ;
8203 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8205 if (!SWIG_IsOK(res1
)) {
8206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8211 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8213 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8223 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8224 PyObject
*resultobj
= 0;
8225 wxBitmap
*arg1
= 0 ;
8227 wxAlphaPixelData
*result
= 0 ;
8232 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8240 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8243 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8246 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8256 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8257 PyObject
*resultobj
= 0;
8258 wxBitmap
*arg1
= 0 ;
8261 wxAlphaPixelData
*result
= 0 ;
8267 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8269 if (!SWIG_IsOK(res1
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8275 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8278 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8282 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8285 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8295 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8299 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8302 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8305 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8308 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8312 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8317 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8318 PyObject
*resultobj
= 0;
8319 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8322 PyObject
*swig_obj
[1] ;
8324 if (!args
) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8330 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_Py_Void();
8343 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8344 PyObject
*resultobj
= 0;
8345 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8346 wxAlphaPixelData_Accessor result
;
8349 PyObject
*swig_obj
[1] ;
8351 if (!args
) SWIG_fail
;
8353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8354 if (!SWIG_IsOK(res1
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8357 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8359 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8369 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 PyObject
*resultobj
= 0;
8371 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8374 PyObject
*swig_obj
[1] ;
8376 if (!args
) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8382 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= SWIG_Py_Void();
8394 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8395 PyObject
*resultobj
= 0;
8396 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8400 PyObject
*swig_obj
[1] ;
8402 if (!args
) SWIG_fail
;
8404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8405 if (!SWIG_IsOK(res1
)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8408 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8410 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8422 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8425 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8426 return SWIG_Py_Void();
8429 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8430 return SWIG_Python_InitShadowInstance(args
);
8433 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8434 PyObject
*resultobj
= 0;
8435 wxAlphaPixelData
*arg1
= 0 ;
8436 wxAlphaPixelData_Accessor
*result
= 0 ;
8440 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8448 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8450 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8460 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8461 PyObject
*resultobj
= 0;
8462 wxBitmap
*arg1
= 0 ;
8463 wxAlphaPixelData
*arg2
= 0 ;
8464 wxAlphaPixelData_Accessor
*result
= 0 ;
8470 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8472 if (!SWIG_IsOK(res1
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8479 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8480 if (!SWIG_IsOK(res2
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8486 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8488 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8498 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8499 PyObject
*resultobj
= 0;
8500 wxAlphaPixelData_Accessor
*result
= 0 ;
8502 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8504 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8514 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8518 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8521 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8524 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8527 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8531 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8536 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8537 PyObject
*resultobj
= 0;
8538 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8541 PyObject
*swig_obj
[1] ;
8543 if (!args
) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8549 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_Py_Void();
8562 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
= 0;
8564 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8565 wxAlphaPixelData
*arg2
= 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 char * kwnames
[] = {
8573 (char *) "self",(char *) "data", NULL
8576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8578 if (!SWIG_IsOK(res1
)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8581 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8583 if (!SWIG_IsOK(res2
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8589 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8591 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_Py_Void();
8601 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8602 PyObject
*resultobj
= 0;
8603 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8607 PyObject
*swig_obj
[1] ;
8609 if (!args
) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8615 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8617 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8629 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 PyObject
*resultobj
= 0;
8631 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8634 PyObject
*swig_obj
[1] ;
8636 if (!args
) SWIG_fail
;
8638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8639 if (!SWIG_IsOK(res1
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8642 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8644 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_Py_Void();
8654 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
= 0;
8656 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8657 wxAlphaPixelData
*arg2
= 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 PyObject
* obj2
= 0 ;
8671 PyObject
* obj3
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8681 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8683 if (!SWIG_IsOK(res2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8689 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8691 if (!SWIG_IsOK(ecode3
)) {
8692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8694 arg3
= static_cast< int >(val3
);
8695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8696 if (!SWIG_IsOK(ecode4
)) {
8697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8699 arg4
= static_cast< int >(val4
);
8701 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_Py_Void();
8711 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
= 0;
8713 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8714 wxAlphaPixelData
*arg2
= 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8724 PyObject
* obj2
= 0 ;
8725 char * kwnames
[] = {
8726 (char *) "self",(char *) "data",(char *) "x", NULL
8729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8734 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8736 if (!SWIG_IsOK(res2
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8742 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8744 if (!SWIG_IsOK(ecode3
)) {
8745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8747 arg3
= static_cast< int >(val3
);
8749 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_Py_Void();
8759 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= 0;
8761 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8762 wxAlphaPixelData
*arg2
= 0 ;
8770 PyObject
* obj0
= 0 ;
8771 PyObject
* obj1
= 0 ;
8772 PyObject
* obj2
= 0 ;
8773 char * kwnames
[] = {
8774 (char *) "self",(char *) "data",(char *) "y", NULL
8777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8779 if (!SWIG_IsOK(res1
)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8782 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8784 if (!SWIG_IsOK(res2
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8790 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8792 if (!SWIG_IsOK(ecode3
)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8795 arg3
= static_cast< int >(val3
);
8797 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_Py_Void();
8807 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= 0;
8809 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8810 wxAlphaPixelData
*arg2
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8824 PyObject
* obj3
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8834 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8842 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8844 if (!SWIG_IsOK(ecode3
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8847 arg3
= static_cast< int >(val3
);
8848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8849 if (!SWIG_IsOK(ecode4
)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8852 arg4
= static_cast< int >(val4
);
8854 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_Py_Void();
8864 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= 0;
8866 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8873 unsigned char val2
;
8875 unsigned char val3
;
8877 unsigned char val4
;
8879 unsigned char val5
;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8884 PyObject
* obj3
= 0 ;
8885 PyObject
* obj4
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8895 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8896 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8897 if (!SWIG_IsOK(ecode2
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8900 arg2
= static_cast< byte
>(val2
);
8901 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8902 if (!SWIG_IsOK(ecode3
)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8905 arg3
= static_cast< byte
>(val3
);
8906 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8907 if (!SWIG_IsOK(ecode4
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8910 arg4
= static_cast< byte
>(val4
);
8911 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8912 if (!SWIG_IsOK(ecode5
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8915 arg5
= static_cast< byte
>(val5
);
8917 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_Py_Void();
8927 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8928 PyObject
*resultobj
= 0;
8929 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8930 PyObject
*result
= 0 ;
8933 PyObject
*swig_obj
[1] ;
8935 if (!args
) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8941 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8943 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8953 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8956 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8957 return SWIG_Py_Void();
8960 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8961 return SWIG_Python_InitShadowInstance(args
);
8964 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= 0;
8966 wxBitmap
*arg1
= 0 ;
8967 wxColour
const &arg2_defvalue
= wxNullColour
;
8968 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8969 wxMask
*result
= 0 ;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8975 char * kwnames
[] = {
8976 (char *) "bitmap",(char *) "colour", NULL
8979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8980 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8981 if (!SWIG_IsOK(res1
)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8987 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8995 if (!wxPyCheckForApp()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9008 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9009 PyObject
*resultobj
= 0;
9010 wxMask
*arg1
= (wxMask
*) 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9021 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= SWIG_Py_Void();
9034 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9037 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9038 return SWIG_Py_Void();
9041 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9042 return SWIG_Python_InitShadowInstance(args
);
9045 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
= 0;
9047 wxString
*arg1
= 0 ;
9049 int arg3
= (int) -1 ;
9050 int arg4
= (int) -1 ;
9051 wxIcon
*result
= 0 ;
9052 bool temp1
= false ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9062 PyObject
* obj3
= 0 ;
9063 char * kwnames
[] = {
9064 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9069 arg1
= wxString_in_helper(obj0
);
9070 if (arg1
== NULL
) SWIG_fail
;
9073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9074 if (!SWIG_IsOK(ecode2
)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9077 arg2
= static_cast< wxBitmapType
>(val2
);
9079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9080 if (!SWIG_IsOK(ecode3
)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9083 arg3
= static_cast< int >(val3
);
9086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9087 if (!SWIG_IsOK(ecode4
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9090 arg4
= static_cast< int >(val4
);
9093 if (!wxPyCheckForApp()) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9114 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9115 PyObject
*resultobj
= 0;
9116 wxIcon
*arg1
= (wxIcon
*) 0 ;
9119 PyObject
*swig_obj
[1] ;
9121 if (!args
) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9127 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_Py_Void();
9142 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9143 PyObject
*resultobj
= 0;
9144 wxIcon
*result
= 0 ;
9146 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9148 if (!wxPyCheckForApp()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxIcon
*)new wxIcon();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9161 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
= 0;
9163 wxIconLocation
*arg1
= 0 ;
9164 wxIcon
*result
= 0 ;
9167 PyObject
* obj0
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "loc", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9180 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9182 if (!wxPyCheckForApp()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9195 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxBitmap
*arg1
= 0 ;
9198 wxIcon
*result
= 0 ;
9201 PyObject
* obj0
= 0 ;
9202 char * kwnames
[] = {
9203 (char *) "bmp", NULL
9206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9214 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9216 if (!wxPyCheckForApp()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9229 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= 0;
9231 PyObject
*arg1
= (PyObject
*) 0 ;
9232 wxIcon
*result
= 0 ;
9233 PyObject
* obj0
= 0 ;
9234 char * kwnames
[] = {
9235 (char *) "listOfStrings", NULL
9238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9241 if (!wxPyCheckForApp()) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (wxIcon
*)new_wxIcon(arg1
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9254 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
= 0;
9256 wxIcon
*arg1
= (wxIcon
*) 0 ;
9257 wxString
*arg2
= 0 ;
9262 bool temp2
= false ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9267 PyObject
* obj2
= 0 ;
9268 char * kwnames
[] = {
9269 (char *) "self",(char *) "name",(char *) "type", NULL
9272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9274 if (!SWIG_IsOK(res1
)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9277 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9279 arg2
= wxString_in_helper(obj1
);
9280 if (arg2
== NULL
) SWIG_fail
;
9283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9284 if (!SWIG_IsOK(ecode3
)) {
9285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9287 arg3
= static_cast< wxBitmapType
>(val3
);
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9311 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxIcon
*arg1
= (wxIcon
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9325 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)(arg1
)->IsOk();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9341 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9342 PyObject
*resultobj
= 0;
9343 wxIcon
*arg1
= (wxIcon
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9355 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)(arg1
)->GetWidth();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_From_int(static_cast< int >(result
));
9369 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9370 PyObject
*resultobj
= 0;
9371 wxIcon
*arg1
= (wxIcon
*) 0 ;
9375 PyObject
*swig_obj
[1] ;
9377 if (!args
) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9383 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (int)(arg1
)->GetHeight();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_From_int(static_cast< int >(result
));
9397 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9398 PyObject
*resultobj
= 0;
9399 wxIcon
*arg1
= (wxIcon
*) 0 ;
9403 PyObject
*swig_obj
[1] ;
9405 if (!args
) SWIG_fail
;
9407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9408 if (!SWIG_IsOK(res1
)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9411 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (int)(arg1
)->GetDepth();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_From_int(static_cast< int >(result
));
9425 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxIcon
*arg1
= (wxIcon
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 char * kwnames
[] = {
9436 (char *) "self",(char *) "w", NULL
9439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9444 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9446 if (!SWIG_IsOK(ecode2
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9449 arg2
= static_cast< int >(val2
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetWidth(arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_Py_Void();
9463 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
= 0;
9465 wxIcon
*arg1
= (wxIcon
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9473 char * kwnames
[] = {
9474 (char *) "self",(char *) "h", NULL
9477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9479 if (!SWIG_IsOK(res1
)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9482 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9484 if (!SWIG_IsOK(ecode2
)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9487 arg2
= static_cast< int >(val2
);
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 (arg1
)->SetHeight(arg2
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_Py_Void();
9501 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
= 0;
9503 wxIcon
*arg1
= (wxIcon
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "d", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9520 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9522 if (!SWIG_IsOK(ecode2
)) {
9523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9525 arg2
= static_cast< int >(val2
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->SetDepth(arg2
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_Py_Void();
9539 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
= 0;
9541 wxIcon
*arg1
= (wxIcon
*) 0 ;
9542 wxBitmap
*arg2
= 0 ;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 char * kwnames
[] = {
9550 (char *) "self",(char *) "bmp", NULL
9553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9555 if (!SWIG_IsOK(res1
)) {
9556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9558 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9560 if (!SWIG_IsOK(res2
)) {
9561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9566 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_Py_Void();
9580 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9583 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9584 return SWIG_Py_Void();
9587 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9588 return SWIG_Python_InitShadowInstance(args
);
9591 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9594 int arg2
= (int) 0 ;
9595 wxIconLocation
*result
= 0 ;
9596 bool temp1
= false ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9601 char * kwnames
[] = {
9602 (char *) "filename",(char *) "num", NULL
9605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9608 arg1
= wxString_in_helper(obj0
);
9609 if (arg1
== NULL
) SWIG_fail
;
9614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9615 if (!SWIG_IsOK(ecode2
)) {
9616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9618 arg2
= static_cast< int >(val2
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9641 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9642 PyObject
*resultobj
= 0;
9643 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9646 PyObject
*swig_obj
[1] ;
9648 if (!args
) SWIG_fail
;
9650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9651 if (!SWIG_IsOK(res1
)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9654 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9669 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 PyObject
*resultobj
= 0;
9671 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9675 PyObject
*swig_obj
[1] ;
9677 if (!args
) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9683 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9699 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
= 0;
9701 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9702 wxString
*arg2
= 0 ;
9705 bool temp2
= false ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "filename", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9717 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9719 arg2
= wxString_in_helper(obj1
);
9720 if (arg2
== NULL
) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetFileName((wxString
const &)*arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_Py_Void();
9744 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9747 wxString
*result
= 0 ;
9750 PyObject
*swig_obj
[1] ;
9752 if (!args
) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9758 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9763 result
= (wxString
*) &_result_ref
;
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9772 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9781 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= 0;
9783 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9791 char * kwnames
[] = {
9792 (char *) "self",(char *) "num", NULL
9795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9797 if (!SWIG_IsOK(res1
)) {
9798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9800 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9802 if (!SWIG_IsOK(ecode2
)) {
9803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9805 arg2
= static_cast< int >(val2
);
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 wxIconLocation_SetIndex(arg1
,arg2
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_Py_Void();
9819 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9820 PyObject
*resultobj
= 0;
9821 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9825 PyObject
*swig_obj
[1] ;
9827 if (!args
) SWIG_fail
;
9829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9830 if (!SWIG_IsOK(res1
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9833 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)wxIconLocation_GetIndex(arg1
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_From_int(static_cast< int >(result
));
9847 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9850 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9851 return SWIG_Py_Void();
9854 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9855 return SWIG_Python_InitShadowInstance(args
);
9858 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9859 PyObject
*resultobj
= 0;
9860 wxIconBundle
*result
= 0 ;
9862 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (wxIconBundle
*)new wxIconBundle();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9876 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
= 0;
9878 wxString
*arg1
= 0 ;
9880 wxIconBundle
*result
= 0 ;
9881 bool temp1
= false ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "file",(char *) "type", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9892 arg1
= wxString_in_helper(obj0
);
9893 if (arg1
== NULL
) SWIG_fail
;
9896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9897 if (!SWIG_IsOK(ecode2
)) {
9898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9900 arg2
= static_cast< long >(val2
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9922 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
= 0;
9925 wxIconBundle
*result
= 0 ;
9928 PyObject
* obj0
= 0 ;
9929 char * kwnames
[] = {
9930 (char *) "icon", NULL
9933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9934 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9935 if (!SWIG_IsOK(res1
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9941 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9955 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9956 PyObject
*resultobj
= 0;
9957 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9960 PyObject
*swig_obj
[1] ;
9962 if (!args
) SWIG_fail
;
9964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9965 if (!SWIG_IsOK(res1
)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9968 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_Py_Void();
9983 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9985 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9993 char * kwnames
[] = {
9994 (char *) "self",(char *) "icon", NULL
9997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10002 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10004 if (!SWIG_IsOK(res2
)) {
10005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10010 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_Py_Void();
10024 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
= 0;
10026 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10027 wxString
*arg2
= 0 ;
10031 bool temp2
= false ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 PyObject
* obj2
= 0 ;
10037 char * kwnames
[] = {
10038 (char *) "self",(char *) "file",(char *) "type", NULL
10041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10043 if (!SWIG_IsOK(res1
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10046 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10048 arg2
= wxString_in_helper(obj1
);
10049 if (arg2
== NULL
) SWIG_fail
;
10052 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10053 if (!SWIG_IsOK(ecode3
)) {
10054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10056 arg3
= static_cast< long >(val3
);
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_Py_Void();
10078 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
= 0;
10080 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10082 wxIcon
*result
= 0 ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 char * kwnames
[] = {
10089 (char *) "self",(char *) "size", NULL
10092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10094 if (!SWIG_IsOK(res1
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10097 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10100 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10106 result
= (wxIcon
*) &_result_ref
;
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10112 wxIcon
* resultptr
= new wxIcon(*result
);
10113 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10121 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10124 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10125 return SWIG_Py_Void();
10128 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10129 return SWIG_Python_InitShadowInstance(args
);
10132 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
= 0;
10134 wxString
*arg1
= 0 ;
10136 int arg3
= (int) 0 ;
10137 int arg4
= (int) 0 ;
10138 wxCursor
*result
= 0 ;
10139 bool temp1
= false ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 PyObject
* obj2
= 0 ;
10149 PyObject
* obj3
= 0 ;
10150 char * kwnames
[] = {
10151 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10156 arg1
= wxString_in_helper(obj0
);
10157 if (arg1
== NULL
) SWIG_fail
;
10160 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10161 if (!SWIG_IsOK(ecode2
)) {
10162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10164 arg2
= static_cast< long >(val2
);
10166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10167 if (!SWIG_IsOK(ecode3
)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10170 arg3
= static_cast< int >(val3
);
10173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10174 if (!SWIG_IsOK(ecode4
)) {
10175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10177 arg4
= static_cast< int >(val4
);
10180 if (!wxPyCheckForApp()) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10201 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10202 PyObject
*resultobj
= 0;
10203 wxCursor
*arg1
= (wxCursor
*) 0 ;
10206 PyObject
*swig_obj
[1] ;
10208 if (!args
) SWIG_fail
;
10209 swig_obj
[0] = args
;
10210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10214 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_Py_Void();
10229 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
= 0;
10232 wxCursor
*result
= 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char * kwnames
[] = {
10237 (char *) "id", NULL
10240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10241 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10242 if (!SWIG_IsOK(ecode1
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10245 arg1
= static_cast< int >(val1
);
10247 if (!wxPyCheckForApp()) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (wxCursor
*)new wxCursor(arg1
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10260 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
= 0;
10262 wxImage
*arg1
= 0 ;
10263 wxCursor
*result
= 0 ;
10266 PyObject
* obj0
= 0 ;
10267 char * kwnames
[] = {
10268 (char *) "image", NULL
10271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10272 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10273 if (!SWIG_IsOK(res1
)) {
10274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10279 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10281 if (!wxPyCheckForApp()) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10294 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10295 PyObject
*resultobj
= 0;
10296 wxCursor
*arg1
= (wxCursor
*) 0 ;
10300 PyObject
*swig_obj
[1] ;
10302 if (!args
) SWIG_fail
;
10303 swig_obj
[0] = args
;
10304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10308 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (bool)(arg1
)->IsOk();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10324 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10327 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10328 return SWIG_Py_Void();
10331 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 return SWIG_Python_InitShadowInstance(args
);
10335 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 int arg1
= (int) 0 ;
10338 int arg2
= (int) 0 ;
10339 int arg3
= (int) 0 ;
10340 int arg4
= (int) 0 ;
10341 wxRegion
*result
= 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 PyObject
* obj3
= 0 ;
10354 char * kwnames
[] = {
10355 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10361 if (!SWIG_IsOK(ecode1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10364 arg1
= static_cast< int >(val1
);
10367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10371 arg2
= static_cast< int >(val2
);
10374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10375 if (!SWIG_IsOK(ecode3
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10378 arg3
= static_cast< int >(val3
);
10381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10382 if (!SWIG_IsOK(ecode4
)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10385 arg4
= static_cast< int >(val4
);
10388 if (!wxPyCheckForApp()) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10401 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
= 0;
10403 wxBitmap
*arg1
= 0 ;
10404 wxRegion
*result
= 0 ;
10407 PyObject
* obj0
= 0 ;
10408 char * kwnames
[] = {
10409 (char *) "bmp", NULL
10412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10413 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10414 if (!SWIG_IsOK(res1
)) {
10415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10422 if (!wxPyCheckForApp()) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10435 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
= 0;
10437 wxBitmap
*arg1
= 0 ;
10438 wxColour
*arg2
= 0 ;
10439 int arg3
= (int) 0 ;
10440 wxRegion
*result
= 0 ;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 PyObject
* obj2
= 0 ;
10449 char * kwnames
[] = {
10450 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10454 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10461 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10468 if (!SWIG_IsOK(ecode3
)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10471 arg3
= static_cast< int >(val3
);
10474 if (!wxPyCheckForApp()) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10487 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
= 0;
10490 wxPoint
*arg2
= (wxPoint
*) 0 ;
10491 int arg3
= (int) wxWINDING_RULE
;
10492 wxRegion
*result
= 0 ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 char * kwnames
[] = {
10498 (char *) "points",(char *) "fillStyle", NULL
10501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10503 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10504 if (arg2
== NULL
) SWIG_fail
;
10507 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10508 if (!SWIG_IsOK(ecode3
)) {
10509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10511 arg3
= static_cast< int >(val3
);
10514 if (!wxPyCheckForApp()) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10522 if (arg2
) delete [] arg2
;
10527 if (arg2
) delete [] arg2
;
10533 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10534 PyObject
*resultobj
= 0;
10535 wxRegion
*arg1
= (wxRegion
*) 0 ;
10538 PyObject
*swig_obj
[1] ;
10540 if (!args
) SWIG_fail
;
10541 swig_obj
[0] = args
;
10542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10543 if (!SWIG_IsOK(res1
)) {
10544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10546 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_Py_Void();
10561 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10562 PyObject
*resultobj
= 0;
10563 wxRegion
*arg1
= (wxRegion
*) 0 ;
10566 PyObject
*swig_obj
[1] ;
10568 if (!args
) SWIG_fail
;
10569 swig_obj
[0] = args
;
10570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10571 if (!SWIG_IsOK(res1
)) {
10572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10574 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_Py_Void();
10588 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxRegion
*arg1
= (wxRegion
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 PyObject
* obj2
= 0 ;
10603 char * kwnames
[] = {
10604 (char *) "self",(char *) "x",(char *) "y", NULL
10607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10609 if (!SWIG_IsOK(res1
)) {
10610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10612 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10614 if (!SWIG_IsOK(ecode2
)) {
10615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10617 arg2
= static_cast< int >(val2
);
10618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10619 if (!SWIG_IsOK(ecode3
)) {
10620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10622 arg3
= static_cast< int >(val3
);
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10638 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
= 0;
10640 wxRegion
*arg1
= (wxRegion
*) 0 ;
10643 wxRegionContain result
;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 PyObject
* obj2
= 0 ;
10653 char * kwnames
[] = {
10654 (char *) "self",(char *) "x",(char *) "y", NULL
10657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10659 if (!SWIG_IsOK(res1
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10662 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10664 if (!SWIG_IsOK(ecode2
)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10667 arg2
= static_cast< int >(val2
);
10668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10669 if (!SWIG_IsOK(ecode3
)) {
10670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10672 arg3
= static_cast< int >(val3
);
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_From_int(static_cast< int >(result
));
10686 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= 0;
10688 wxRegion
*arg1
= (wxRegion
*) 0 ;
10689 wxPoint
*arg2
= 0 ;
10690 wxRegionContain result
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char * kwnames
[] = {
10697 (char *) "self",(char *) "pt", NULL
10700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10702 if (!SWIG_IsOK(res1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10705 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_From_int(static_cast< int >(result
));
10723 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= 0;
10725 wxRegion
*arg1
= (wxRegion
*) 0 ;
10727 wxRegionContain result
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 char * kwnames
[] = {
10734 (char *) "self",(char *) "rect", NULL
10737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10739 if (!SWIG_IsOK(res1
)) {
10740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10742 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_From_int(static_cast< int >(result
));
10760 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
= 0;
10762 wxRegion
*arg1
= (wxRegion
*) 0 ;
10767 wxRegionContain result
;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 PyObject
* obj3
= 0 ;
10782 PyObject
* obj4
= 0 ;
10783 char * kwnames
[] = {
10784 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10789 if (!SWIG_IsOK(res1
)) {
10790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10792 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10794 if (!SWIG_IsOK(ecode2
)) {
10795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10797 arg2
= static_cast< int >(val2
);
10798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10799 if (!SWIG_IsOK(ecode3
)) {
10800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10802 arg3
= static_cast< int >(val3
);
10803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10804 if (!SWIG_IsOK(ecode4
)) {
10805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10807 arg4
= static_cast< int >(val4
);
10808 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10809 if (!SWIG_IsOK(ecode5
)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10812 arg5
= static_cast< int >(val5
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_From_int(static_cast< int >(result
));
10826 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10827 PyObject
*resultobj
= 0;
10828 wxRegion
*arg1
= (wxRegion
*) 0 ;
10832 PyObject
*swig_obj
[1] ;
10834 if (!args
) SWIG_fail
;
10835 swig_obj
[0] = args
;
10836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10837 if (!SWIG_IsOK(res1
)) {
10838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10840 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= (arg1
)->GetBox();
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10854 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
= 0;
10856 wxRegion
*arg1
= (wxRegion
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 PyObject
* obj2
= 0 ;
10875 PyObject
* obj3
= 0 ;
10876 PyObject
* obj4
= 0 ;
10877 char * kwnames
[] = {
10878 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10883 if (!SWIG_IsOK(res1
)) {
10884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10886 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10888 if (!SWIG_IsOK(ecode2
)) {
10889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10891 arg2
= static_cast< int >(val2
);
10892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10893 if (!SWIG_IsOK(ecode3
)) {
10894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10896 arg3
= static_cast< int >(val3
);
10897 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10898 if (!SWIG_IsOK(ecode4
)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10901 arg4
= static_cast< int >(val4
);
10902 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10903 if (!SWIG_IsOK(ecode5
)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10906 arg5
= static_cast< int >(val5
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10922 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
= 0;
10924 wxRegion
*arg1
= (wxRegion
*) 0 ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 char * kwnames
[] = {
10933 (char *) "self",(char *) "rect", NULL
10936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) 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_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10941 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10944 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10961 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
= 0;
10963 wxRegion
*arg1
= (wxRegion
*) 0 ;
10964 wxRegion
*arg2
= 0 ;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 char * kwnames
[] = {
10973 (char *) "self",(char *) "region", NULL
10976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10981 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10983 if (!SWIG_IsOK(res2
)) {
10984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10989 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11005 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11006 PyObject
*resultobj
= 0;
11007 wxRegion
*arg1
= (wxRegion
*) 0 ;
11011 PyObject
*swig_obj
[1] ;
11013 if (!args
) SWIG_fail
;
11014 swig_obj
[0] = args
;
11015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11016 if (!SWIG_IsOK(res1
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11019 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (bool)(arg1
)->IsEmpty();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
= 0;
11037 wxRegion
*arg1
= (wxRegion
*) 0 ;
11038 wxRegion
*arg2
= 0 ;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 char * kwnames
[] = {
11047 (char *) "self",(char *) "region", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11052 if (!SWIG_IsOK(res1
)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11057 if (!SWIG_IsOK(res2
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11063 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11079 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
= 0;
11081 wxRegion
*arg1
= (wxRegion
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 PyObject
* obj2
= 0 ;
11100 PyObject
* obj3
= 0 ;
11101 PyObject
* obj4
= 0 ;
11102 char * kwnames
[] = {
11103 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11108 if (!SWIG_IsOK(res1
)) {
11109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11111 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11113 if (!SWIG_IsOK(ecode2
)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11116 arg2
= static_cast< int >(val2
);
11117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11118 if (!SWIG_IsOK(ecode3
)) {
11119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11121 arg3
= static_cast< int >(val3
);
11122 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11123 if (!SWIG_IsOK(ecode4
)) {
11124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11126 arg4
= static_cast< int >(val4
);
11127 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11128 if (!SWIG_IsOK(ecode5
)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11131 arg5
= static_cast< int >(val5
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxRegion
*arg1
= (wxRegion
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "rect", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11166 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11169 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxRegion
*arg1
= (wxRegion
*) 0 ;
11189 wxRegion
*arg2
= 0 ;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 char * kwnames
[] = {
11198 (char *) "self",(char *) "region", NULL
11201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11203 if (!SWIG_IsOK(res1
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11206 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11208 if (!SWIG_IsOK(res2
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11214 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11230 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
= 0;
11232 wxRegion
*arg1
= (wxRegion
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 PyObject
* obj2
= 0 ;
11251 PyObject
* obj3
= 0 ;
11252 PyObject
* obj4
= 0 ;
11253 char * kwnames
[] = {
11254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11259 if (!SWIG_IsOK(res1
)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11262 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11264 if (!SWIG_IsOK(ecode2
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11267 arg2
= static_cast< int >(val2
);
11268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11269 if (!SWIG_IsOK(ecode3
)) {
11270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11272 arg3
= static_cast< int >(val3
);
11273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11274 if (!SWIG_IsOK(ecode4
)) {
11275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11277 arg4
= static_cast< int >(val4
);
11278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11279 if (!SWIG_IsOK(ecode5
)) {
11280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11282 arg5
= static_cast< int >(val5
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11298 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
= 0;
11300 wxRegion
*arg1
= (wxRegion
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 char * kwnames
[] = {
11309 (char *) "self",(char *) "rect", NULL
11312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11317 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11320 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11337 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
= 0;
11339 wxRegion
*arg1
= (wxRegion
*) 0 ;
11340 wxRegion
*arg2
= 0 ;
11346 PyObject
* obj0
= 0 ;
11347 PyObject
* obj1
= 0 ;
11348 char * kwnames
[] = {
11349 (char *) "self",(char *) "region", NULL
11352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11354 if (!SWIG_IsOK(res1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11357 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11359 if (!SWIG_IsOK(res2
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11365 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11381 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
= 0;
11383 wxRegion
*arg1
= (wxRegion
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 PyObject
* obj2
= 0 ;
11402 PyObject
* obj3
= 0 ;
11403 PyObject
* obj4
= 0 ;
11404 char * kwnames
[] = {
11405 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11410 if (!SWIG_IsOK(res1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11413 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11415 if (!SWIG_IsOK(ecode2
)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11418 arg2
= static_cast< int >(val2
);
11419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11420 if (!SWIG_IsOK(ecode3
)) {
11421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11423 arg3
= static_cast< int >(val3
);
11424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11425 if (!SWIG_IsOK(ecode4
)) {
11426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11428 arg4
= static_cast< int >(val4
);
11429 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11430 if (!SWIG_IsOK(ecode5
)) {
11431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11433 arg5
= static_cast< int >(val5
);
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11449 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
= 0;
11451 wxRegion
*arg1
= (wxRegion
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 char * kwnames
[] = {
11460 (char *) "self",(char *) "rect", NULL
11463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11465 if (!SWIG_IsOK(res1
)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11468 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11471 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
= 0;
11490 wxRegion
*arg1
= (wxRegion
*) 0 ;
11491 wxRegion
*arg2
= 0 ;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 char * kwnames
[] = {
11500 (char *) "self",(char *) "region", NULL
11503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11505 if (!SWIG_IsOK(res1
)) {
11506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11508 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11510 if (!SWIG_IsOK(res2
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11516 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11532 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11533 PyObject
*resultobj
= 0;
11534 wxRegion
*arg1
= (wxRegion
*) 0 ;
11535 SwigValueWrapper
<wxBitmap
> result
;
11538 PyObject
*swig_obj
[1] ;
11540 if (!args
) SWIG_fail
;
11541 swig_obj
[0] = args
;
11542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11543 if (!SWIG_IsOK(res1
)) {
11544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11546 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (arg1
)->ConvertToBitmap();
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11560 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= 0;
11562 wxRegion
*arg1
= (wxRegion
*) 0 ;
11563 wxBitmap
*arg2
= 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "self",(char *) "bmp", NULL
11575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11580 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11582 if (!SWIG_IsOK(res2
)) {
11583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11588 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11604 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
= 0;
11606 wxRegion
*arg1
= (wxRegion
*) 0 ;
11607 wxBitmap
*arg2
= 0 ;
11608 wxColour
*arg3
= 0 ;
11609 int arg4
= (int) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 PyObject
* obj2
= 0 ;
11621 PyObject
* obj3
= 0 ;
11622 char * kwnames
[] = {
11623 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11628 if (!SWIG_IsOK(res1
)) {
11629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11631 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11632 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11633 if (!SWIG_IsOK(res2
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11639 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11642 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11646 if (!SWIG_IsOK(ecode4
)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11649 arg4
= static_cast< int >(val4
);
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11666 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11669 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11670 return SWIG_Py_Void();
11673 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11674 return SWIG_Python_InitShadowInstance(args
);
11677 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
= 0;
11679 wxRegion
*arg1
= 0 ;
11680 wxRegionIterator
*result
= 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char * kwnames
[] = {
11685 (char *) "region", NULL
11688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11689 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11690 if (!SWIG_IsOK(res1
)) {
11691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11696 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11698 if (!wxPyCheckForApp()) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11711 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 PyObject
*resultobj
= 0;
11713 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11716 PyObject
*swig_obj
[1] ;
11718 if (!args
) SWIG_fail
;
11719 swig_obj
[0] = args
;
11720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11721 if (!SWIG_IsOK(res1
)) {
11722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11724 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_Py_Void();
11739 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11740 PyObject
*resultobj
= 0;
11741 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11745 PyObject
*swig_obj
[1] ;
11747 if (!args
) SWIG_fail
;
11748 swig_obj
[0] = args
;
11749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11750 if (!SWIG_IsOK(res1
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11753 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (int)(arg1
)->GetX();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_From_int(static_cast< int >(result
));
11767 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11768 PyObject
*resultobj
= 0;
11769 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11773 PyObject
*swig_obj
[1] ;
11775 if (!args
) SWIG_fail
;
11776 swig_obj
[0] = args
;
11777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11781 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (int)(arg1
)->GetY();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_From_int(static_cast< int >(result
));
11795 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11796 PyObject
*resultobj
= 0;
11797 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11801 PyObject
*swig_obj
[1] ;
11803 if (!args
) SWIG_fail
;
11804 swig_obj
[0] = args
;
11805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11809 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (int)(arg1
)->GetW();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_From_int(static_cast< int >(result
));
11823 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 PyObject
*resultobj
= 0;
11825 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11829 PyObject
*swig_obj
[1] ;
11831 if (!args
) SWIG_fail
;
11832 swig_obj
[0] = args
;
11833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11837 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (int)(arg1
)->GetWidth();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_From_int(static_cast< int >(result
));
11851 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11852 PyObject
*resultobj
= 0;
11853 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11857 PyObject
*swig_obj
[1] ;
11859 if (!args
) SWIG_fail
;
11860 swig_obj
[0] = args
;
11861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11865 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (int)(arg1
)->GetH();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_From_int(static_cast< int >(result
));
11879 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11880 PyObject
*resultobj
= 0;
11881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11885 PyObject
*swig_obj
[1] ;
11887 if (!args
) SWIG_fail
;
11888 swig_obj
[0] = args
;
11889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11893 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (int)(arg1
)->GetHeight();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_From_int(static_cast< int >(result
));
11907 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11908 PyObject
*resultobj
= 0;
11909 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11913 PyObject
*swig_obj
[1] ;
11915 if (!args
) SWIG_fail
;
11916 swig_obj
[0] = args
;
11917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11918 if (!SWIG_IsOK(res1
)) {
11919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11921 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 result
= (arg1
)->GetRect();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11935 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11949 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (bool)(arg1
)->HaveRects();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11965 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11966 PyObject
*resultobj
= 0;
11967 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11970 PyObject
*swig_obj
[1] ;
11972 if (!args
) SWIG_fail
;
11973 swig_obj
[0] = args
;
11974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11978 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_Py_Void();
11992 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11993 PyObject
*resultobj
= 0;
11994 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11997 PyObject
*swig_obj
[1] ;
11999 if (!args
) SWIG_fail
;
12000 swig_obj
[0] = args
;
12001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12005 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 wxRegionIterator_Next(arg1
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_Py_Void();
12019 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12025 PyObject
*swig_obj
[1] ;
12027 if (!args
) SWIG_fail
;
12028 swig_obj
[0] = args
;
12029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12033 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12049 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12052 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12053 return SWIG_Py_Void();
12056 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12057 return SWIG_Python_InitShadowInstance(args
);
12060 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12061 PyObject
*resultobj
= 0;
12062 wxNativeFontInfo
*result
= 0 ;
12064 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12078 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12079 PyObject
*resultobj
= 0;
12080 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12083 PyObject
*swig_obj
[1] ;
12085 if (!args
) SWIG_fail
;
12086 swig_obj
[0] = args
;
12087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12088 if (!SWIG_IsOK(res1
)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12091 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_Py_Void();
12106 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12111 PyObject
*swig_obj
[1] ;
12113 if (!args
) SWIG_fail
;
12114 swig_obj
[0] = args
;
12115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12119 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_Py_Void();
12133 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char * kwnames
[] = {
12144 (char *) "self",(char *) "font", NULL
12147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12152 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12154 if (!SWIG_IsOK(res2
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12160 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_Py_Void();
12174 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12188 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int(static_cast< int >(result
));
12202 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12203 PyObject
*resultobj
= 0;
12204 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12205 wxFontStyle result
;
12208 PyObject
*swig_obj
[1] ;
12210 if (!args
) SWIG_fail
;
12211 swig_obj
[0] = args
;
12212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12216 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_From_int(static_cast< int >(result
));
12230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12231 PyObject
*resultobj
= 0;
12232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12233 wxFontWeight result
;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12244 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_From_int(static_cast< int >(result
));
12258 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12259 PyObject
*resultobj
= 0;
12260 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12264 PyObject
*swig_obj
[1] ;
12266 if (!args
) SWIG_fail
;
12267 swig_obj
[0] = args
;
12268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12272 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12288 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12289 PyObject
*resultobj
= 0;
12290 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12294 PyObject
*swig_obj
[1] ;
12296 if (!args
) SWIG_fail
;
12297 swig_obj
[0] = args
;
12298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12299 if (!SWIG_IsOK(res1
)) {
12300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12302 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12322 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12325 wxFontFamily result
;
12328 PyObject
*swig_obj
[1] ;
12330 if (!args
) SWIG_fail
;
12331 swig_obj
[0] = args
;
12332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12333 if (!SWIG_IsOK(res1
)) {
12334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12336 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_From_int(static_cast< int >(result
));
12350 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12353 wxFontEncoding result
;
12356 PyObject
*swig_obj
[1] ;
12358 if (!args
) SWIG_fail
;
12359 swig_obj
[0] = args
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12364 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_From_int(static_cast< int >(result
));
12378 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
= 0;
12380 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 PyObject
* obj1
= 0 ;
12388 char * kwnames
[] = {
12389 (char *) "self",(char *) "pointsize", NULL
12392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12394 if (!SWIG_IsOK(res1
)) {
12395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12397 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12399 if (!SWIG_IsOK(ecode2
)) {
12400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12402 arg2
= static_cast< int >(val2
);
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->SetPointSize(arg2
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_Py_Void();
12416 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
= 0;
12418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char * kwnames
[] = {
12427 (char *) "self",(char *) "style", NULL
12430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12432 if (!SWIG_IsOK(res1
)) {
12433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12435 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12437 if (!SWIG_IsOK(ecode2
)) {
12438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12440 arg2
= static_cast< wxFontStyle
>(val2
);
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->SetStyle(arg2
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_Py_Void();
12454 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= 0;
12456 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12457 wxFontWeight arg2
;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 char * kwnames
[] = {
12465 (char *) "self",(char *) "weight", NULL
12468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12470 if (!SWIG_IsOK(res1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12473 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12475 if (!SWIG_IsOK(ecode2
)) {
12476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12478 arg2
= static_cast< wxFontWeight
>(val2
);
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->SetWeight(arg2
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_Py_Void();
12492 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
= 0;
12494 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char * kwnames
[] = {
12503 (char *) "self",(char *) "underlined", NULL
12506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12511 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12512 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12513 if (!SWIG_IsOK(ecode2
)) {
12514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12516 arg2
= static_cast< bool >(val2
);
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 (arg1
)->SetUnderlined(arg2
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_Py_Void();
12530 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
= 0;
12532 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 PyObject
* obj1
= 0 ;
12539 char * kwnames
[] = {
12540 (char *) "self",(char *) "facename", NULL
12543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12548 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12550 wxString
* sptr
= wxString_in_helper(obj1
);
12551 if (sptr
== NULL
) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (bool)(arg1
)->SetFaceName(arg2
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12570 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
= 0;
12572 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12573 wxFontFamily arg2
;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "self",(char *) "family", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12589 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12591 if (!SWIG_IsOK(ecode2
)) {
12592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12594 arg2
= static_cast< wxFontFamily
>(val2
);
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->SetFamily(arg2
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_Py_Void();
12608 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
= 0;
12610 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12611 wxFontEncoding arg2
;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char * kwnames
[] = {
12619 (char *) "self",(char *) "encoding", NULL
12622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12627 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12629 if (!SWIG_IsOK(ecode2
)) {
12630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12632 arg2
= static_cast< wxFontEncoding
>(val2
);
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetEncoding(arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_Py_Void();
12646 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12649 wxString
*arg2
= 0 ;
12653 bool temp2
= false ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "self",(char *) "s", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12662 if (!SWIG_IsOK(res1
)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12665 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12667 arg2
= wxString_in_helper(obj1
);
12668 if (arg2
== NULL
) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12694 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12695 PyObject
*resultobj
= 0;
12696 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12700 PyObject
*swig_obj
[1] ;
12702 if (!args
) SWIG_fail
;
12703 swig_obj
[0] = args
;
12704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12705 if (!SWIG_IsOK(res1
)) {
12706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12708 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12728 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12729 PyObject
*resultobj
= 0;
12730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12734 PyObject
*swig_obj
[1] ;
12736 if (!args
) SWIG_fail
;
12737 swig_obj
[0] = args
;
12738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12742 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= wxNativeFontInfo___str__(arg1
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12762 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
= 0;
12764 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12765 wxString
*arg2
= 0 ;
12769 bool temp2
= false ;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 char * kwnames
[] = {
12773 (char *) "self",(char *) "s", NULL
12776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12778 if (!SWIG_IsOK(res1
)) {
12779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12781 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12783 arg2
= wxString_in_helper(obj1
);
12784 if (arg2
== NULL
) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12810 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12811 PyObject
*resultobj
= 0;
12812 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12816 PyObject
*swig_obj
[1] ;
12818 if (!args
) SWIG_fail
;
12819 swig_obj
[0] = args
;
12820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12821 if (!SWIG_IsOK(res1
)) {
12822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12824 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12844 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12847 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12848 return SWIG_Py_Void();
12851 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 return SWIG_Python_InitShadowInstance(args
);
12855 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12856 PyObject
*resultobj
= 0;
12857 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12858 wxString
*arg2
= (wxString
*) 0 ;
12861 bool temp2
= false ;
12862 PyObject
*swig_obj
[2] ;
12864 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12866 if (!SWIG_IsOK(res1
)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12869 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12871 arg2
= wxString_in_helper(swig_obj
[1]);
12872 if (arg2
== NULL
) SWIG_fail
;
12875 if (arg1
) (arg1
)->facename
= *arg2
;
12877 resultobj
= SWIG_Py_Void();
12892 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 PyObject
*resultobj
= 0;
12894 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12895 wxString
*result
= 0 ;
12898 PyObject
*swig_obj
[1] ;
12900 if (!args
) SWIG_fail
;
12901 swig_obj
[0] = args
;
12902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12903 if (!SWIG_IsOK(res1
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12906 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12907 result
= (wxString
*)& ((arg1
)->facename
);
12910 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12912 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12921 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12922 PyObject
*resultobj
= 0;
12923 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12924 wxFontEncoding arg2
;
12929 PyObject
*swig_obj
[2] ;
12931 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12936 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12938 if (!SWIG_IsOK(ecode2
)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12941 arg2
= static_cast< wxFontEncoding
>(val2
);
12942 if (arg1
) (arg1
)->encoding
= arg2
;
12944 resultobj
= SWIG_Py_Void();
12951 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12952 PyObject
*resultobj
= 0;
12953 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12954 wxFontEncoding result
;
12957 PyObject
*swig_obj
[1] ;
12959 if (!args
) SWIG_fail
;
12960 swig_obj
[0] = args
;
12961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12962 if (!SWIG_IsOK(res1
)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12965 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12966 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12967 resultobj
= SWIG_From_int(static_cast< int >(result
));
12974 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxNativeEncodingInfo
*result
= 0 ;
12978 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12992 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12993 PyObject
*resultobj
= 0;
12994 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12997 PyObject
*swig_obj
[1] ;
12999 if (!args
) SWIG_fail
;
13000 swig_obj
[0] = args
;
13001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13002 if (!SWIG_IsOK(res1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13005 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
= 0;
13022 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13023 wxString
*arg2
= 0 ;
13027 bool temp2
= false ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char * kwnames
[] = {
13031 (char *) "self",(char *) "s", NULL
13034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13039 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13041 arg2
= wxString_in_helper(obj1
);
13042 if (arg2
== NULL
) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13068 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13069 PyObject
*resultobj
= 0;
13070 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13074 PyObject
*swig_obj
[1] ;
13076 if (!args
) SWIG_fail
;
13077 swig_obj
[0] = args
;
13078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13079 if (!SWIG_IsOK(res1
)) {
13080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13082 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13102 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13105 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13106 return SWIG_Py_Void();
13109 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13110 return SWIG_Python_InitShadowInstance(args
);
13113 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxFontEncoding arg1
;
13116 wxNativeEncodingInfo
*result
= 0 ;
13119 PyObject
* obj0
= 0 ;
13120 char * kwnames
[] = {
13121 (char *) "encoding", NULL
13124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13125 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13126 if (!SWIG_IsOK(ecode1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13129 arg1
= static_cast< wxFontEncoding
>(val1
);
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13143 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
= 0;
13145 wxNativeEncodingInfo
*arg1
= 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char * kwnames
[] = {
13151 (char *) "info", NULL
13154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13155 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13156 if (!SWIG_IsOK(res1
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13162 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13178 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13179 PyObject
*resultobj
= 0;
13180 wxFontMapper
*result
= 0 ;
13182 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (wxFontMapper
*)new wxFontMapper();
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13196 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13197 PyObject
*resultobj
= 0;
13198 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13201 PyObject
*swig_obj
[1] ;
13203 if (!args
) SWIG_fail
;
13204 swig_obj
[0] = args
;
13205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13209 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_Py_Void();
13224 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxFontMapper
*result
= 0 ;
13228 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxFontMapper
*)wxFontMapper::Get();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13242 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= 0;
13244 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13245 wxFontMapper
*result
= 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char * kwnames
[] = {
13250 (char *) "mapper", NULL
13253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13255 if (!SWIG_IsOK(res1
)) {
13256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13258 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13272 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
= 0;
13274 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13275 wxString
*arg2
= 0 ;
13276 bool arg3
= (bool) true ;
13277 wxFontEncoding result
;
13280 bool temp2
= false ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 PyObject
* obj2
= 0 ;
13286 char * kwnames
[] = {
13287 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13292 if (!SWIG_IsOK(res1
)) {
13293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13295 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13297 arg2
= wxString_in_helper(obj1
);
13298 if (arg2
== NULL
) SWIG_fail
;
13302 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13303 if (!SWIG_IsOK(ecode3
)) {
13304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13306 arg3
= static_cast< bool >(val3
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_From_int(static_cast< int >(result
));
13329 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13333 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13347 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
= 0;
13350 wxFontEncoding result
;
13353 PyObject
* obj0
= 0 ;
13354 char * kwnames
[] = {
13358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13359 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13360 if (!SWIG_IsOK(ecode1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13363 arg1
= static_cast< size_t >(val1
);
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_From_int(static_cast< int >(result
));
13377 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
= 0;
13379 wxFontEncoding arg1
;
13383 PyObject
* obj0
= 0 ;
13384 char * kwnames
[] = {
13385 (char *) "encoding", NULL
13388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13390 if (!SWIG_IsOK(ecode1
)) {
13391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13393 arg1
= static_cast< wxFontEncoding
>(val1
);
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= wxFontMapper::GetEncodingName(arg1
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13413 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
= 0;
13415 wxFontEncoding arg1
;
13419 PyObject
* obj0
= 0 ;
13420 char * kwnames
[] = {
13421 (char *) "encoding", NULL
13424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13426 if (!SWIG_IsOK(ecode1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13429 arg1
= static_cast< wxFontEncoding
>(val1
);
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= wxFontMapper::GetEncodingDescription(arg1
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13449 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
= 0;
13451 wxString
*arg1
= 0 ;
13452 wxFontEncoding result
;
13453 bool temp1
= false ;
13454 PyObject
* obj0
= 0 ;
13455 char * kwnames
[] = {
13456 (char *) "name", NULL
13459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13461 arg1
= wxString_in_helper(obj0
);
13462 if (arg1
== NULL
) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= SWIG_From_int(static_cast< int >(result
));
13486 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
= 0;
13488 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13489 wxString
*arg2
= 0 ;
13492 bool temp2
= false ;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char * kwnames
[] = {
13496 (char *) "self",(char *) "prefix", NULL
13499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13501 if (!SWIG_IsOK(res1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13504 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13506 arg2
= wxString_in_helper(obj1
);
13507 if (arg2
== NULL
) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_Py_Void();
13531 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13532 PyObject
*resultobj
= 0;
13535 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= wxFontMapper::GetDefaultConfigPath();
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13555 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
= 0;
13557 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13558 wxFontEncoding arg2
;
13559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13561 bool arg4
= (bool) true ;
13562 PyObject
*result
= 0 ;
13567 bool temp3
= false ;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 PyObject
* obj2
= 0 ;
13573 PyObject
* obj3
= 0 ;
13574 char * kwnames
[] = {
13575 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13580 if (!SWIG_IsOK(res1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13583 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13585 if (!SWIG_IsOK(ecode2
)) {
13586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13588 arg2
= static_cast< wxFontEncoding
>(val2
);
13591 arg3
= wxString_in_helper(obj2
);
13592 if (arg3
== NULL
) SWIG_fail
;
13597 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13598 if (!SWIG_IsOK(ecode4
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13601 arg4
= static_cast< bool >(val4
);
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= result
;
13624 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
= 0;
13626 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13627 wxFontEncoding arg2
;
13628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13635 bool temp3
= false ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 PyObject
* obj2
= 0 ;
13639 char * kwnames
[] = {
13640 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13648 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13650 if (!SWIG_IsOK(ecode2
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13653 arg2
= static_cast< wxFontEncoding
>(val2
);
13656 arg3
= wxString_in_helper(obj2
);
13657 if (arg3
== NULL
) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13684 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= 0;
13686 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13687 wxWindow
*arg2
= (wxWindow
*) 0 ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 char * kwnames
[] = {
13695 (char *) "self",(char *) "parent", NULL
13698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13700 if (!SWIG_IsOK(res1
)) {
13701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13703 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13705 if (!SWIG_IsOK(res2
)) {
13706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 (arg1
)->SetDialogParent(arg2
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= SWIG_Py_Void();
13722 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
= 0;
13724 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13725 wxString
*arg2
= 0 ;
13728 bool temp2
= false ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "title", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13740 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13742 arg2
= wxString_in_helper(obj1
);
13743 if (arg2
== NULL
) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13767 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13770 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13771 return SWIG_Py_Void();
13774 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13775 return SWIG_Python_InitShadowInstance(args
);
13778 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
= 0;
13784 bool arg5
= (bool) false ;
13785 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13786 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13787 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13788 wxFont
*result
= 0 ;
13799 bool temp6
= false ;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 PyObject
* obj2
= 0 ;
13805 PyObject
* obj3
= 0 ;
13806 PyObject
* obj4
= 0 ;
13807 PyObject
* obj5
= 0 ;
13808 PyObject
* obj6
= 0 ;
13809 char * kwnames
[] = {
13810 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13814 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13815 if (!SWIG_IsOK(ecode1
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13818 arg1
= static_cast< int >(val1
);
13819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13820 if (!SWIG_IsOK(ecode2
)) {
13821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13823 arg2
= static_cast< int >(val2
);
13824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13825 if (!SWIG_IsOK(ecode3
)) {
13826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13828 arg3
= static_cast< int >(val3
);
13829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13830 if (!SWIG_IsOK(ecode4
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13833 arg4
= static_cast< int >(val4
);
13835 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13836 if (!SWIG_IsOK(ecode5
)) {
13837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13839 arg5
= static_cast< bool >(val5
);
13843 arg6
= wxString_in_helper(obj5
);
13844 if (arg6
== NULL
) SWIG_fail
;
13849 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13850 if (!SWIG_IsOK(ecode7
)) {
13851 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13853 arg7
= static_cast< wxFontEncoding
>(val7
);
13856 if (!wxPyCheckForApp()) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13877 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13878 PyObject
*resultobj
= 0;
13879 wxFont
*arg1
= (wxFont
*) 0 ;
13882 PyObject
*swig_obj
[1] ;
13884 if (!args
) SWIG_fail
;
13885 swig_obj
[0] = args
;
13886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13887 if (!SWIG_IsOK(res1
)) {
13888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13890 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= SWIG_Py_Void();
13905 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
= 0;
13907 wxNativeFontInfo
*arg1
= 0 ;
13908 wxFont
*result
= 0 ;
13911 PyObject
* obj0
= 0 ;
13912 char * kwnames
[] = {
13913 (char *) "info", NULL
13916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13917 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13918 if (!SWIG_IsOK(res1
)) {
13919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13924 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13926 if (!wxPyCheckForApp()) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13939 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
= 0;
13941 wxString
*arg1
= 0 ;
13942 wxFont
*result
= 0 ;
13943 bool temp1
= false ;
13944 PyObject
* obj0
= 0 ;
13945 char * kwnames
[] = {
13946 (char *) "info", NULL
13949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13951 arg1
= wxString_in_helper(obj0
);
13952 if (arg1
== NULL
) SWIG_fail
;
13956 if (!wxPyCheckForApp()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13977 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
= 0;
13980 wxFontFamily arg2
;
13981 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13982 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13983 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13984 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13985 wxFont
*result
= 0 ;
13992 bool temp4
= false ;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 PyObject
* obj2
= 0 ;
13998 PyObject
* obj3
= 0 ;
13999 PyObject
* obj4
= 0 ;
14000 char * kwnames
[] = {
14001 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14006 if (!SWIG_IsOK(ecode1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14009 arg1
= static_cast< int >(val1
);
14010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14011 if (!SWIG_IsOK(ecode2
)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14014 arg2
= static_cast< wxFontFamily
>(val2
);
14016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14017 if (!SWIG_IsOK(ecode3
)) {
14018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14020 arg3
= static_cast< int >(val3
);
14024 arg4
= wxString_in_helper(obj3
);
14025 if (arg4
== NULL
) SWIG_fail
;
14030 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14031 if (!SWIG_IsOK(ecode5
)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14034 arg5
= static_cast< wxFontEncoding
>(val5
);
14037 if (!wxPyCheckForApp()) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14058 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
= 0;
14064 bool arg5
= (bool) false ;
14065 wxString
const &arg6_defvalue
= wxEmptyString
;
14066 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14067 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14068 wxFont
*result
= 0 ;
14078 bool temp6
= false ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 PyObject
* obj2
= 0 ;
14084 PyObject
* obj3
= 0 ;
14085 PyObject
* obj4
= 0 ;
14086 PyObject
* obj5
= 0 ;
14087 PyObject
* obj6
= 0 ;
14088 char * kwnames
[] = {
14089 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14095 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14098 if (!SWIG_IsOK(ecode2
)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14101 arg2
= static_cast< int >(val2
);
14102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14103 if (!SWIG_IsOK(ecode3
)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14106 arg3
= static_cast< int >(val3
);
14107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14108 if (!SWIG_IsOK(ecode4
)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14111 arg4
= static_cast< int >(val4
);
14113 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14114 if (!SWIG_IsOK(ecode5
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14117 arg5
= static_cast< bool >(val5
);
14121 arg6
= wxString_in_helper(obj5
);
14122 if (arg6
== NULL
) SWIG_fail
;
14127 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14128 if (!SWIG_IsOK(ecode7
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14131 arg7
= static_cast< wxFontEncoding
>(val7
);
14134 if (!wxPyCheckForApp()) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14155 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
= 0;
14158 wxFontFamily arg2
;
14159 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14160 wxString
const &arg4_defvalue
= wxEmptyString
;
14161 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14162 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14163 wxFont
*result
= 0 ;
14169 bool temp4
= false ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 PyObject
* obj2
= 0 ;
14175 PyObject
* obj3
= 0 ;
14176 PyObject
* obj4
= 0 ;
14177 char * kwnames
[] = {
14178 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14184 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14187 if (!SWIG_IsOK(ecode2
)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14190 arg2
= static_cast< wxFontFamily
>(val2
);
14192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14193 if (!SWIG_IsOK(ecode3
)) {
14194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14196 arg3
= static_cast< int >(val3
);
14200 arg4
= wxString_in_helper(obj3
);
14201 if (arg4
== NULL
) SWIG_fail
;
14206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14207 if (!SWIG_IsOK(ecode5
)) {
14208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14210 arg5
= static_cast< wxFontEncoding
>(val5
);
14213 if (!wxPyCheckForApp()) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14234 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14235 PyObject
*resultobj
= 0;
14236 wxFont
*arg1
= (wxFont
*) 0 ;
14240 PyObject
*swig_obj
[1] ;
14242 if (!args
) SWIG_fail
;
14243 swig_obj
[0] = args
;
14244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14245 if (!SWIG_IsOK(res1
)) {
14246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14248 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14264 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
= 0;
14266 wxFont
*arg1
= (wxFont
*) 0 ;
14267 wxFont
*arg2
= (wxFont
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 char * kwnames
[] = {
14276 (char *) "self",(char *) "other", NULL
14279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14281 if (!SWIG_IsOK(res1
)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14284 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14286 if (!SWIG_IsOK(res2
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14289 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
= 0;
14307 wxFont
*arg1
= (wxFont
*) 0 ;
14308 wxFont
*arg2
= (wxFont
*) 0 ;
14314 PyObject
* obj0
= 0 ;
14315 PyObject
* obj1
= 0 ;
14316 char * kwnames
[] = {
14317 (char *) "self",(char *) "other", NULL
14320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14322 if (!SWIG_IsOK(res1
)) {
14323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14325 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14327 if (!SWIG_IsOK(res2
)) {
14328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14330 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14346 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 PyObject
*resultobj
= 0;
14348 wxFont
*arg1
= (wxFont
*) 0 ;
14352 PyObject
*swig_obj
[1] ;
14354 if (!args
) SWIG_fail
;
14355 swig_obj
[0] = args
;
14356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14360 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_From_int(static_cast< int >(result
));
14374 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14375 PyObject
*resultobj
= 0;
14376 wxFont
*arg1
= (wxFont
*) 0 ;
14380 PyObject
*swig_obj
[1] ;
14382 if (!args
) SWIG_fail
;
14383 swig_obj
[0] = args
;
14384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14388 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14402 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14403 PyObject
*resultobj
= 0;
14404 wxFont
*arg1
= (wxFont
*) 0 ;
14408 PyObject
*swig_obj
[1] ;
14410 if (!args
) SWIG_fail
;
14411 swig_obj
[0] = args
;
14412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14413 if (!SWIG_IsOK(res1
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14416 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14433 PyObject
*resultobj
= 0;
14434 wxFont
*arg1
= (wxFont
*) 0 ;
14438 PyObject
*swig_obj
[1] ;
14440 if (!args
) SWIG_fail
;
14441 swig_obj
[0] = args
;
14442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14443 if (!SWIG_IsOK(res1
)) {
14444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14446 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_From_int(static_cast< int >(result
));
14460 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14461 PyObject
*resultobj
= 0;
14462 wxFont
*arg1
= (wxFont
*) 0 ;
14466 PyObject
*swig_obj
[1] ;
14468 if (!args
) SWIG_fail
;
14469 swig_obj
[0] = args
;
14470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14471 if (!SWIG_IsOK(res1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14474 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_From_int(static_cast< int >(result
));
14488 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14489 PyObject
*resultobj
= 0;
14490 wxFont
*arg1
= (wxFont
*) 0 ;
14494 PyObject
*swig_obj
[1] ;
14496 if (!args
) SWIG_fail
;
14497 swig_obj
[0] = args
;
14498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14499 if (!SWIG_IsOK(res1
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14502 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_From_int(static_cast< int >(result
));
14516 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14517 PyObject
*resultobj
= 0;
14518 wxFont
*arg1
= (wxFont
*) 0 ;
14522 PyObject
*swig_obj
[1] ;
14524 if (!args
) SWIG_fail
;
14525 swig_obj
[0] = args
;
14526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14527 if (!SWIG_IsOK(res1
)) {
14528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14530 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14546 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14547 PyObject
*resultobj
= 0;
14548 wxFont
*arg1
= (wxFont
*) 0 ;
14552 PyObject
*swig_obj
[1] ;
14554 if (!args
) SWIG_fail
;
14555 swig_obj
[0] = args
;
14556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14557 if (!SWIG_IsOK(res1
)) {
14558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14560 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= ((wxFont
const *)arg1
)->GetFaceName();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14580 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14581 PyObject
*resultobj
= 0;
14582 wxFont
*arg1
= (wxFont
*) 0 ;
14583 wxFontEncoding result
;
14586 PyObject
*swig_obj
[1] ;
14588 if (!args
) SWIG_fail
;
14589 swig_obj
[0] = args
;
14590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14591 if (!SWIG_IsOK(res1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14594 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_From_int(static_cast< int >(result
));
14608 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14609 PyObject
*resultobj
= 0;
14610 wxFont
*arg1
= (wxFont
*) 0 ;
14611 wxNativeFontInfo
*result
= 0 ;
14614 PyObject
*swig_obj
[1] ;
14616 if (!args
) SWIG_fail
;
14617 swig_obj
[0] = args
;
14618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14622 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14636 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14637 PyObject
*resultobj
= 0;
14638 wxFont
*arg1
= (wxFont
*) 0 ;
14642 PyObject
*swig_obj
[1] ;
14644 if (!args
) SWIG_fail
;
14645 swig_obj
[0] = args
;
14646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14647 if (!SWIG_IsOK(res1
)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14650 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14667 PyObject
*resultobj
= 0;
14668 wxFont
*arg1
= (wxFont
*) 0 ;
14672 PyObject
*swig_obj
[1] ;
14674 if (!args
) SWIG_fail
;
14675 swig_obj
[0] = args
;
14676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14677 if (!SWIG_IsOK(res1
)) {
14678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14680 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14700 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14701 PyObject
*resultobj
= 0;
14702 wxFont
*arg1
= (wxFont
*) 0 ;
14706 PyObject
*swig_obj
[1] ;
14708 if (!args
) SWIG_fail
;
14709 swig_obj
[0] = args
;
14710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14711 if (!SWIG_IsOK(res1
)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14714 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14734 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
= 0;
14736 wxFont
*arg1
= (wxFont
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 char * kwnames
[] = {
14745 (char *) "self",(char *) "pointSize", NULL
14748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14750 if (!SWIG_IsOK(res1
)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14753 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14755 if (!SWIG_IsOK(ecode2
)) {
14756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14758 arg2
= static_cast< int >(val2
);
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 (arg1
)->SetPointSize(arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_Py_Void();
14772 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
= 0;
14774 wxFont
*arg1
= (wxFont
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 char * kwnames
[] = {
14782 (char *) "self",(char *) "pixelSize", NULL
14785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14790 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14793 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_Py_Void();
14808 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
= 0;
14810 wxFont
*arg1
= (wxFont
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 PyObject
* obj1
= 0 ;
14818 char * kwnames
[] = {
14819 (char *) "self",(char *) "family", NULL
14822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14827 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14829 if (!SWIG_IsOK(ecode2
)) {
14830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14832 arg2
= static_cast< int >(val2
);
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->SetFamily(arg2
);
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= SWIG_Py_Void();
14846 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
= 0;
14848 wxFont
*arg1
= (wxFont
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 char * kwnames
[] = {
14857 (char *) "self",(char *) "style", NULL
14860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14862 if (!SWIG_IsOK(res1
)) {
14863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14865 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14867 if (!SWIG_IsOK(ecode2
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14870 arg2
= static_cast< int >(val2
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->SetStyle(arg2
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_Py_Void();
14884 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
= 0;
14886 wxFont
*arg1
= (wxFont
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 char * kwnames
[] = {
14895 (char *) "self",(char *) "weight", NULL
14898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14903 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14905 if (!SWIG_IsOK(ecode2
)) {
14906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14908 arg2
= static_cast< int >(val2
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 (arg1
)->SetWeight(arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_Py_Void();
14922 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= 0;
14924 wxFont
*arg1
= (wxFont
*) 0 ;
14925 wxString
*arg2
= 0 ;
14929 bool temp2
= false ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char * kwnames
[] = {
14933 (char *) "self",(char *) "faceName", NULL
14936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14938 if (!SWIG_IsOK(res1
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14941 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14943 arg2
= wxString_in_helper(obj1
);
14944 if (arg2
== NULL
) SWIG_fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14970 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
= 0;
14972 wxFont
*arg1
= (wxFont
*) 0 ;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 char * kwnames
[] = {
14981 (char *) "self",(char *) "underlined", NULL
14984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14986 if (!SWIG_IsOK(res1
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14989 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14990 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14991 if (!SWIG_IsOK(ecode2
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14994 arg2
= static_cast< bool >(val2
);
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 (arg1
)->SetUnderlined(arg2
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_Py_Void();
15008 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
= 0;
15010 wxFont
*arg1
= (wxFont
*) 0 ;
15011 wxFontEncoding arg2
;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 char * kwnames
[] = {
15019 (char *) "self",(char *) "encoding", NULL
15022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15024 if (!SWIG_IsOK(res1
)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15027 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15029 if (!SWIG_IsOK(ecode2
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15032 arg2
= static_cast< wxFontEncoding
>(val2
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->SetEncoding(arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= 0;
15048 wxFont
*arg1
= (wxFont
*) 0 ;
15049 wxNativeFontInfo
*arg2
= 0 ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 char * kwnames
[] = {
15057 (char *) "self",(char *) "info", NULL
15060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15065 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15067 if (!SWIG_IsOK(res2
)) {
15068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15073 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= SWIG_Py_Void();
15087 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
= 0;
15089 wxFont
*arg1
= (wxFont
*) 0 ;
15090 wxString
*arg2
= 0 ;
15094 bool temp2
= false ;
15095 PyObject
* obj0
= 0 ;
15096 PyObject
* obj1
= 0 ;
15097 char * kwnames
[] = {
15098 (char *) "self",(char *) "info", NULL
15101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15103 if (!SWIG_IsOK(res1
)) {
15104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15106 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15108 arg2
= wxString_in_helper(obj1
);
15109 if (arg2
== NULL
) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15135 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxFont
*arg1
= (wxFont
*) 0 ;
15138 wxString
*arg2
= 0 ;
15142 bool temp2
= false ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 char * kwnames
[] = {
15146 (char *) "self",(char *) "info", NULL
15149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15154 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15156 arg2
= wxString_in_helper(obj1
);
15157 if (arg2
== NULL
) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15183 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 PyObject
*resultobj
= 0;
15185 wxFont
*arg1
= (wxFont
*) 0 ;
15189 PyObject
*swig_obj
[1] ;
15191 if (!args
) SWIG_fail
;
15192 swig_obj
[0] = args
;
15193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15197 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15217 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15218 PyObject
*resultobj
= 0;
15219 wxFont
*arg1
= (wxFont
*) 0 ;
15223 PyObject
*swig_obj
[1] ;
15225 if (!args
) SWIG_fail
;
15226 swig_obj
[0] = args
;
15227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15228 if (!SWIG_IsOK(res1
)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15231 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= ((wxFont
const *)arg1
)->GetStyleString();
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15251 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 wxFont
*arg1
= (wxFont
*) 0 ;
15257 PyObject
*swig_obj
[1] ;
15259 if (!args
) SWIG_fail
;
15260 swig_obj
[0] = args
;
15261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15265 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= ((wxFont
const *)arg1
)->GetWeightString();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15285 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
= 0;
15287 wxFont
*arg1
= (wxFont
*) 0 ;
15288 bool arg2
= (bool) true ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 char * kwnames
[] = {
15296 (char *) "self",(char *) "no", NULL
15299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15301 if (!SWIG_IsOK(res1
)) {
15302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15304 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15306 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15307 if (!SWIG_IsOK(ecode2
)) {
15308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15310 arg2
= static_cast< bool >(val2
);
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetNoAntiAliasing(arg2
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_Py_Void();
15325 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15326 PyObject
*resultobj
= 0;
15327 wxFont
*arg1
= (wxFont
*) 0 ;
15331 PyObject
*swig_obj
[1] ;
15333 if (!args
) SWIG_fail
;
15334 swig_obj
[0] = args
;
15335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15336 if (!SWIG_IsOK(res1
)) {
15337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15339 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15356 PyObject
*resultobj
= 0;
15357 wxFontEncoding result
;
15359 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15361 if (!wxPyCheckForApp()) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_From_int(static_cast< int >(result
));
15374 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
= 0;
15376 wxFontEncoding arg1
;
15379 PyObject
* obj0
= 0 ;
15380 char * kwnames
[] = {
15381 (char *) "encoding", NULL
15384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15386 if (!SWIG_IsOK(ecode1
)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15389 arg1
= static_cast< wxFontEncoding
>(val1
);
15391 if (!wxPyCheckForApp()) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 wxFont::SetDefaultEncoding(arg1
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_Py_Void();
15404 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15407 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15408 return SWIG_Py_Void();
15411 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 return SWIG_Python_InitShadowInstance(args
);
15415 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15416 PyObject
*resultobj
= 0;
15417 wxPyFontEnumerator
*result
= 0 ;
15419 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15421 if (!wxPyCheckForApp()) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15434 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15435 PyObject
*resultobj
= 0;
15436 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15439 PyObject
*swig_obj
[1] ;
15441 if (!args
) SWIG_fail
;
15442 swig_obj
[0] = args
;
15443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15444 if (!SWIG_IsOK(res1
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15447 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_Py_Void();
15462 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= 0;
15464 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15465 PyObject
*arg2
= (PyObject
*) 0 ;
15466 PyObject
*arg3
= (PyObject
*) 0 ;
15467 int arg4
= (int) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 PyObject
* obj2
= 0 ;
15475 PyObject
* obj3
= 0 ;
15476 char * kwnames
[] = {
15477 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15482 if (!SWIG_IsOK(res1
)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15485 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15490 if (!SWIG_IsOK(ecode4
)) {
15491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15493 arg4
= static_cast< int >(val4
);
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= SWIG_Py_Void();
15508 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
= 0;
15510 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15511 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15512 bool arg3
= (bool) false ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 PyObject
* obj2
= 0 ;
15523 char * kwnames
[] = {
15524 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15529 if (!SWIG_IsOK(res1
)) {
15530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15532 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15535 if (!SWIG_IsOK(ecode2
)) {
15536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15538 arg2
= static_cast< wxFontEncoding
>(val2
);
15541 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15542 if (!SWIG_IsOK(ecode3
)) {
15543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15545 arg3
= static_cast< bool >(val3
);
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
= 0;
15564 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15565 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15566 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15570 bool temp2
= false ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "facename", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15582 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15585 arg2
= wxString_in_helper(obj1
);
15586 if (arg2
== NULL
) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15613 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15614 PyObject
*resultobj
= 0;
15615 PyObject
*result
= 0 ;
15617 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= result
;
15631 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15632 PyObject
*resultobj
= 0;
15633 PyObject
*result
= 0 ;
15635 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= result
;
15649 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
= 0;
15651 wxString
*arg1
= 0 ;
15653 bool temp1
= false ;
15654 PyObject
* obj0
= 0 ;
15655 char * kwnames
[] = {
15656 (char *) "str", NULL
15659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15661 arg1
= wxString_in_helper(obj0
);
15662 if (arg1
== NULL
) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15688 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15692 return SWIG_Py_Void();
15695 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15696 return SWIG_Python_InitShadowInstance(args
);
15699 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15700 PyObject
*resultobj
= 0;
15701 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15707 PyObject
*swig_obj
[2] ;
15709 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15711 if (!SWIG_IsOK(res1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15714 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15715 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15716 if (!SWIG_IsOK(ecode2
)) {
15717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15719 arg2
= static_cast< int >(val2
);
15720 if (arg1
) (arg1
)->Language
= arg2
;
15722 resultobj
= SWIG_Py_Void();
15729 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15730 PyObject
*resultobj
= 0;
15731 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15735 PyObject
*swig_obj
[1] ;
15737 if (!args
) SWIG_fail
;
15738 swig_obj
[0] = args
;
15739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15740 if (!SWIG_IsOK(res1
)) {
15741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15743 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15744 result
= (int) ((arg1
)->Language
);
15745 resultobj
= SWIG_From_int(static_cast< int >(result
));
15752 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15753 PyObject
*resultobj
= 0;
15754 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15755 wxString
*arg2
= (wxString
*) 0 ;
15758 bool temp2
= false ;
15759 PyObject
*swig_obj
[2] ;
15761 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15763 if (!SWIG_IsOK(res1
)) {
15764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15766 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15768 arg2
= wxString_in_helper(swig_obj
[1]);
15769 if (arg2
== NULL
) SWIG_fail
;
15772 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15774 resultobj
= SWIG_Py_Void();
15789 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15790 PyObject
*resultobj
= 0;
15791 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15792 wxString
*result
= 0 ;
15795 PyObject
*swig_obj
[1] ;
15797 if (!args
) SWIG_fail
;
15798 swig_obj
[0] = args
;
15799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15800 if (!SWIG_IsOK(res1
)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15803 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15804 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15807 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15809 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15818 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15819 PyObject
*resultobj
= 0;
15820 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15821 wxString
*arg2
= (wxString
*) 0 ;
15824 bool temp2
= false ;
15825 PyObject
*swig_obj
[2] ;
15827 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15829 if (!SWIG_IsOK(res1
)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15832 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15834 arg2
= wxString_in_helper(swig_obj
[1]);
15835 if (arg2
== NULL
) SWIG_fail
;
15838 if (arg1
) (arg1
)->Description
= *arg2
;
15840 resultobj
= SWIG_Py_Void();
15855 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15856 PyObject
*resultobj
= 0;
15857 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15858 wxString
*result
= 0 ;
15861 PyObject
*swig_obj
[1] ;
15863 if (!args
) SWIG_fail
;
15864 swig_obj
[0] = args
;
15865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15866 if (!SWIG_IsOK(res1
)) {
15867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15869 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15870 result
= (wxString
*)& ((arg1
)->Description
);
15873 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15875 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15884 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15886 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15887 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15888 return SWIG_Py_Void();
15891 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
= 0;
15893 int arg1
= (int) -1 ;
15894 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15895 wxLocale
*result
= 0 ;
15900 PyObject
* obj0
= 0 ;
15901 PyObject
* obj1
= 0 ;
15902 char * kwnames
[] = {
15903 (char *) "language",(char *) "flags", NULL
15906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15908 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15909 if (!SWIG_IsOK(ecode1
)) {
15910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15912 arg1
= static_cast< int >(val1
);
15915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15916 if (!SWIG_IsOK(ecode2
)) {
15917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15919 arg2
= static_cast< int >(val2
);
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15934 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15935 PyObject
*resultobj
= 0;
15936 wxLocale
*arg1
= (wxLocale
*) 0 ;
15939 PyObject
*swig_obj
[1] ;
15941 if (!args
) SWIG_fail
;
15942 swig_obj
[0] = args
;
15943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15944 if (!SWIG_IsOK(res1
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15947 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_Py_Void();
15962 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
= 0;
15964 wxLocale
*arg1
= (wxLocale
*) 0 ;
15965 wxString
*arg2
= 0 ;
15966 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15967 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15968 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15969 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15970 bool arg5
= (bool) true ;
15971 bool arg6
= (bool) false ;
15975 bool temp2
= false ;
15976 bool temp3
= false ;
15977 bool temp4
= false ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 PyObject
* obj2
= 0 ;
15985 PyObject
* obj3
= 0 ;
15986 PyObject
* obj4
= 0 ;
15987 PyObject
* obj5
= 0 ;
15988 char * kwnames
[] = {
15989 (char *) "self",(char *) "name",(char *) "shortName",(char *) "locale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15994 if (!SWIG_IsOK(res1
)) {
15995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15997 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15999 arg2
= wxString_in_helper(obj1
);
16000 if (arg2
== NULL
) SWIG_fail
;
16005 arg3
= wxString_in_helper(obj2
);
16006 if (arg3
== NULL
) SWIG_fail
;
16012 arg4
= wxString_in_helper(obj3
);
16013 if (arg4
== NULL
) SWIG_fail
;
16018 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16019 if (!SWIG_IsOK(ecode5
)) {
16020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16022 arg5
= static_cast< bool >(val5
);
16025 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16026 if (!SWIG_IsOK(ecode6
)) {
16027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16029 arg6
= static_cast< bool >(val6
);
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16070 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
= 0;
16072 wxLocale
*arg1
= (wxLocale
*) 0 ;
16073 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16074 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 PyObject
* obj2
= 0 ;
16085 char * kwnames
[] = {
16086 (char *) "self",(char *) "language",(char *) "flags", NULL
16089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16091 if (!SWIG_IsOK(res1
)) {
16092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16094 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16097 if (!SWIG_IsOK(ecode2
)) {
16098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16100 arg2
= static_cast< int >(val2
);
16103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16104 if (!SWIG_IsOK(ecode3
)) {
16105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16107 arg3
= static_cast< int >(val3
);
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16124 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16125 PyObject
*resultobj
= 0;
16128 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (int)wxLocale::GetSystemLanguage();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= SWIG_From_int(static_cast< int >(result
));
16142 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16143 PyObject
*resultobj
= 0;
16144 wxFontEncoding result
;
16146 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_From_int(static_cast< int >(result
));
16160 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16161 PyObject
*resultobj
= 0;
16164 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= wxLocale::GetSystemEncodingName();
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16184 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16185 PyObject
*resultobj
= 0;
16186 wxLocale
*arg1
= (wxLocale
*) 0 ;
16190 PyObject
*swig_obj
[1] ;
16192 if (!args
) SWIG_fail
;
16193 swig_obj
[0] = args
;
16194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16195 if (!SWIG_IsOK(res1
)) {
16196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16198 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16214 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16215 PyObject
*resultobj
= 0;
16216 wxLocale
*arg1
= (wxLocale
*) 0 ;
16220 PyObject
*swig_obj
[1] ;
16222 if (!args
) SWIG_fail
;
16223 swig_obj
[0] = args
;
16224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16225 if (!SWIG_IsOK(res1
)) {
16226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16228 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= ((wxLocale
const *)arg1
)->GetLocale();
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16248 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16249 PyObject
*resultobj
= 0;
16250 wxLocale
*arg1
= (wxLocale
*) 0 ;
16254 PyObject
*swig_obj
[1] ;
16256 if (!args
) SWIG_fail
;
16257 swig_obj
[0] = args
;
16258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16259 if (!SWIG_IsOK(res1
)) {
16260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16262 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_From_int(static_cast< int >(result
));
16276 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16277 PyObject
*resultobj
= 0;
16278 wxLocale
*arg1
= (wxLocale
*) 0 ;
16282 PyObject
*swig_obj
[1] ;
16284 if (!args
) SWIG_fail
;
16285 swig_obj
[0] = args
;
16286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16287 if (!SWIG_IsOK(res1
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16290 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= ((wxLocale
const *)arg1
)->GetSysName();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16310 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16311 PyObject
*resultobj
= 0;
16312 wxLocale
*arg1
= (wxLocale
*) 0 ;
16316 PyObject
*swig_obj
[1] ;
16318 if (!args
) SWIG_fail
;
16319 swig_obj
[0] = args
;
16320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16321 if (!SWIG_IsOK(res1
)) {
16322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16324 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16344 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
= 0;
16346 wxString
*arg1
= 0 ;
16347 bool temp1
= false ;
16348 PyObject
* obj0
= 0 ;
16349 char * kwnames
[] = {
16350 (char *) "prefix", NULL
16353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16355 arg1
= wxString_in_helper(obj0
);
16356 if (arg1
== NULL
) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= SWIG_Py_Void();
16380 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
= 0;
16382 wxLocale
*arg1
= (wxLocale
*) 0 ;
16383 wxString
*arg2
= 0 ;
16387 bool temp2
= false ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 char * kwnames
[] = {
16391 (char *) "self",(char *) "domain", NULL
16394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16396 if (!SWIG_IsOK(res1
)) {
16397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16399 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16401 arg2
= wxString_in_helper(obj1
);
16402 if (arg2
== NULL
) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16428 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
= 0;
16434 PyObject
* obj0
= 0 ;
16435 char * kwnames
[] = {
16436 (char *) "lang", NULL
16439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16441 if (!SWIG_IsOK(ecode1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16444 arg1
= static_cast< int >(val1
);
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (bool)wxLocale::IsAvailable(arg1
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16460 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
= 0;
16462 wxLocale
*arg1
= (wxLocale
*) 0 ;
16463 wxString
*arg2
= 0 ;
16467 bool temp2
= false ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 char * kwnames
[] = {
16471 (char *) "self",(char *) "domain", NULL
16474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16476 if (!SWIG_IsOK(res1
)) {
16477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16479 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16481 arg2
= wxString_in_helper(obj1
);
16482 if (arg2
== NULL
) SWIG_fail
;
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16508 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= 0;
16511 wxLanguageInfo
*result
= 0 ;
16514 PyObject
* obj0
= 0 ;
16515 char * kwnames
[] = {
16516 (char *) "lang", NULL
16519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16521 if (!SWIG_IsOK(ecode1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16524 arg1
= static_cast< int >(val1
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16538 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
= 0;
16544 PyObject
* obj0
= 0 ;
16545 char * kwnames
[] = {
16546 (char *) "lang", NULL
16549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16550 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16551 if (!SWIG_IsOK(ecode1
)) {
16552 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16554 arg1
= static_cast< int >(val1
);
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= wxLocale::GetLanguageName(arg1
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16574 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
= 0;
16576 wxString
*arg1
= 0 ;
16577 wxLanguageInfo
*result
= 0 ;
16578 bool temp1
= false ;
16579 PyObject
* obj0
= 0 ;
16580 char * kwnames
[] = {
16581 (char *) "locale", NULL
16584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16586 arg1
= wxString_in_helper(obj0
);
16587 if (arg1
== NULL
) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16611 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
= 0;
16613 wxLanguageInfo
*arg1
= 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char * kwnames
[] = {
16618 (char *) "info", NULL
16621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16623 if (!SWIG_IsOK(res1
)) {
16624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16629 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= SWIG_Py_Void();
16643 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
= 0;
16645 wxLocale
*arg1
= (wxLocale
*) 0 ;
16646 wxString
*arg2
= 0 ;
16647 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16652 bool temp2
= false ;
16653 bool temp3
= false ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 PyObject
* obj2
= 0 ;
16657 char * kwnames
[] = {
16658 (char *) "self",(char *) "origString",(char *) "domain", NULL
16661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16663 if (!SWIG_IsOK(res1
)) {
16664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16666 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16668 arg2
= wxString_in_helper(obj1
);
16669 if (arg2
== NULL
) SWIG_fail
;
16674 arg3
= wxString_in_helper(obj2
);
16675 if (arg3
== NULL
) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16714 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16715 PyObject
*resultobj
= 0;
16716 wxLocale
*arg1
= (wxLocale
*) 0 ;
16717 wxString
*result
= 0 ;
16720 PyObject
*swig_obj
[1] ;
16722 if (!args
) SWIG_fail
;
16723 swig_obj
[0] = args
;
16724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16725 if (!SWIG_IsOK(res1
)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16728 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16733 result
= (wxString
*) &_result_ref
;
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16742 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16751 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16754 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16755 return SWIG_Py_Void();
16758 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16759 return SWIG_Python_InitShadowInstance(args
);
16762 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
= 0;
16764 int arg1
= (int) -1 ;
16765 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16766 wxPyLocale
*result
= 0 ;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char * kwnames
[] = {
16774 (char *) "language",(char *) "flags", NULL
16777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16780 if (!SWIG_IsOK(ecode1
)) {
16781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16783 arg1
= static_cast< int >(val1
);
16786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16787 if (!SWIG_IsOK(ecode2
)) {
16788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16790 arg2
= static_cast< int >(val2
);
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16805 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16806 PyObject
*resultobj
= 0;
16807 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16810 PyObject
*swig_obj
[1] ;
16812 if (!args
) SWIG_fail
;
16813 swig_obj
[0] = args
;
16814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16815 if (!SWIG_IsOK(res1
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16818 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_Py_Void();
16833 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
= 0;
16835 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16836 PyObject
*arg2
= (PyObject
*) 0 ;
16837 PyObject
*arg3
= (PyObject
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 PyObject
* obj2
= 0 ;
16843 char * kwnames
[] = {
16844 (char *) "self",(char *) "self",(char *) "_class", NULL
16847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16849 if (!SWIG_IsOK(res1
)) {
16850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16852 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_Py_Void();
16868 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
= 0;
16870 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16871 wxString
*arg2
= 0 ;
16872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16874 wxString
*result
= 0 ;
16877 bool temp2
= false ;
16878 bool temp3
= false ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 PyObject
* obj2
= 0 ;
16882 char * kwnames
[] = {
16883 (char *) "self",(char *) "origString",(char *) "domain", NULL
16886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16888 if (!SWIG_IsOK(res1
)) {
16889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16891 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16893 arg2
= wxString_in_helper(obj1
);
16894 if (arg2
== NULL
) SWIG_fail
;
16899 arg3
= wxString_in_helper(obj2
);
16900 if (arg3
== NULL
) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16908 result
= (wxString
*) &_result_ref
;
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16917 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16942 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
= 0;
16944 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16945 wxString
*arg2
= 0 ;
16946 wxString
*arg3
= 0 ;
16948 wxString
const &arg5_defvalue
= wxPyEmptyString
;
16949 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16950 wxString
*result
= 0 ;
16953 bool temp2
= false ;
16954 bool temp3
= false ;
16957 bool temp5
= false ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 PyObject
* obj2
= 0 ;
16961 PyObject
* obj3
= 0 ;
16962 PyObject
* obj4
= 0 ;
16963 char * kwnames
[] = {
16964 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
16967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16969 if (!SWIG_IsOK(res1
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16972 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16974 arg2
= wxString_in_helper(obj1
);
16975 if (arg2
== NULL
) SWIG_fail
;
16979 arg3
= wxString_in_helper(obj2
);
16980 if (arg3
== NULL
) SWIG_fail
;
16983 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16984 if (!SWIG_IsOK(ecode4
)) {
16985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16987 arg4
= static_cast< size_t >(val4
);
16990 arg5
= wxString_in_helper(obj4
);
16991 if (arg5
== NULL
) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
16999 result
= (wxString
*) &_result_ref
;
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17008 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17041 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17045 return SWIG_Py_Void();
17048 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17049 return SWIG_Python_InitShadowInstance(args
);
17052 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17053 PyObject
*resultobj
= 0;
17054 wxLocale
*result
= 0 ;
17056 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= (wxLocale
*)wxGetLocale();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17070 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17071 PyObject
*resultobj
= 0;
17072 wxString
*arg1
= 0 ;
17074 bool temp1
= false ;
17076 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17078 arg1
= wxString_in_helper(swig_obj
[0]);
17079 if (arg1
== NULL
) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= wxGetTranslation((wxString
const &)*arg1
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17109 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17110 PyObject
*resultobj
= 0;
17111 wxString
*arg1
= 0 ;
17112 wxString
*arg2
= 0 ;
17114 bool temp1
= false ;
17115 bool temp2
= false ;
17117 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17119 arg1
= wxString_in_helper(swig_obj
[0]);
17120 if (arg1
== NULL
) SWIG_fail
;
17124 arg2
= wxString_in_helper(swig_obj
[1]);
17125 if (arg2
== NULL
) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17163 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17164 PyObject
*resultobj
= 0;
17165 wxString
*arg1
= 0 ;
17166 wxString
*arg2
= 0 ;
17169 bool temp1
= false ;
17170 bool temp2
= false ;
17174 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17176 arg1
= wxString_in_helper(swig_obj
[0]);
17177 if (arg1
== NULL
) SWIG_fail
;
17181 arg2
= wxString_in_helper(swig_obj
[1]);
17182 if (arg2
== NULL
) SWIG_fail
;
17185 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17186 if (!SWIG_IsOK(ecode3
)) {
17187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17189 arg3
= static_cast< size_t >(val3
);
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17225 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17226 PyObject
*resultobj
= 0;
17227 wxString
*arg1
= 0 ;
17228 wxString
*arg2
= 0 ;
17230 wxString
*arg4
= 0 ;
17232 bool temp1
= false ;
17233 bool temp2
= false ;
17236 bool temp4
= false ;
17238 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17240 arg1
= wxString_in_helper(swig_obj
[0]);
17241 if (arg1
== NULL
) SWIG_fail
;
17245 arg2
= wxString_in_helper(swig_obj
[1]);
17246 if (arg2
== NULL
) SWIG_fail
;
17249 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17250 if (!SWIG_IsOK(ecode3
)) {
17251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17253 arg3
= static_cast< size_t >(val3
);
17255 arg4
= wxString_in_helper(swig_obj
[3]);
17256 if (arg4
== NULL
) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17302 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17306 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17309 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17312 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17315 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17318 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17322 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17327 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17328 PyObject
*resultobj
= 0;
17329 wxEncodingConverter
*result
= 0 ;
17331 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17345 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17346 PyObject
*resultobj
= 0;
17347 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17350 PyObject
*swig_obj
[1] ;
17352 if (!args
) SWIG_fail
;
17353 swig_obj
[0] = args
;
17354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17355 if (!SWIG_IsOK(res1
)) {
17356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17358 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= SWIG_Py_Void();
17373 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
= 0;
17375 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17376 wxFontEncoding arg2
;
17377 wxFontEncoding arg3
;
17378 int arg4
= (int) wxCONVERT_STRICT
;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 PyObject
* obj2
= 0 ;
17391 PyObject
* obj3
= 0 ;
17392 char * kwnames
[] = {
17393 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17398 if (!SWIG_IsOK(res1
)) {
17399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17401 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17403 if (!SWIG_IsOK(ecode2
)) {
17404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17406 arg2
= static_cast< wxFontEncoding
>(val2
);
17407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17408 if (!SWIG_IsOK(ecode3
)) {
17409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17411 arg3
= static_cast< wxFontEncoding
>(val3
);
17413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17414 if (!SWIG_IsOK(ecode4
)) {
17415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17417 arg4
= static_cast< int >(val4
);
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17434 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
= 0;
17436 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17437 wxString
*arg2
= 0 ;
17441 bool temp2
= false ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 char * kwnames
[] = {
17445 (char *) "self",(char *) "input", NULL
17448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17450 if (!SWIG_IsOK(res1
)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17453 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17455 arg2
= wxString_in_helper(obj1
);
17456 if (arg2
== NULL
) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17486 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
= 0;
17488 wxFontEncoding arg1
;
17489 int arg2
= (int) wxPLATFORM_CURRENT
;
17490 wxFontEncodingArray result
;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 char * kwnames
[] = {
17498 (char *) "enc",(char *) "platform", NULL
17501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17503 if (!SWIG_IsOK(ecode1
)) {
17504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17506 arg1
= static_cast< wxFontEncoding
>(val1
);
17508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17509 if (!SWIG_IsOK(ecode2
)) {
17510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17512 arg2
= static_cast< int >(val2
);
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= PyList_New(0);
17522 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17523 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17524 PyList_Append(resultobj
, number
);
17534 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
= 0;
17536 wxFontEncoding arg1
;
17537 wxFontEncodingArray result
;
17540 PyObject
* obj0
= 0 ;
17541 char * kwnames
[] = {
17542 (char *) "enc", NULL
17545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17547 if (!SWIG_IsOK(ecode1
)) {
17548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17550 arg1
= static_cast< wxFontEncoding
>(val1
);
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= PyList_New(0);
17559 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17560 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17561 PyList_Append(resultobj
, number
);
17571 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
= 0;
17573 wxFontEncoding arg1
;
17574 wxFontEncoding arg2
;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char * kwnames
[] = {
17583 (char *) "encIn",(char *) "encOut", NULL
17586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17587 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17588 if (!SWIG_IsOK(ecode1
)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17591 arg1
= static_cast< wxFontEncoding
>(val1
);
17592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17593 if (!SWIG_IsOK(ecode2
)) {
17594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17596 arg2
= static_cast< wxFontEncoding
>(val2
);
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17612 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17615 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17616 return SWIG_Py_Void();
17619 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17620 return SWIG_Python_InitShadowInstance(args
);
17623 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxDC
*arg1
= (wxDC
*) 0 ;
17628 PyObject
*swig_obj
[1] ;
17630 if (!args
) SWIG_fail
;
17631 swig_obj
[0] = args
;
17632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17633 if (!SWIG_IsOK(res1
)) {
17634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= SWIG_Py_Void();
17651 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
= 0;
17653 wxDC
*arg1
= (wxDC
*) 0 ;
17656 wxColour
*arg4
= 0 ;
17657 int arg5
= (int) wxFLOOD_SURFACE
;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 PyObject
* obj2
= 0 ;
17671 PyObject
* obj3
= 0 ;
17672 PyObject
* obj4
= 0 ;
17673 char * kwnames
[] = {
17674 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17679 if (!SWIG_IsOK(res1
)) {
17680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17684 if (!SWIG_IsOK(ecode2
)) {
17685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17687 arg2
= static_cast< int >(val2
);
17688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17689 if (!SWIG_IsOK(ecode3
)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17692 arg3
= static_cast< int >(val3
);
17695 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17699 if (!SWIG_IsOK(ecode5
)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17702 arg5
= static_cast< int >(val5
);
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17719 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxDC
*arg1
= (wxDC
*) 0 ;
17722 wxPoint
*arg2
= 0 ;
17723 wxColour
*arg3
= 0 ;
17724 int arg4
= (int) wxFLOOD_SURFACE
;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 PyObject
* obj2
= 0 ;
17735 PyObject
* obj3
= 0 ;
17736 char * kwnames
[] = {
17737 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17742 if (!SWIG_IsOK(res1
)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17752 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17755 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17756 if (!SWIG_IsOK(ecode4
)) {
17757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17759 arg4
= static_cast< int >(val4
);
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17776 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
= 0;
17778 wxDC
*arg1
= (wxDC
*) 0 ;
17780 wxColour
*arg3
= 0 ;
17781 wxColour
*arg4
= 0 ;
17782 wxPoint
*arg5
= 0 ;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 PyObject
* obj2
= 0 ;
17792 PyObject
* obj3
= 0 ;
17793 PyObject
* obj4
= 0 ;
17794 char * kwnames
[] = {
17795 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17800 if (!SWIG_IsOK(res1
)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17810 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17814 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17818 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= SWIG_Py_Void();
17833 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
= 0;
17835 wxDC
*arg1
= (wxDC
*) 0 ;
17837 wxColour
*arg3
= 0 ;
17838 wxColour
*arg4
= 0 ;
17839 wxDirection arg5
= (wxDirection
) wxEAST
;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 PyObject
* obj2
= 0 ;
17850 PyObject
* obj3
= 0 ;
17851 PyObject
* obj4
= 0 ;
17852 char * kwnames
[] = {
17853 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17858 if (!SWIG_IsOK(res1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17864 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17868 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17872 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17875 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17876 if (!SWIG_IsOK(ecode5
)) {
17877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17879 arg5
= static_cast< wxDirection
>(val5
);
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= SWIG_Py_Void();
17894 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
= 0;
17896 wxDC
*arg1
= (wxDC
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 PyObject
* obj2
= 0 ;
17909 char * kwnames
[] = {
17910 (char *) "self",(char *) "x",(char *) "y", NULL
17913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17915 if (!SWIG_IsOK(res1
)) {
17916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17920 if (!SWIG_IsOK(ecode2
)) {
17921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17923 arg2
= static_cast< int >(val2
);
17924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17925 if (!SWIG_IsOK(ecode3
)) {
17926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17928 arg3
= static_cast< int >(val3
);
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17942 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
= 0;
17944 wxDC
*arg1
= (wxDC
*) 0 ;
17945 wxPoint
*arg2
= 0 ;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 char * kwnames
[] = {
17953 (char *) "self",(char *) "pt", NULL
17956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17979 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= 0;
17981 wxDC
*arg1
= (wxDC
*) 0 ;
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 *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",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_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18012 if (!SWIG_IsOK(ecode2
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18015 arg2
= static_cast< int >(val2
);
18016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18017 if (!SWIG_IsOK(ecode3
)) {
18018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18020 arg3
= static_cast< int >(val3
);
18021 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18022 if (!SWIG_IsOK(ecode4
)) {
18023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18025 arg4
= static_cast< int >(val4
);
18026 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18027 if (!SWIG_IsOK(ecode5
)) {
18028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18030 arg5
= static_cast< int >(val5
);
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= SWIG_Py_Void();
18044 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
= 0;
18046 wxDC
*arg1
= (wxDC
*) 0 ;
18047 wxPoint
*arg2
= 0 ;
18048 wxPoint
*arg3
= 0 ;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 PyObject
* obj2
= 0 ;
18056 char * kwnames
[] = {
18057 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18062 if (!SWIG_IsOK(res1
)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18065 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= SWIG_Py_Void();
18087 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
= 0;
18089 wxDC
*arg1
= (wxDC
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 PyObject
* obj1
= 0 ;
18100 PyObject
* obj2
= 0 ;
18101 char * kwnames
[] = {
18102 (char *) "self",(char *) "x",(char *) "y", NULL
18105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18112 if (!SWIG_IsOK(ecode2
)) {
18113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18115 arg2
= static_cast< int >(val2
);
18116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18117 if (!SWIG_IsOK(ecode3
)) {
18118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18120 arg3
= static_cast< int >(val3
);
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 (arg1
)->CrossHair(arg2
,arg3
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_Py_Void();
18134 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
= 0;
18136 wxDC
*arg1
= (wxDC
*) 0 ;
18137 wxPoint
*arg2
= 0 ;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "self",(char *) "pt", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18149 if (!SWIG_IsOK(res1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= SWIG_Py_Void();
18170 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
= 0;
18172 wxDC
*arg1
= (wxDC
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 PyObject
* obj2
= 0 ;
18196 PyObject
* obj3
= 0 ;
18197 PyObject
* obj4
= 0 ;
18198 PyObject
* obj5
= 0 ;
18199 PyObject
* obj6
= 0 ;
18200 char * kwnames
[] = {
18201 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18211 if (!SWIG_IsOK(ecode2
)) {
18212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18214 arg2
= static_cast< int >(val2
);
18215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18216 if (!SWIG_IsOK(ecode3
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18219 arg3
= static_cast< int >(val3
);
18220 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18221 if (!SWIG_IsOK(ecode4
)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18224 arg4
= static_cast< int >(val4
);
18225 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18226 if (!SWIG_IsOK(ecode5
)) {
18227 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18229 arg5
= static_cast< int >(val5
);
18230 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18231 if (!SWIG_IsOK(ecode6
)) {
18232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18234 arg6
= static_cast< int >(val6
);
18235 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18236 if (!SWIG_IsOK(ecode7
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18239 arg7
= static_cast< int >(val7
);
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_Py_Void();
18253 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
= 0;
18255 wxDC
*arg1
= (wxDC
*) 0 ;
18256 wxPoint
*arg2
= 0 ;
18257 wxPoint
*arg3
= 0 ;
18258 wxPoint
*arg4
= 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 PyObject
* obj2
= 0 ;
18267 PyObject
* obj3
= 0 ;
18268 char * kwnames
[] = {
18269 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18274 if (!SWIG_IsOK(res1
)) {
18275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18284 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= SWIG_Py_Void();
18303 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
= 0;
18305 wxDC
*arg1
= (wxDC
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 PyObject
* obj2
= 0 ;
18323 PyObject
* obj3
= 0 ;
18324 PyObject
* obj4
= 0 ;
18325 char * kwnames
[] = {
18326 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18331 if (!SWIG_IsOK(res1
)) {
18332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18336 if (!SWIG_IsOK(ecode2
)) {
18337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18339 arg2
= static_cast< int >(val2
);
18340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18341 if (!SWIG_IsOK(ecode3
)) {
18342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18344 arg3
= static_cast< int >(val3
);
18345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18346 if (!SWIG_IsOK(ecode4
)) {
18347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18349 arg4
= static_cast< int >(val4
);
18350 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18351 if (!SWIG_IsOK(ecode5
)) {
18352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18354 arg5
= static_cast< int >(val5
);
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= SWIG_Py_Void();
18368 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
= 0;
18370 wxDC
*arg1
= (wxDC
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 PyObject
* obj1
= 0 ;
18377 char * kwnames
[] = {
18378 (char *) "self",(char *) "rect", NULL
18381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18383 if (!SWIG_IsOK(res1
)) {
18384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18389 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_Py_Void();
18404 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
= 0;
18406 wxDC
*arg1
= (wxDC
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 PyObject
* obj2
= 0 ;
18430 PyObject
* obj3
= 0 ;
18431 PyObject
* obj4
= 0 ;
18432 PyObject
* obj5
= 0 ;
18433 PyObject
* obj6
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18445 if (!SWIG_IsOK(ecode2
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18448 arg2
= static_cast< int >(val2
);
18449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18450 if (!SWIG_IsOK(ecode3
)) {
18451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18453 arg3
= static_cast< int >(val3
);
18454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18455 if (!SWIG_IsOK(ecode4
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18458 arg4
= static_cast< int >(val4
);
18459 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18460 if (!SWIG_IsOK(ecode5
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18463 arg5
= static_cast< int >(val5
);
18464 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18465 if (!SWIG_IsOK(ecode6
)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18468 arg6
= static_cast< double >(val6
);
18469 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18470 if (!SWIG_IsOK(ecode7
)) {
18471 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18473 arg7
= static_cast< double >(val7
);
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_Py_Void();
18487 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
= 0;
18489 wxDC
*arg1
= (wxDC
*) 0 ;
18490 wxPoint
*arg2
= 0 ;
18502 PyObject
* obj0
= 0 ;
18503 PyObject
* obj1
= 0 ;
18504 PyObject
* obj2
= 0 ;
18505 PyObject
* obj3
= 0 ;
18506 PyObject
* obj4
= 0 ;
18507 char * kwnames
[] = {
18508 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18523 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18525 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18526 if (!SWIG_IsOK(ecode4
)) {
18527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18529 arg4
= static_cast< double >(val4
);
18530 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18531 if (!SWIG_IsOK(ecode5
)) {
18532 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18534 arg5
= static_cast< double >(val5
);
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_Py_Void();
18548 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
= 0;
18550 wxDC
*arg1
= (wxDC
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 PyObject
* obj2
= 0 ;
18562 char * kwnames
[] = {
18563 (char *) "self",(char *) "x",(char *) "y", NULL
18566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18568 if (!SWIG_IsOK(res1
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18573 if (!SWIG_IsOK(ecode2
)) {
18574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18576 arg2
= static_cast< int >(val2
);
18577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18578 if (!SWIG_IsOK(ecode3
)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18581 arg3
= static_cast< int >(val3
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 (arg1
)->DrawPoint(arg2
,arg3
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_Py_Void();
18595 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
= 0;
18597 wxDC
*arg1
= (wxDC
*) 0 ;
18598 wxPoint
*arg2
= 0 ;
18602 PyObject
* obj0
= 0 ;
18603 PyObject
* obj1
= 0 ;
18604 char * kwnames
[] = {
18605 (char *) "self",(char *) "pt", NULL
18608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18610 if (!SWIG_IsOK(res1
)) {
18611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_Py_Void();
18631 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
= 0;
18633 wxDC
*arg1
= (wxDC
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 PyObject
* obj2
= 0 ;
18651 PyObject
* obj3
= 0 ;
18652 PyObject
* obj4
= 0 ;
18653 char * kwnames
[] = {
18654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18659 if (!SWIG_IsOK(res1
)) {
18660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18664 if (!SWIG_IsOK(ecode2
)) {
18665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18667 arg2
= static_cast< int >(val2
);
18668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18669 if (!SWIG_IsOK(ecode3
)) {
18670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18672 arg3
= static_cast< int >(val3
);
18673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18674 if (!SWIG_IsOK(ecode4
)) {
18675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18677 arg4
= static_cast< int >(val4
);
18678 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18679 if (!SWIG_IsOK(ecode5
)) {
18680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18682 arg5
= static_cast< int >(val5
);
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_Py_Void();
18696 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
= 0;
18698 wxDC
*arg1
= (wxDC
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char * kwnames
[] = {
18706 (char *) "self",(char *) "rect", NULL
18709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18711 if (!SWIG_IsOK(res1
)) {
18712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18717 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_Py_Void();
18732 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
= 0;
18734 wxDC
*arg1
= (wxDC
*) 0 ;
18735 wxPoint
*arg2
= 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 PyObject
* obj2
= 0 ;
18744 char * kwnames
[] = {
18745 (char *) "self",(char *) "pt",(char *) "sz", NULL
18748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18750 if (!SWIG_IsOK(res1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18756 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18760 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_Py_Void();
18775 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= 0;
18777 wxDC
*arg1
= (wxDC
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 PyObject
* obj2
= 0 ;
18798 PyObject
* obj3
= 0 ;
18799 PyObject
* obj4
= 0 ;
18800 PyObject
* obj5
= 0 ;
18801 char * kwnames
[] = {
18802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18807 if (!SWIG_IsOK(res1
)) {
18808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18812 if (!SWIG_IsOK(ecode2
)) {
18813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18815 arg2
= static_cast< int >(val2
);
18816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18817 if (!SWIG_IsOK(ecode3
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18820 arg3
= static_cast< int >(val3
);
18821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18822 if (!SWIG_IsOK(ecode4
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18825 arg4
= static_cast< int >(val4
);
18826 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18827 if (!SWIG_IsOK(ecode5
)) {
18828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18830 arg5
= static_cast< int >(val5
);
18831 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18832 if (!SWIG_IsOK(ecode6
)) {
18833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18835 arg6
= static_cast< double >(val6
);
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= SWIG_Py_Void();
18849 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
= 0;
18851 wxDC
*arg1
= (wxDC
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 PyObject
* obj2
= 0 ;
18862 char * kwnames
[] = {
18863 (char *) "self",(char *) "r",(char *) "radius", NULL
18866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18868 if (!SWIG_IsOK(res1
)) {
18869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18874 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18876 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18877 if (!SWIG_IsOK(ecode3
)) {
18878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18880 arg3
= static_cast< double >(val3
);
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_Py_Void();
18894 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
= 0;
18896 wxDC
*arg1
= (wxDC
*) 0 ;
18897 wxPoint
*arg2
= 0 ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 PyObject
* obj2
= 0 ;
18909 PyObject
* obj3
= 0 ;
18910 char * kwnames
[] = {
18911 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18916 if (!SWIG_IsOK(res1
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18922 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18926 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18928 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18929 if (!SWIG_IsOK(ecode4
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18932 arg4
= static_cast< double >(val4
);
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_Py_Void();
18946 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
= 0;
18948 wxDC
*arg1
= (wxDC
*) 0 ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 PyObject
* obj2
= 0 ;
18963 PyObject
* obj3
= 0 ;
18964 char * kwnames
[] = {
18965 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18970 if (!SWIG_IsOK(res1
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18975 if (!SWIG_IsOK(ecode2
)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18978 arg2
= static_cast< int >(val2
);
18979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18980 if (!SWIG_IsOK(ecode3
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18983 arg3
= static_cast< int >(val3
);
18984 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18985 if (!SWIG_IsOK(ecode4
)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18988 arg4
= static_cast< int >(val4
);
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= SWIG_Py_Void();
19002 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= 0;
19004 wxDC
*arg1
= (wxDC
*) 0 ;
19005 wxPoint
*arg2
= 0 ;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 PyObject
* obj2
= 0 ;
19015 char * kwnames
[] = {
19016 (char *) "self",(char *) "pt",(char *) "radius", NULL
19019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19021 if (!SWIG_IsOK(res1
)) {
19022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19030 if (!SWIG_IsOK(ecode3
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19033 arg3
= static_cast< int >(val3
);
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_Py_Void();
19047 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
= 0;
19049 wxDC
*arg1
= (wxDC
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 PyObject
* obj2
= 0 ;
19067 PyObject
* obj3
= 0 ;
19068 PyObject
* obj4
= 0 ;
19069 char * kwnames
[] = {
19070 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19075 if (!SWIG_IsOK(res1
)) {
19076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19080 if (!SWIG_IsOK(ecode2
)) {
19081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19083 arg2
= static_cast< int >(val2
);
19084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19085 if (!SWIG_IsOK(ecode3
)) {
19086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19088 arg3
= static_cast< int >(val3
);
19089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19090 if (!SWIG_IsOK(ecode4
)) {
19091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19093 arg4
= static_cast< int >(val4
);
19094 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19095 if (!SWIG_IsOK(ecode5
)) {
19096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19098 arg5
= static_cast< int >(val5
);
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= SWIG_Py_Void();
19112 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
= 0;
19114 wxDC
*arg1
= (wxDC
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char * kwnames
[] = {
19122 (char *) "self",(char *) "rect", NULL
19125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19127 if (!SWIG_IsOK(res1
)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19133 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= SWIG_Py_Void();
19148 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
= 0;
19150 wxDC
*arg1
= (wxDC
*) 0 ;
19151 wxPoint
*arg2
= 0 ;
19157 PyObject
* obj0
= 0 ;
19158 PyObject
* obj1
= 0 ;
19159 PyObject
* obj2
= 0 ;
19160 char * kwnames
[] = {
19161 (char *) "self",(char *) "pt",(char *) "sz", NULL
19164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19166 if (!SWIG_IsOK(res1
)) {
19167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19172 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19176 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_Py_Void();
19191 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= 0;
19193 wxDC
*arg1
= (wxDC
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 PyObject
* obj2
= 0 ;
19208 PyObject
* obj3
= 0 ;
19209 char * kwnames
[] = {
19210 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19215 if (!SWIG_IsOK(res1
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19220 if (!SWIG_IsOK(res2
)) {
19221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19226 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19228 if (!SWIG_IsOK(ecode3
)) {
19229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19231 arg3
= static_cast< int >(val3
);
19232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19233 if (!SWIG_IsOK(ecode4
)) {
19234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19236 arg4
= static_cast< int >(val4
);
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= SWIG_Py_Void();
19250 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
= 0;
19252 wxDC
*arg1
= (wxDC
*) 0 ;
19254 wxPoint
*arg3
= 0 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 PyObject
* obj2
= 0 ;
19263 char * kwnames
[] = {
19264 (char *) "self",(char *) "icon",(char *) "pt", NULL
19267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19269 if (!SWIG_IsOK(res1
)) {
19270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19274 if (!SWIG_IsOK(res2
)) {
19275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19280 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19283 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 resultobj
= SWIG_Py_Void();
19298 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
= 0;
19300 wxDC
*arg1
= (wxDC
*) 0 ;
19301 wxBitmap
*arg2
= 0 ;
19304 bool arg5
= (bool) false ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 PyObject
* obj2
= 0 ;
19318 PyObject
* obj3
= 0 ;
19319 PyObject
* obj4
= 0 ;
19320 char * kwnames
[] = {
19321 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19326 if (!SWIG_IsOK(res1
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19330 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19331 if (!SWIG_IsOK(res2
)) {
19332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19337 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19339 if (!SWIG_IsOK(ecode3
)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19342 arg3
= static_cast< int >(val3
);
19343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19344 if (!SWIG_IsOK(ecode4
)) {
19345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19347 arg4
= static_cast< int >(val4
);
19349 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19350 if (!SWIG_IsOK(ecode5
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19353 arg5
= static_cast< bool >(val5
);
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_Py_Void();
19368 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxDC
*arg1
= (wxDC
*) 0 ;
19371 wxBitmap
*arg2
= 0 ;
19372 wxPoint
*arg3
= 0 ;
19373 bool arg4
= (bool) false ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 PyObject
* obj2
= 0 ;
19384 PyObject
* obj3
= 0 ;
19385 char * kwnames
[] = {
19386 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19391 if (!SWIG_IsOK(res1
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19396 if (!SWIG_IsOK(res2
)) {
19397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19402 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19408 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19409 if (!SWIG_IsOK(ecode4
)) {
19410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19412 arg4
= static_cast< bool >(val4
);
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= SWIG_Py_Void();
19427 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
= 0;
19429 wxDC
*arg1
= (wxDC
*) 0 ;
19430 wxString
*arg2
= 0 ;
19435 bool temp2
= false ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 PyObject
* obj2
= 0 ;
19443 PyObject
* obj3
= 0 ;
19444 char * kwnames
[] = {
19445 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19450 if (!SWIG_IsOK(res1
)) {
19451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19455 arg2
= wxString_in_helper(obj1
);
19456 if (arg2
== NULL
) SWIG_fail
;
19459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19460 if (!SWIG_IsOK(ecode3
)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19463 arg3
= static_cast< int >(val3
);
19464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19465 if (!SWIG_IsOK(ecode4
)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19468 arg4
= static_cast< int >(val4
);
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= SWIG_Py_Void();
19490 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
= 0;
19492 wxDC
*arg1
= (wxDC
*) 0 ;
19493 wxString
*arg2
= 0 ;
19494 wxPoint
*arg3
= 0 ;
19497 bool temp2
= false ;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 PyObject
* obj2
= 0 ;
19502 char * kwnames
[] = {
19503 (char *) "self",(char *) "text",(char *) "pt", NULL
19506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19508 if (!SWIG_IsOK(res1
)) {
19509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19513 arg2
= wxString_in_helper(obj1
);
19514 if (arg2
== NULL
) SWIG_fail
;
19519 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_Py_Void();
19542 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
= 0;
19544 wxDC
*arg1
= (wxDC
*) 0 ;
19545 wxString
*arg2
= 0 ;
19551 bool temp2
= false ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 PyObject
* obj2
= 0 ;
19561 PyObject
* obj3
= 0 ;
19562 PyObject
* obj4
= 0 ;
19563 char * kwnames
[] = {
19564 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19569 if (!SWIG_IsOK(res1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19574 arg2
= wxString_in_helper(obj1
);
19575 if (arg2
== NULL
) SWIG_fail
;
19578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19579 if (!SWIG_IsOK(ecode3
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19582 arg3
= static_cast< int >(val3
);
19583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19584 if (!SWIG_IsOK(ecode4
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19587 arg4
= static_cast< int >(val4
);
19588 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19589 if (!SWIG_IsOK(ecode5
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19592 arg5
= static_cast< double >(val5
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_Py_Void();
19614 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= 0;
19616 wxDC
*arg1
= (wxDC
*) 0 ;
19617 wxString
*arg2
= 0 ;
19618 wxPoint
*arg3
= 0 ;
19622 bool temp2
= false ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 PyObject
* obj2
= 0 ;
19629 PyObject
* obj3
= 0 ;
19630 char * kwnames
[] = {
19631 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19641 arg2
= wxString_in_helper(obj1
);
19642 if (arg2
== NULL
) SWIG_fail
;
19647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19649 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19650 if (!SWIG_IsOK(ecode4
)) {
19651 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19653 arg4
= static_cast< double >(val4
);
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_Py_Void();
19675 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
= 0;
19677 wxDC
*arg1
= (wxDC
*) 0 ;
19682 wxDC
*arg6
= (wxDC
*) 0 ;
19685 int arg9
= (int) wxCOPY
;
19686 bool arg10
= (bool) false ;
19687 int arg11
= (int) -1 ;
19688 int arg12
= (int) -1 ;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 PyObject
* obj2
= 0 ;
19717 PyObject
* obj3
= 0 ;
19718 PyObject
* obj4
= 0 ;
19719 PyObject
* obj5
= 0 ;
19720 PyObject
* obj6
= 0 ;
19721 PyObject
* obj7
= 0 ;
19722 PyObject
* obj8
= 0 ;
19723 PyObject
* obj9
= 0 ;
19724 PyObject
* obj10
= 0 ;
19725 PyObject
* obj11
= 0 ;
19726 char * kwnames
[] = {
19727 (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
19730 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
;
19731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19732 if (!SWIG_IsOK(res1
)) {
19733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19737 if (!SWIG_IsOK(ecode2
)) {
19738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19740 arg2
= static_cast< int >(val2
);
19741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19742 if (!SWIG_IsOK(ecode3
)) {
19743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19745 arg3
= static_cast< int >(val3
);
19746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19747 if (!SWIG_IsOK(ecode4
)) {
19748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19750 arg4
= static_cast< int >(val4
);
19751 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19752 if (!SWIG_IsOK(ecode5
)) {
19753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19755 arg5
= static_cast< int >(val5
);
19756 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19757 if (!SWIG_IsOK(res6
)) {
19758 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19760 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19761 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19762 if (!SWIG_IsOK(ecode7
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19765 arg7
= static_cast< int >(val7
);
19766 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19767 if (!SWIG_IsOK(ecode8
)) {
19768 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19770 arg8
= static_cast< int >(val8
);
19772 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19773 if (!SWIG_IsOK(ecode9
)) {
19774 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19776 arg9
= static_cast< int >(val9
);
19779 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19780 if (!SWIG_IsOK(ecode10
)) {
19781 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19783 arg10
= static_cast< bool >(val10
);
19786 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19787 if (!SWIG_IsOK(ecode11
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19790 arg11
= static_cast< int >(val11
);
19793 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19794 if (!SWIG_IsOK(ecode12
)) {
19795 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19797 arg12
= static_cast< int >(val12
);
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19814 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
= 0;
19816 wxDC
*arg1
= (wxDC
*) 0 ;
19817 wxPoint
*arg2
= 0 ;
19819 wxDC
*arg4
= (wxDC
*) 0 ;
19820 wxPoint
*arg5
= 0 ;
19821 int arg6
= (int) wxCOPY
;
19822 bool arg7
= (bool) false ;
19823 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19824 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 PyObject
* obj2
= 0 ;
19841 PyObject
* obj3
= 0 ;
19842 PyObject
* obj4
= 0 ;
19843 PyObject
* obj5
= 0 ;
19844 PyObject
* obj6
= 0 ;
19845 PyObject
* obj7
= 0 ;
19846 char * kwnames
[] = {
19847 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19852 if (!SWIG_IsOK(res1
)) {
19853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19862 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19864 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19865 if (!SWIG_IsOK(res4
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19868 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19871 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19874 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19875 if (!SWIG_IsOK(ecode6
)) {
19876 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19878 arg6
= static_cast< int >(val6
);
19881 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19882 if (!SWIG_IsOK(ecode7
)) {
19883 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19885 arg7
= static_cast< bool >(val7
);
19890 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19908 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
= 0;
19910 wxDC
*arg1
= (wxDC
*) 0 ;
19915 wxDC
*arg6
= (wxDC
*) 0 ;
19920 int arg11
= (int) wxCOPY
;
19921 bool arg12
= (bool) false ;
19922 int arg13
= (int) wxDefaultCoord
;
19923 int arg14
= (int) wxDefaultCoord
;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 PyObject
* obj2
= 0 ;
19956 PyObject
* obj3
= 0 ;
19957 PyObject
* obj4
= 0 ;
19958 PyObject
* obj5
= 0 ;
19959 PyObject
* obj6
= 0 ;
19960 PyObject
* obj7
= 0 ;
19961 PyObject
* obj8
= 0 ;
19962 PyObject
* obj9
= 0 ;
19963 PyObject
* obj10
= 0 ;
19964 PyObject
* obj11
= 0 ;
19965 PyObject
* obj12
= 0 ;
19966 PyObject
* obj13
= 0 ;
19967 char * kwnames
[] = {
19968 (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
19971 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
;
19972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19973 if (!SWIG_IsOK(res1
)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
19976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19978 if (!SWIG_IsOK(ecode2
)) {
19979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
19981 arg2
= static_cast< int >(val2
);
19982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19983 if (!SWIG_IsOK(ecode3
)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
19986 arg3
= static_cast< int >(val3
);
19987 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19988 if (!SWIG_IsOK(ecode4
)) {
19989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
19991 arg4
= static_cast< int >(val4
);
19992 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19993 if (!SWIG_IsOK(ecode5
)) {
19994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
19996 arg5
= static_cast< int >(val5
);
19997 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19998 if (!SWIG_IsOK(res6
)) {
19999 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
20001 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20002 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20003 if (!SWIG_IsOK(ecode7
)) {
20004 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
20006 arg7
= static_cast< int >(val7
);
20007 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20008 if (!SWIG_IsOK(ecode8
)) {
20009 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
20011 arg8
= static_cast< int >(val8
);
20012 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20013 if (!SWIG_IsOK(ecode9
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20016 arg9
= static_cast< int >(val9
);
20017 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20018 if (!SWIG_IsOK(ecode10
)) {
20019 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20021 arg10
= static_cast< int >(val10
);
20023 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20024 if (!SWIG_IsOK(ecode11
)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20027 arg11
= static_cast< int >(val11
);
20030 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20031 if (!SWIG_IsOK(ecode12
)) {
20032 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20034 arg12
= static_cast< bool >(val12
);
20037 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20038 if (!SWIG_IsOK(ecode13
)) {
20039 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20041 arg13
= static_cast< int >(val13
);
20044 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20045 if (!SWIG_IsOK(ecode14
)) {
20046 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20048 arg14
= static_cast< int >(val14
);
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20065 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= 0;
20067 wxDC
*arg1
= (wxDC
*) 0 ;
20068 wxPoint
*arg2
= 0 ;
20070 wxDC
*arg4
= (wxDC
*) 0 ;
20071 wxPoint
*arg5
= 0 ;
20073 int arg7
= (int) wxCOPY
;
20074 bool arg8
= (bool) false ;
20075 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20076 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 PyObject
* obj2
= 0 ;
20094 PyObject
* obj3
= 0 ;
20095 PyObject
* obj4
= 0 ;
20096 PyObject
* obj5
= 0 ;
20097 PyObject
* obj6
= 0 ;
20098 PyObject
* obj7
= 0 ;
20099 PyObject
* obj8
= 0 ;
20100 char * kwnames
[] = {
20101 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20106 if (!SWIG_IsOK(res1
)) {
20107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20112 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20116 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20118 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20119 if (!SWIG_IsOK(res4
)) {
20120 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20122 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20125 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20129 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20132 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20133 if (!SWIG_IsOK(ecode7
)) {
20134 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20136 arg7
= static_cast< int >(val7
);
20139 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20140 if (!SWIG_IsOK(ecode8
)) {
20141 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20143 arg8
= static_cast< bool >(val8
);
20148 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20166 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
= 0;
20168 wxDC
*arg1
= (wxDC
*) 0 ;
20169 wxRect
*arg2
= (wxRect
*) NULL
;
20170 SwigValueWrapper
<wxBitmap
> result
;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char * kwnames
[] = {
20178 (char *) "self",(char *) "subrect", NULL
20181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20183 if (!SWIG_IsOK(res1
)) {
20184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20189 if (!SWIG_IsOK(res2
)) {
20190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20192 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20207 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
= 0;
20209 wxDC
*arg1
= (wxDC
*) 0 ;
20224 PyObject
* obj0
= 0 ;
20225 PyObject
* obj1
= 0 ;
20226 PyObject
* obj2
= 0 ;
20227 PyObject
* obj3
= 0 ;
20228 PyObject
* obj4
= 0 ;
20229 char * kwnames
[] = {
20230 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20235 if (!SWIG_IsOK(res1
)) {
20236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20240 if (!SWIG_IsOK(ecode2
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20243 arg2
= static_cast< int >(val2
);
20244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20245 if (!SWIG_IsOK(ecode3
)) {
20246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20248 arg3
= static_cast< int >(val3
);
20249 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20250 if (!SWIG_IsOK(ecode4
)) {
20251 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20253 arg4
= static_cast< int >(val4
);
20254 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20255 if (!SWIG_IsOK(ecode5
)) {
20256 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20258 arg5
= static_cast< int >(val5
);
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= SWIG_Py_Void();
20272 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
= 0;
20274 wxDC
*arg1
= (wxDC
*) 0 ;
20275 wxPoint
*arg2
= 0 ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 PyObject
* obj2
= 0 ;
20284 char * kwnames
[] = {
20285 (char *) "self",(char *) "pt",(char *) "sz", NULL
20288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20290 if (!SWIG_IsOK(res1
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20300 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_Py_Void();
20315 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
= 0;
20317 wxDC
*arg1
= (wxDC
*) 0 ;
20318 wxRegion
*arg2
= 0 ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 char * kwnames
[] = {
20326 (char *) "self",(char *) "region", NULL
20329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20336 if (!SWIG_IsOK(res2
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20342 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= SWIG_Py_Void();
20356 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
= 0;
20358 wxDC
*arg1
= (wxDC
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char * kwnames
[] = {
20366 (char *) "self",(char *) "rect", NULL
20369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20371 if (!SWIG_IsOK(res1
)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= SWIG_Py_Void();
20392 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
= 0;
20394 wxDC
*arg1
= (wxDC
*) 0 ;
20396 wxPoint
*arg3
= (wxPoint
*) 0 ;
20397 int arg4
= (int) 0 ;
20398 int arg5
= (int) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 PyObject
* obj2
= 0 ;
20408 PyObject
* obj3
= 0 ;
20409 char * kwnames
[] = {
20410 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20420 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20421 if (arg3
== NULL
) SWIG_fail
;
20424 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20425 if (!SWIG_IsOK(ecode4
)) {
20426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20428 arg4
= static_cast< int >(val4
);
20431 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20432 if (!SWIG_IsOK(ecode5
)) {
20433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20435 arg5
= static_cast< int >(val5
);
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_Py_Void();
20445 if (arg3
) delete [] arg3
;
20450 if (arg3
) delete [] arg3
;
20456 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
= 0;
20458 wxDC
*arg1
= (wxDC
*) 0 ;
20460 wxPoint
*arg3
= (wxPoint
*) 0 ;
20461 int arg4
= (int) 0 ;
20462 int arg5
= (int) 0 ;
20463 int arg6
= (int) wxODDEVEN_RULE
;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20474 PyObject
* obj2
= 0 ;
20475 PyObject
* obj3
= 0 ;
20476 PyObject
* obj4
= 0 ;
20477 char * kwnames
[] = {
20478 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20483 if (!SWIG_IsOK(res1
)) {
20484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20488 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20489 if (arg3
== NULL
) SWIG_fail
;
20492 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20493 if (!SWIG_IsOK(ecode4
)) {
20494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20496 arg4
= static_cast< int >(val4
);
20499 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20500 if (!SWIG_IsOK(ecode5
)) {
20501 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20503 arg5
= static_cast< int >(val5
);
20506 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20507 if (!SWIG_IsOK(ecode6
)) {
20508 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20510 arg6
= static_cast< int >(val6
);
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_Py_Void();
20520 if (arg3
) delete [] arg3
;
20525 if (arg3
) delete [] arg3
;
20531 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
= 0;
20533 wxDC
*arg1
= (wxDC
*) 0 ;
20534 wxString
*arg2
= 0 ;
20536 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20537 int arg5
= (int) -1 ;
20540 bool temp2
= false ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 PyObject
* obj2
= 0 ;
20549 PyObject
* obj3
= 0 ;
20550 PyObject
* obj4
= 0 ;
20551 char * kwnames
[] = {
20552 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20557 if (!SWIG_IsOK(res1
)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20562 arg2
= wxString_in_helper(obj1
);
20563 if (arg2
== NULL
) SWIG_fail
;
20568 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20571 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20572 if (!SWIG_IsOK(ecode4
)) {
20573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20575 arg4
= static_cast< int >(val4
);
20578 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20579 if (!SWIG_IsOK(ecode5
)) {
20580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20582 arg5
= static_cast< int >(val5
);
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_Py_Void();
20605 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
= 0;
20607 wxDC
*arg1
= (wxDC
*) 0 ;
20608 wxString
*arg2
= 0 ;
20609 wxBitmap
*arg3
= 0 ;
20611 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20612 int arg6
= (int) -1 ;
20616 bool temp2
= false ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 PyObject
* obj2
= 0 ;
20627 PyObject
* obj3
= 0 ;
20628 PyObject
* obj4
= 0 ;
20629 PyObject
* obj5
= 0 ;
20630 char * kwnames
[] = {
20631 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20641 arg2
= wxString_in_helper(obj1
);
20642 if (arg2
== NULL
) SWIG_fail
;
20645 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20646 if (!SWIG_IsOK(res3
)) {
20647 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20652 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20655 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20658 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20659 if (!SWIG_IsOK(ecode5
)) {
20660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20662 arg5
= static_cast< int >(val5
);
20665 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20666 if (!SWIG_IsOK(ecode6
)) {
20667 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20669 arg6
= static_cast< int >(val6
);
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20692 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
= 0;
20694 wxDC
*arg1
= (wxDC
*) 0 ;
20696 wxPoint
*arg3
= (wxPoint
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 PyObject
* obj1
= 0 ;
20701 char * kwnames
[] = {
20702 (char *) "self",(char *) "points", NULL
20705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20707 if (!SWIG_IsOK(res1
)) {
20708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20712 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20713 if (arg3
== NULL
) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 (arg1
)->DrawSpline(arg2
,arg3
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_Py_Void();
20723 if (arg3
) delete [] arg3
;
20728 if (arg3
) delete [] arg3
;
20734 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20735 PyObject
*resultobj
= 0;
20736 wxDC
*arg1
= (wxDC
*) 0 ;
20739 PyObject
*swig_obj
[1] ;
20741 if (!args
) SWIG_fail
;
20742 swig_obj
[0] = args
;
20743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20744 if (!SWIG_IsOK(res1
)) {
20745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_Py_Void();
20761 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
= 0;
20763 wxDC
*arg1
= (wxDC
*) 0 ;
20764 wxString
*arg2
= 0 ;
20768 bool temp2
= false ;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char * kwnames
[] = {
20772 (char *) "self",(char *) "message", NULL
20775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20782 arg2
= wxString_in_helper(obj1
);
20783 if (arg2
== NULL
) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20809 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20810 PyObject
*resultobj
= 0;
20811 wxDC
*arg1
= (wxDC
*) 0 ;
20814 PyObject
*swig_obj
[1] ;
20816 if (!args
) SWIG_fail
;
20817 swig_obj
[0] = args
;
20818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20819 if (!SWIG_IsOK(res1
)) {
20820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= SWIG_Py_Void();
20836 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20837 PyObject
*resultobj
= 0;
20838 wxDC
*arg1
= (wxDC
*) 0 ;
20841 PyObject
*swig_obj
[1] ;
20843 if (!args
) SWIG_fail
;
20844 swig_obj
[0] = args
;
20845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20846 if (!SWIG_IsOK(res1
)) {
20847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 (arg1
)->StartPage();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_Py_Void();
20863 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20864 PyObject
*resultobj
= 0;
20865 wxDC
*arg1
= (wxDC
*) 0 ;
20868 PyObject
*swig_obj
[1] ;
20870 if (!args
) SWIG_fail
;
20871 swig_obj
[0] = args
;
20872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20873 if (!SWIG_IsOK(res1
)) {
20874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_Py_Void();
20890 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
= 0;
20892 wxDC
*arg1
= (wxDC
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 PyObject
* obj1
= 0 ;
20900 char * kwnames
[] = {
20901 (char *) "self",(char *) "font", NULL
20904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20906 if (!SWIG_IsOK(res1
)) {
20907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20911 if (!SWIG_IsOK(res2
)) {
20912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20917 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 (arg1
)->SetFont((wxFont
const &)*arg2
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_Py_Void();
20931 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
= 0;
20933 wxDC
*arg1
= (wxDC
*) 0 ;
20939 PyObject
* obj0
= 0 ;
20940 PyObject
* obj1
= 0 ;
20941 char * kwnames
[] = {
20942 (char *) "self",(char *) "pen", NULL
20945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20952 if (!SWIG_IsOK(res2
)) {
20953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20958 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 (arg1
)->SetPen((wxPen
const &)*arg2
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_Py_Void();
20972 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
= 0;
20974 wxDC
*arg1
= (wxDC
*) 0 ;
20975 wxBrush
*arg2
= 0 ;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 char * kwnames
[] = {
20983 (char *) "self",(char *) "brush", NULL
20986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20988 if (!SWIG_IsOK(res1
)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20993 if (!SWIG_IsOK(res2
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20999 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= SWIG_Py_Void();
21013 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
= 0;
21015 wxDC
*arg1
= (wxDC
*) 0 ;
21016 wxBrush
*arg2
= 0 ;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char * kwnames
[] = {
21024 (char *) "self",(char *) "brush", NULL
21027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21029 if (!SWIG_IsOK(res1
)) {
21030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21034 if (!SWIG_IsOK(res2
)) {
21035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21040 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_Py_Void();
21054 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
= 0;
21056 wxDC
*arg1
= (wxDC
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char * kwnames
[] = {
21065 (char *) "self",(char *) "mode", NULL
21068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21070 if (!SWIG_IsOK(res1
)) {
21071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21075 if (!SWIG_IsOK(ecode2
)) {
21076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21078 arg2
= static_cast< int >(val2
);
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 (arg1
)->SetBackgroundMode(arg2
);
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= SWIG_Py_Void();
21092 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
= 0;
21094 wxDC
*arg1
= (wxDC
*) 0 ;
21095 wxPalette
*arg2
= 0 ;
21100 PyObject
* obj0
= 0 ;
21101 PyObject
* obj1
= 0 ;
21102 char * kwnames
[] = {
21103 (char *) "self",(char *) "palette", NULL
21106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21108 if (!SWIG_IsOK(res1
)) {
21109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21113 if (!SWIG_IsOK(res2
)) {
21114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21119 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_Py_Void();
21133 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21134 PyObject
*resultobj
= 0;
21135 wxDC
*arg1
= (wxDC
*) 0 ;
21138 PyObject
*swig_obj
[1] ;
21140 if (!args
) SWIG_fail
;
21141 swig_obj
[0] = args
;
21142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21143 if (!SWIG_IsOK(res1
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 (arg1
)->DestroyClippingRegion();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_Py_Void();
21160 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21161 PyObject
*resultobj
= 0;
21162 wxDC
*arg1
= (wxDC
*) 0 ;
21163 int *arg2
= (int *) 0 ;
21164 int *arg3
= (int *) 0 ;
21165 int *arg4
= (int *) 0 ;
21166 int *arg5
= (int *) 0 ;
21170 int res2
= SWIG_TMPOBJ
;
21172 int res3
= SWIG_TMPOBJ
;
21174 int res4
= SWIG_TMPOBJ
;
21176 int res5
= SWIG_TMPOBJ
;
21177 PyObject
*swig_obj
[1] ;
21183 if (!args
) SWIG_fail
;
21184 swig_obj
[0] = args
;
21185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21186 if (!SWIG_IsOK(res1
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= SWIG_Py_Void();
21197 if (SWIG_IsTmpObj(res2
)) {
21198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21200 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21203 if (SWIG_IsTmpObj(res3
)) {
21204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21206 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21209 if (SWIG_IsTmpObj(res4
)) {
21210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21212 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21215 if (SWIG_IsTmpObj(res5
)) {
21216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21218 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21227 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21228 PyObject
*resultobj
= 0;
21229 wxDC
*arg1
= (wxDC
*) 0 ;
21233 PyObject
*swig_obj
[1] ;
21235 if (!args
) SWIG_fail
;
21236 swig_obj
[0] = args
;
21237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21238 if (!SWIG_IsOK(res1
)) {
21239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= wxDC_GetClippingRect(arg1
);
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21255 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21256 PyObject
*resultobj
= 0;
21257 wxDC
*arg1
= (wxDC
*) 0 ;
21261 PyObject
*swig_obj
[1] ;
21263 if (!args
) SWIG_fail
;
21264 swig_obj
[0] = args
;
21265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21266 if (!SWIG_IsOK(res1
)) {
21267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_From_int(static_cast< int >(result
));
21283 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21284 PyObject
*resultobj
= 0;
21285 wxDC
*arg1
= (wxDC
*) 0 ;
21289 PyObject
*swig_obj
[1] ;
21291 if (!args
) SWIG_fail
;
21292 swig_obj
[0] = args
;
21293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21294 if (!SWIG_IsOK(res1
)) {
21295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_From_int(static_cast< int >(result
));
21311 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
= 0;
21313 wxDC
*arg1
= (wxDC
*) 0 ;
21314 wxString
*arg2
= 0 ;
21315 int *arg3
= (int *) 0 ;
21316 int *arg4
= (int *) 0 ;
21319 bool temp2
= false ;
21321 int res3
= SWIG_TMPOBJ
;
21323 int res4
= SWIG_TMPOBJ
;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char * kwnames
[] = {
21327 (char *) "self",(char *) "string", NULL
21332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21334 if (!SWIG_IsOK(res1
)) {
21335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21339 arg2
= wxString_in_helper(obj1
);
21340 if (arg2
== NULL
) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_Py_Void();
21350 if (SWIG_IsTmpObj(res3
)) {
21351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21353 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21356 if (SWIG_IsTmpObj(res4
)) {
21357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21359 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21376 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
= 0;
21378 wxDC
*arg1
= (wxDC
*) 0 ;
21379 wxString
*arg2
= 0 ;
21380 int *arg3
= (int *) 0 ;
21381 int *arg4
= (int *) 0 ;
21382 int *arg5
= (int *) 0 ;
21383 int *arg6
= (int *) 0 ;
21384 wxFont
*arg7
= (wxFont
*) NULL
;
21387 bool temp2
= false ;
21389 int res3
= SWIG_TMPOBJ
;
21391 int res4
= SWIG_TMPOBJ
;
21393 int res5
= SWIG_TMPOBJ
;
21395 int res6
= SWIG_TMPOBJ
;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 PyObject
* obj2
= 0 ;
21401 char * kwnames
[] = {
21402 (char *) "self",(char *) "string",(char *) "font", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21416 arg2
= wxString_in_helper(obj1
);
21417 if (arg2
== NULL
) SWIG_fail
;
21421 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21422 if (!SWIG_IsOK(res7
)) {
21423 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21425 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_Py_Void();
21434 if (SWIG_IsTmpObj(res3
)) {
21435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21437 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21440 if (SWIG_IsTmpObj(res4
)) {
21441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21443 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21446 if (SWIG_IsTmpObj(res5
)) {
21447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21449 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21452 if (SWIG_IsTmpObj(res6
)) {
21453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21455 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21472 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
= 0;
21474 wxDC
*arg1
= (wxDC
*) 0 ;
21475 wxString
*arg2
= 0 ;
21476 int *arg3
= (int *) 0 ;
21477 int *arg4
= (int *) 0 ;
21478 int *arg5
= (int *) 0 ;
21479 wxFont
*arg6
= (wxFont
*) NULL
;
21482 bool temp2
= false ;
21484 int res3
= SWIG_TMPOBJ
;
21486 int res4
= SWIG_TMPOBJ
;
21488 int res5
= SWIG_TMPOBJ
;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 PyObject
* obj2
= 0 ;
21494 char * kwnames
[] = {
21495 (char *) "self",(char *) "text",(char *) "font", NULL
21501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21503 if (!SWIG_IsOK(res1
)) {
21504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21508 arg2
= wxString_in_helper(obj1
);
21509 if (arg2
== NULL
) SWIG_fail
;
21513 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21514 if (!SWIG_IsOK(res6
)) {
21515 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21517 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_Py_Void();
21526 if (SWIG_IsTmpObj(res3
)) {
21527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21529 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21532 if (SWIG_IsTmpObj(res4
)) {
21533 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21535 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21538 if (SWIG_IsTmpObj(res5
)) {
21539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21541 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21558 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
= 0;
21560 wxDC
*arg1
= (wxDC
*) 0 ;
21561 wxString
*arg2
= 0 ;
21565 bool temp2
= false ;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "self",(char *) "text", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21579 arg2
= wxString_in_helper(obj1
);
21580 if (arg2
== NULL
) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= wxArrayInt2PyList_helper(result
);
21606 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21607 PyObject
*resultobj
= 0;
21608 wxDC
*arg1
= (wxDC
*) 0 ;
21612 PyObject
*swig_obj
[1] ;
21614 if (!args
) SWIG_fail
;
21615 swig_obj
[0] = args
;
21616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21617 if (!SWIG_IsOK(res1
)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (arg1
)->GetSize();
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21634 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21635 PyObject
*resultobj
= 0;
21636 wxDC
*arg1
= (wxDC
*) 0 ;
21637 int *arg2
= (int *) 0 ;
21638 int *arg3
= (int *) 0 ;
21642 int res2
= SWIG_TMPOBJ
;
21644 int res3
= SWIG_TMPOBJ
;
21645 PyObject
*swig_obj
[1] ;
21649 if (!args
) SWIG_fail
;
21650 swig_obj
[0] = args
;
21651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21652 if (!SWIG_IsOK(res1
)) {
21653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 (arg1
)->GetSize(arg2
,arg3
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_Py_Void();
21663 if (SWIG_IsTmpObj(res2
)) {
21664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21666 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21669 if (SWIG_IsTmpObj(res3
)) {
21670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21672 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21681 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21682 PyObject
*resultobj
= 0;
21683 wxDC
*arg1
= (wxDC
*) 0 ;
21687 PyObject
*swig_obj
[1] ;
21689 if (!args
) SWIG_fail
;
21690 swig_obj
[0] = args
;
21691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21692 if (!SWIG_IsOK(res1
)) {
21693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21709 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21710 PyObject
*resultobj
= 0;
21711 wxDC
*arg1
= (wxDC
*) 0 ;
21712 int *arg2
= (int *) 0 ;
21713 int *arg3
= (int *) 0 ;
21717 int res2
= SWIG_TMPOBJ
;
21719 int res3
= SWIG_TMPOBJ
;
21720 PyObject
*swig_obj
[1] ;
21724 if (!args
) SWIG_fail
;
21725 swig_obj
[0] = args
;
21726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_Py_Void();
21738 if (SWIG_IsTmpObj(res2
)) {
21739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21741 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21744 if (SWIG_IsTmpObj(res3
)) {
21745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21747 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21756 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
= 0;
21758 wxDC
*arg1
= (wxDC
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 char * kwnames
[] = {
21768 (char *) "self",(char *) "x", NULL
21771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21773 if (!SWIG_IsOK(res1
)) {
21774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21778 if (!SWIG_IsOK(ecode2
)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21781 arg2
= static_cast< int >(val2
);
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_From_int(static_cast< int >(result
));
21795 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
= 0;
21797 wxDC
*arg1
= (wxDC
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char * kwnames
[] = {
21807 (char *) "self",(char *) "y", NULL
21810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21812 if (!SWIG_IsOK(res1
)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21817 if (!SWIG_IsOK(ecode2
)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21820 arg2
= static_cast< int >(val2
);
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= SWIG_From_int(static_cast< int >(result
));
21834 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
= 0;
21836 wxDC
*arg1
= (wxDC
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char * kwnames
[] = {
21846 (char *) "self",(char *) "x", NULL
21849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21856 if (!SWIG_IsOK(ecode2
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21859 arg2
= static_cast< int >(val2
);
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_From_int(static_cast< int >(result
));
21873 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
= 0;
21875 wxDC
*arg1
= (wxDC
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 char * kwnames
[] = {
21885 (char *) "self",(char *) "y", NULL
21888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21890 if (!SWIG_IsOK(res1
)) {
21891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21893 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21895 if (!SWIG_IsOK(ecode2
)) {
21896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21898 arg2
= static_cast< int >(val2
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_From_int(static_cast< int >(result
));
21912 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
= 0;
21914 wxDC
*arg1
= (wxDC
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char * kwnames
[] = {
21924 (char *) "self",(char *) "x", NULL
21927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21929 if (!SWIG_IsOK(res1
)) {
21930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21934 if (!SWIG_IsOK(ecode2
)) {
21935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21937 arg2
= static_cast< int >(val2
);
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= SWIG_From_int(static_cast< int >(result
));
21951 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
= 0;
21953 wxDC
*arg1
= (wxDC
*) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 char * kwnames
[] = {
21963 (char *) "self",(char *) "y", NULL
21966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21968 if (!SWIG_IsOK(res1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21973 if (!SWIG_IsOK(ecode2
)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21976 arg2
= static_cast< int >(val2
);
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_From_int(static_cast< int >(result
));
21990 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
= 0;
21992 wxDC
*arg1
= (wxDC
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char * kwnames
[] = {
22002 (char *) "self",(char *) "x", NULL
22005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22012 if (!SWIG_IsOK(ecode2
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22015 arg2
= static_cast< int >(val2
);
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= SWIG_From_int(static_cast< int >(result
));
22029 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
= 0;
22031 wxDC
*arg1
= (wxDC
*) 0 ;
22038 PyObject
* obj0
= 0 ;
22039 PyObject
* obj1
= 0 ;
22040 char * kwnames
[] = {
22041 (char *) "self",(char *) "y", NULL
22044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22051 if (!SWIG_IsOK(ecode2
)) {
22052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22054 arg2
= static_cast< int >(val2
);
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= SWIG_From_int(static_cast< int >(result
));
22068 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22069 PyObject
*resultobj
= 0;
22070 wxDC
*arg1
= (wxDC
*) 0 ;
22074 PyObject
*swig_obj
[1] ;
22076 if (!args
) SWIG_fail
;
22077 swig_obj
[0] = args
;
22078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22079 if (!SWIG_IsOK(res1
)) {
22080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22098 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 PyObject
*resultobj
= 0;
22100 wxDC
*arg1
= (wxDC
*) 0 ;
22104 PyObject
*swig_obj
[1] ;
22106 if (!args
) SWIG_fail
;
22107 swig_obj
[0] = args
;
22108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22109 if (!SWIG_IsOK(res1
)) {
22110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22128 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22129 PyObject
*resultobj
= 0;
22130 wxDC
*arg1
= (wxDC
*) 0 ;
22134 PyObject
*swig_obj
[1] ;
22136 if (!args
) SWIG_fail
;
22137 swig_obj
[0] = args
;
22138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22139 if (!SWIG_IsOK(res1
)) {
22140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= SWIG_From_int(static_cast< int >(result
));
22156 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22157 PyObject
*resultobj
= 0;
22158 wxDC
*arg1
= (wxDC
*) 0 ;
22162 PyObject
*swig_obj
[1] ;
22164 if (!args
) SWIG_fail
;
22165 swig_obj
[0] = args
;
22166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= ((wxDC
const *)arg1
)->GetPPI();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22184 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 PyObject
*resultobj
= 0;
22186 wxDC
*arg1
= (wxDC
*) 0 ;
22190 PyObject
*swig_obj
[1] ;
22192 if (!args
) SWIG_fail
;
22193 swig_obj
[0] = args
;
22194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22214 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22215 PyObject
*resultobj
= 0;
22216 wxDC
*arg1
= (wxDC
*) 0 ;
22220 PyObject
*swig_obj
[1] ;
22222 if (!args
) SWIG_fail
;
22223 swig_obj
[0] = args
;
22224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22225 if (!SWIG_IsOK(res1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= SWIG_From_int(static_cast< int >(result
));
22242 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22243 PyObject
*resultobj
= 0;
22244 wxDC
*arg1
= (wxDC
*) 0 ;
22245 wxBrush
*result
= 0 ;
22248 PyObject
*swig_obj
[1] ;
22250 if (!args
) SWIG_fail
;
22251 swig_obj
[0] = args
;
22252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22253 if (!SWIG_IsOK(res1
)) {
22254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22261 result
= (wxBrush
*) &_result_ref
;
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22267 wxBrush
* resultptr
= new wxBrush(*result
);
22268 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22276 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22277 PyObject
*resultobj
= 0;
22278 wxDC
*arg1
= (wxDC
*) 0 ;
22279 wxBrush
*result
= 0 ;
22282 PyObject
*swig_obj
[1] ;
22284 if (!args
) SWIG_fail
;
22285 swig_obj
[0] = args
;
22286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22287 if (!SWIG_IsOK(res1
)) {
22288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22290 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22295 result
= (wxBrush
*) &_result_ref
;
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 wxBrush
* resultptr
= new wxBrush(*result
);
22302 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22310 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22311 PyObject
*resultobj
= 0;
22312 wxDC
*arg1
= (wxDC
*) 0 ;
22313 wxFont
*result
= 0 ;
22316 PyObject
*swig_obj
[1] ;
22318 if (!args
) SWIG_fail
;
22319 swig_obj
[0] = args
;
22320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22321 if (!SWIG_IsOK(res1
)) {
22322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22329 result
= (wxFont
*) &_result_ref
;
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 wxFont
* resultptr
= new wxFont(*result
);
22336 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22344 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22345 PyObject
*resultobj
= 0;
22346 wxDC
*arg1
= (wxDC
*) 0 ;
22347 wxPen
*result
= 0 ;
22350 PyObject
*swig_obj
[1] ;
22352 if (!args
) SWIG_fail
;
22353 swig_obj
[0] = args
;
22354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22355 if (!SWIG_IsOK(res1
)) {
22356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22363 result
= (wxPen
*) &_result_ref
;
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22369 wxPen
* resultptr
= new wxPen(*result
);
22370 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22378 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22379 PyObject
*resultobj
= 0;
22380 wxDC
*arg1
= (wxDC
*) 0 ;
22381 wxColour
*result
= 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22397 result
= (wxColour
*) &_result_ref
;
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22409 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 PyObject
*resultobj
= 0;
22411 wxDC
*arg1
= (wxDC
*) 0 ;
22412 wxColour
*result
= 0 ;
22415 PyObject
*swig_obj
[1] ;
22417 if (!args
) SWIG_fail
;
22418 swig_obj
[0] = args
;
22419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22420 if (!SWIG_IsOK(res1
)) {
22421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22428 result
= (wxColour
*) &_result_ref
;
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22440 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
= 0;
22442 wxDC
*arg1
= (wxDC
*) 0 ;
22443 wxColour
*arg2
= 0 ;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 char * kwnames
[] = {
22450 (char *) "self",(char *) "colour", NULL
22453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= SWIG_Py_Void();
22476 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
= 0;
22478 wxDC
*arg1
= (wxDC
*) 0 ;
22479 wxColour
*arg2
= 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 char * kwnames
[] = {
22486 (char *) "self",(char *) "colour", NULL
22489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22491 if (!SWIG_IsOK(res1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22497 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_Py_Void();
22512 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22513 PyObject
*resultobj
= 0;
22514 wxDC
*arg1
= (wxDC
*) 0 ;
22518 PyObject
*swig_obj
[1] ;
22520 if (!args
) SWIG_fail
;
22521 swig_obj
[0] = args
;
22522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22523 if (!SWIG_IsOK(res1
)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= SWIG_From_int(static_cast< int >(result
));
22540 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
= 0;
22542 wxDC
*arg1
= (wxDC
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 char * kwnames
[] = {
22551 (char *) "self",(char *) "mode", NULL
22554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22556 if (!SWIG_IsOK(res1
)) {
22557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22561 if (!SWIG_IsOK(ecode2
)) {
22562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22564 arg2
= static_cast< int >(val2
);
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 (arg1
)->SetMapMode(arg2
);
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= SWIG_Py_Void();
22578 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22579 PyObject
*resultobj
= 0;
22580 wxDC
*arg1
= (wxDC
*) 0 ;
22581 double *arg2
= (double *) 0 ;
22582 double *arg3
= (double *) 0 ;
22586 int res2
= SWIG_TMPOBJ
;
22588 int res3
= SWIG_TMPOBJ
;
22589 PyObject
*swig_obj
[1] ;
22593 if (!args
) SWIG_fail
;
22594 swig_obj
[0] = args
;
22595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22596 if (!SWIG_IsOK(res1
)) {
22597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= SWIG_Py_Void();
22607 if (SWIG_IsTmpObj(res2
)) {
22608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22610 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22613 if (SWIG_IsTmpObj(res3
)) {
22614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22616 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22625 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
= 0;
22627 wxDC
*arg1
= (wxDC
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 PyObject
* obj2
= 0 ;
22639 char * kwnames
[] = {
22640 (char *) "self",(char *) "x",(char *) "y", NULL
22643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22645 if (!SWIG_IsOK(res1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22649 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22650 if (!SWIG_IsOK(ecode2
)) {
22651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22653 arg2
= static_cast< double >(val2
);
22654 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22655 if (!SWIG_IsOK(ecode3
)) {
22656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22658 arg3
= static_cast< double >(val3
);
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 (arg1
)->SetUserScale(arg2
,arg3
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= SWIG_Py_Void();
22672 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22673 PyObject
*resultobj
= 0;
22674 wxDC
*arg1
= (wxDC
*) 0 ;
22675 double *arg2
= (double *) 0 ;
22676 double *arg3
= (double *) 0 ;
22680 int res2
= SWIG_TMPOBJ
;
22682 int res3
= SWIG_TMPOBJ
;
22683 PyObject
*swig_obj
[1] ;
22687 if (!args
) SWIG_fail
;
22688 swig_obj
[0] = args
;
22689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 (arg1
)->GetLogicalScale(arg2
,arg3
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= SWIG_Py_Void();
22701 if (SWIG_IsTmpObj(res2
)) {
22702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22704 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22707 if (SWIG_IsTmpObj(res3
)) {
22708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22710 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22719 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
= 0;
22721 wxDC
*arg1
= (wxDC
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22732 PyObject
* obj2
= 0 ;
22733 char * kwnames
[] = {
22734 (char *) "self",(char *) "x",(char *) "y", NULL
22737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22739 if (!SWIG_IsOK(res1
)) {
22740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22743 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22744 if (!SWIG_IsOK(ecode2
)) {
22745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22747 arg2
= static_cast< double >(val2
);
22748 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22749 if (!SWIG_IsOK(ecode3
)) {
22750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22752 arg3
= static_cast< double >(val3
);
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 (arg1
)->SetLogicalScale(arg2
,arg3
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_Py_Void();
22766 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22767 PyObject
*resultobj
= 0;
22768 wxDC
*arg1
= (wxDC
*) 0 ;
22772 PyObject
*swig_obj
[1] ;
22774 if (!args
) SWIG_fail
;
22775 swig_obj
[0] = args
;
22776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22777 if (!SWIG_IsOK(res1
)) {
22778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22794 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22795 PyObject
*resultobj
= 0;
22796 wxDC
*arg1
= (wxDC
*) 0 ;
22797 int *arg2
= (int *) 0 ;
22798 int *arg3
= (int *) 0 ;
22802 int res2
= SWIG_TMPOBJ
;
22804 int res3
= SWIG_TMPOBJ
;
22805 PyObject
*swig_obj
[1] ;
22809 if (!args
) SWIG_fail
;
22810 swig_obj
[0] = args
;
22811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22812 if (!SWIG_IsOK(res1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_Py_Void();
22823 if (SWIG_IsTmpObj(res2
)) {
22824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22826 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22829 if (SWIG_IsTmpObj(res3
)) {
22830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22832 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22841 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
= 0;
22843 wxDC
*arg1
= (wxDC
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 PyObject
* obj2
= 0 ;
22855 char * kwnames
[] = {
22856 (char *) "self",(char *) "x",(char *) "y", NULL
22859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22861 if (!SWIG_IsOK(res1
)) {
22862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22866 if (!SWIG_IsOK(ecode2
)) {
22867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22869 arg2
= static_cast< int >(val2
);
22870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22871 if (!SWIG_IsOK(ecode3
)) {
22872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22874 arg3
= static_cast< int >(val3
);
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= SWIG_Py_Void();
22888 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
= 0;
22890 wxDC
*arg1
= (wxDC
*) 0 ;
22891 wxPoint
*arg2
= 0 ;
22895 PyObject
* obj0
= 0 ;
22896 PyObject
* obj1
= 0 ;
22897 char * kwnames
[] = {
22898 (char *) "self",(char *) "point", NULL
22901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_Py_Void();
22924 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22925 PyObject
*resultobj
= 0;
22926 wxDC
*arg1
= (wxDC
*) 0 ;
22930 PyObject
*swig_obj
[1] ;
22932 if (!args
) SWIG_fail
;
22933 swig_obj
[0] = args
;
22934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22935 if (!SWIG_IsOK(res1
)) {
22936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22952 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 PyObject
*resultobj
= 0;
22954 wxDC
*arg1
= (wxDC
*) 0 ;
22955 int *arg2
= (int *) 0 ;
22956 int *arg3
= (int *) 0 ;
22960 int res2
= SWIG_TMPOBJ
;
22962 int res3
= SWIG_TMPOBJ
;
22963 PyObject
*swig_obj
[1] ;
22967 if (!args
) SWIG_fail
;
22968 swig_obj
[0] = args
;
22969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_Py_Void();
22981 if (SWIG_IsTmpObj(res2
)) {
22982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22984 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22987 if (SWIG_IsTmpObj(res3
)) {
22988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22990 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22999 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
= 0;
23001 wxDC
*arg1
= (wxDC
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 PyObject
* obj1
= 0 ;
23012 PyObject
* obj2
= 0 ;
23013 char * kwnames
[] = {
23014 (char *) "self",(char *) "x",(char *) "y", NULL
23017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23019 if (!SWIG_IsOK(res1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23024 if (!SWIG_IsOK(ecode2
)) {
23025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23027 arg2
= static_cast< int >(val2
);
23028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23029 if (!SWIG_IsOK(ecode3
)) {
23030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23032 arg3
= static_cast< int >(val3
);
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_Py_Void();
23046 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
= 0;
23048 wxDC
*arg1
= (wxDC
*) 0 ;
23049 wxPoint
*arg2
= 0 ;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23055 char * kwnames
[] = {
23056 (char *) "self",(char *) "point", NULL
23059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23061 if (!SWIG_IsOK(res1
)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_Py_Void();
23082 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
= 0;
23084 wxDC
*arg1
= (wxDC
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 PyObject
* obj2
= 0 ;
23096 char * kwnames
[] = {
23097 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23106 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23107 if (!SWIG_IsOK(ecode2
)) {
23108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23110 arg2
= static_cast< bool >(val2
);
23111 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23112 if (!SWIG_IsOK(ecode3
)) {
23113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23115 arg3
= static_cast< bool >(val3
);
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_Py_Void();
23129 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23130 PyObject
*resultobj
= 0;
23131 wxDC
*arg1
= (wxDC
*) 0 ;
23135 PyObject
*swig_obj
[1] ;
23137 if (!args
) SWIG_fail
;
23138 swig_obj
[0] = args
;
23139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23140 if (!SWIG_IsOK(res1
)) {
23141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= SWIG_From_int(static_cast< int >(result
));
23157 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
= 0;
23159 wxDC
*arg1
= (wxDC
*) 0 ;
23165 PyObject
* obj0
= 0 ;
23166 PyObject
* obj1
= 0 ;
23167 char * kwnames
[] = {
23168 (char *) "self",(char *) "function", NULL
23171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23178 if (!SWIG_IsOK(ecode2
)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23181 arg2
= static_cast< int >(val2
);
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 (arg1
)->SetLogicalFunction(arg2
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_Py_Void();
23195 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23196 PyObject
*resultobj
= 0;
23197 wxDC
*arg1
= (wxDC
*) 0 ;
23200 PyObject
*swig_obj
[1] ;
23202 if (!args
) SWIG_fail
;
23203 swig_obj
[0] = args
;
23204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23208 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->ComputeScaleAndOrigin();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_Py_Void();
23222 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= 0;
23224 wxDC
*arg1
= (wxDC
*) 0 ;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 PyObject
* obj2
= 0 ;
23236 char * kwnames
[] = {
23237 (char *) "self",(char *) "x",(char *) "y", NULL
23240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23242 if (!SWIG_IsOK(res1
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23247 if (!SWIG_IsOK(ecode2
)) {
23248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23250 arg2
= static_cast< int >(val2
);
23251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23252 if (!SWIG_IsOK(ecode3
)) {
23253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23255 arg3
= static_cast< int >(val3
);
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= SWIG_Py_Void();
23269 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
= 0;
23271 wxDC
*arg1
= (wxDC
*) 0 ;
23272 wxPoint
*arg2
= 0 ;
23276 PyObject
* obj0
= 0 ;
23277 PyObject
* obj1
= 0 ;
23278 char * kwnames
[] = {
23279 (char *) "self",(char *) "point", NULL
23282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23284 if (!SWIG_IsOK(res1
)) {
23285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23290 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= SWIG_Py_Void();
23305 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23306 PyObject
*resultobj
= 0;
23307 wxDC
*arg1
= (wxDC
*) 0 ;
23310 PyObject
*swig_obj
[1] ;
23312 if (!args
) SWIG_fail
;
23313 swig_obj
[0] = args
;
23314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 (arg1
)->ResetBoundingBox();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_Py_Void();
23332 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23333 PyObject
*resultobj
= 0;
23334 wxDC
*arg1
= (wxDC
*) 0 ;
23338 PyObject
*swig_obj
[1] ;
23340 if (!args
) SWIG_fail
;
23341 swig_obj
[0] = args
;
23342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23343 if (!SWIG_IsOK(res1
)) {
23344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (int)((wxDC
const *)arg1
)->MinX();
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_From_int(static_cast< int >(result
));
23360 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23361 PyObject
*resultobj
= 0;
23362 wxDC
*arg1
= (wxDC
*) 0 ;
23366 PyObject
*swig_obj
[1] ;
23368 if (!args
) SWIG_fail
;
23369 swig_obj
[0] = args
;
23370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23371 if (!SWIG_IsOK(res1
)) {
23372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (int)((wxDC
const *)arg1
)->MaxX();
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_From_int(static_cast< int >(result
));
23388 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23389 PyObject
*resultobj
= 0;
23390 wxDC
*arg1
= (wxDC
*) 0 ;
23394 PyObject
*swig_obj
[1] ;
23396 if (!args
) SWIG_fail
;
23397 swig_obj
[0] = args
;
23398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23399 if (!SWIG_IsOK(res1
)) {
23400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (int)((wxDC
const *)arg1
)->MinY();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_From_int(static_cast< int >(result
));
23416 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23417 PyObject
*resultobj
= 0;
23418 wxDC
*arg1
= (wxDC
*) 0 ;
23422 PyObject
*swig_obj
[1] ;
23424 if (!args
) SWIG_fail
;
23425 swig_obj
[0] = args
;
23426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23427 if (!SWIG_IsOK(res1
)) {
23428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (int)((wxDC
const *)arg1
)->MaxY();
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= SWIG_From_int(static_cast< int >(result
));
23444 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23445 PyObject
*resultobj
= 0;
23446 wxDC
*arg1
= (wxDC
*) 0 ;
23447 int *arg2
= (int *) 0 ;
23448 int *arg3
= (int *) 0 ;
23449 int *arg4
= (int *) 0 ;
23450 int *arg5
= (int *) 0 ;
23454 int res2
= SWIG_TMPOBJ
;
23456 int res3
= SWIG_TMPOBJ
;
23458 int res4
= SWIG_TMPOBJ
;
23460 int res5
= SWIG_TMPOBJ
;
23461 PyObject
*swig_obj
[1] ;
23467 if (!args
) SWIG_fail
;
23468 swig_obj
[0] = args
;
23469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23470 if (!SWIG_IsOK(res1
)) {
23471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= SWIG_Py_Void();
23481 if (SWIG_IsTmpObj(res2
)) {
23482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23484 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23487 if (SWIG_IsTmpObj(res3
)) {
23488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23490 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23493 if (SWIG_IsTmpObj(res4
)) {
23494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23496 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23499 if (SWIG_IsTmpObj(res5
)) {
23500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23502 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23511 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23512 PyObject
*resultobj
= 0;
23513 wxDC
*arg1
= (wxDC
*) 0 ;
23514 wxLayoutDirection result
;
23517 PyObject
*swig_obj
[1] ;
23519 if (!args
) SWIG_fail
;
23520 swig_obj
[0] = args
;
23521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23522 if (!SWIG_IsOK(res1
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_From_int(static_cast< int >(result
));
23539 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
= 0;
23541 wxDC
*arg1
= (wxDC
*) 0 ;
23542 wxLayoutDirection arg2
;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char * kwnames
[] = {
23550 (char *) "self",(char *) "dir", NULL
23553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23560 if (!SWIG_IsOK(ecode2
)) {
23561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23563 arg2
= static_cast< wxLayoutDirection
>(val2
);
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 (arg1
)->SetLayoutDirection(arg2
);
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_Py_Void();
23577 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
= 0;
23579 wxDC
*arg1
= (wxDC
*) 0 ;
23580 PyObject
*arg2
= (PyObject
*) 0 ;
23581 PyObject
*arg3
= (PyObject
*) 0 ;
23582 PyObject
*arg4
= (PyObject
*) 0 ;
23583 PyObject
*result
= 0 ;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 PyObject
* obj2
= 0 ;
23589 PyObject
* obj3
= 0 ;
23590 char * kwnames
[] = {
23591 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23596 if (!SWIG_IsOK(res1
)) {
23597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= result
;
23616 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
= 0;
23618 wxDC
*arg1
= (wxDC
*) 0 ;
23619 PyObject
*arg2
= (PyObject
*) 0 ;
23620 PyObject
*arg3
= (PyObject
*) 0 ;
23621 PyObject
*arg4
= (PyObject
*) 0 ;
23622 PyObject
*result
= 0 ;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 PyObject
* obj2
= 0 ;
23628 PyObject
* obj3
= 0 ;
23629 char * kwnames
[] = {
23630 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23635 if (!SWIG_IsOK(res1
)) {
23636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= result
;
23655 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
= 0;
23657 wxDC
*arg1
= (wxDC
*) 0 ;
23658 PyObject
*arg2
= (PyObject
*) 0 ;
23659 PyObject
*arg3
= (PyObject
*) 0 ;
23660 PyObject
*arg4
= (PyObject
*) 0 ;
23661 PyObject
*result
= 0 ;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 PyObject
* obj2
= 0 ;
23667 PyObject
* obj3
= 0 ;
23668 char * kwnames
[] = {
23669 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23674 if (!SWIG_IsOK(res1
)) {
23675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= result
;
23694 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
= 0;
23696 wxDC
*arg1
= (wxDC
*) 0 ;
23697 PyObject
*arg2
= (PyObject
*) 0 ;
23698 PyObject
*arg3
= (PyObject
*) 0 ;
23699 PyObject
*arg4
= (PyObject
*) 0 ;
23700 PyObject
*result
= 0 ;
23703 PyObject
* obj0
= 0 ;
23704 PyObject
* obj1
= 0 ;
23705 PyObject
* obj2
= 0 ;
23706 PyObject
* obj3
= 0 ;
23707 char * kwnames
[] = {
23708 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23713 if (!SWIG_IsOK(res1
)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= result
;
23733 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
= 0;
23735 wxDC
*arg1
= (wxDC
*) 0 ;
23736 PyObject
*arg2
= (PyObject
*) 0 ;
23737 PyObject
*arg3
= (PyObject
*) 0 ;
23738 PyObject
*arg4
= (PyObject
*) 0 ;
23739 PyObject
*result
= 0 ;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 PyObject
* obj2
= 0 ;
23745 PyObject
* obj3
= 0 ;
23746 char * kwnames
[] = {
23747 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23752 if (!SWIG_IsOK(res1
)) {
23753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= result
;
23772 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
= 0;
23774 wxDC
*arg1
= (wxDC
*) 0 ;
23775 PyObject
*arg2
= (PyObject
*) 0 ;
23776 PyObject
*arg3
= (PyObject
*) 0 ;
23777 PyObject
*arg4
= (PyObject
*) 0 ;
23778 PyObject
*arg5
= (PyObject
*) 0 ;
23779 PyObject
*result
= 0 ;
23782 PyObject
* obj0
= 0 ;
23783 PyObject
* obj1
= 0 ;
23784 PyObject
* obj2
= 0 ;
23785 PyObject
* obj3
= 0 ;
23786 PyObject
* obj4
= 0 ;
23787 char * kwnames
[] = {
23788 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23793 if (!SWIG_IsOK(res1
)) {
23794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= result
;
23814 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23817 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23818 return SWIG_Py_Void();
23821 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
= 0;
23824 wxColour
*arg2
= 0 ;
23825 wxDCTextColourChanger
*result
= 0 ;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 char * kwnames
[] = {
23832 (char *) "dc",(char *) "col", NULL
23835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23836 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23837 if (!SWIG_IsOK(res1
)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23861 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23862 PyObject
*resultobj
= 0;
23863 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23866 PyObject
*swig_obj
[1] ;
23868 if (!args
) SWIG_fail
;
23869 swig_obj
[0] = args
;
23870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23871 if (!SWIG_IsOK(res1
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23874 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_Py_Void();
23889 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23892 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23893 return SWIG_Py_Void();
23896 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23897 return SWIG_Python_InitShadowInstance(args
);
23900 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
= 0;
23904 wxDCPenChanger
*result
= 0 ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 char * kwnames
[] = {
23912 (char *) "dc",(char *) "pen", NULL
23915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23916 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23917 if (!SWIG_IsOK(res1
)) {
23918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23925 if (!SWIG_IsOK(res2
)) {
23926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23931 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23945 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23946 PyObject
*resultobj
= 0;
23947 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23950 PyObject
*swig_obj
[1] ;
23952 if (!args
) SWIG_fail
;
23953 swig_obj
[0] = args
;
23954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23955 if (!SWIG_IsOK(res1
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23958 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_Py_Void();
23973 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23976 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23977 return SWIG_Py_Void();
23980 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23981 return SWIG_Python_InitShadowInstance(args
);
23984 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
= 0;
23987 wxBrush
*arg2
= 0 ;
23988 wxDCBrushChanger
*result
= 0 ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 char * kwnames
[] = {
23996 (char *) "dc",(char *) "brush", NULL
23999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24000 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24001 if (!SWIG_IsOK(res1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24009 if (!SWIG_IsOK(res2
)) {
24010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24015 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24029 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24030 PyObject
*resultobj
= 0;
24031 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24034 PyObject
*swig_obj
[1] ;
24036 if (!args
) SWIG_fail
;
24037 swig_obj
[0] = args
;
24038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24039 if (!SWIG_IsOK(res1
)) {
24040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24042 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= SWIG_Py_Void();
24057 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24060 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24061 return SWIG_Py_Void();
24064 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24065 return SWIG_Python_InitShadowInstance(args
);
24068 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24069 PyObject
*resultobj
= 0;
24071 wxRegion
*arg2
= 0 ;
24072 wxDCClipper
*result
= 0 ;
24078 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24080 if (!SWIG_IsOK(res1
)) {
24081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24087 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24088 if (!SWIG_IsOK(res2
)) {
24089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24094 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24108 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24109 PyObject
*resultobj
= 0;
24112 wxDCClipper
*result
= 0 ;
24117 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24119 if (!SWIG_IsOK(res1
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24128 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24143 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24144 PyObject
*resultobj
= 0;
24150 wxDCClipper
*result
= 0 ;
24162 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24164 if (!SWIG_IsOK(res1
)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24171 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24172 if (!SWIG_IsOK(ecode2
)) {
24173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24175 arg2
= static_cast< int >(val2
);
24176 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24177 if (!SWIG_IsOK(ecode3
)) {
24178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24180 arg3
= static_cast< int >(val3
);
24181 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24182 if (!SWIG_IsOK(ecode4
)) {
24183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24185 arg4
= static_cast< int >(val4
);
24186 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24187 if (!SWIG_IsOK(ecode5
)) {
24188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24190 arg5
= static_cast< int >(val5
);
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24204 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24208 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24213 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24214 _v
= SWIG_CheckState(res
);
24216 if (!_v
) goto check_1
;
24217 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24222 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24225 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24229 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24234 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24235 PyObject
*resultobj
= 0;
24236 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24239 PyObject
*swig_obj
[1] ;
24241 if (!args
) SWIG_fail
;
24242 swig_obj
[0] = args
;
24243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24247 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_Py_Void();
24262 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24265 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24266 return SWIG_Py_Void();
24269 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24270 return SWIG_Python_InitShadowInstance(args
);
24273 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24274 PyObject
*resultobj
= 0;
24275 wxScreenDC
*result
= 0 ;
24277 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24279 if (!wxPyCheckForApp()) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (wxScreenDC
*)new wxScreenDC();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24292 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
= 0;
24294 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24295 wxWindow
*arg2
= (wxWindow
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 char * kwnames
[] = {
24304 (char *) "self",(char *) "window", NULL
24307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24309 if (!SWIG_IsOK(res1
)) {
24310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24312 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24314 if (!SWIG_IsOK(res2
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24317 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24333 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
= 0;
24335 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24336 wxRect
*arg2
= (wxRect
*) NULL
;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24344 char * kwnames
[] = {
24345 (char *) "self",(char *) "rect", NULL
24348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24350 if (!SWIG_IsOK(res1
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24353 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24356 if (!SWIG_IsOK(res2
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24359 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24376 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24377 PyObject
*resultobj
= 0;
24378 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24382 PyObject
*swig_obj
[1] ;
24384 if (!args
) SWIG_fail
;
24385 swig_obj
[0] = args
;
24386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24387 if (!SWIG_IsOK(res1
)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24390 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (bool)(arg1
)->EndDrawingOnTop();
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24406 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24409 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24410 return SWIG_Py_Void();
24413 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24414 return SWIG_Python_InitShadowInstance(args
);
24417 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
= 0;
24419 wxWindow
*arg1
= (wxWindow
*) 0 ;
24420 wxWindowDC
*result
= 0 ;
24423 PyObject
* obj0
= 0 ;
24424 char * kwnames
[] = {
24425 (char *) "win", NULL
24428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24430 if (!SWIG_IsOK(res1
)) {
24431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24433 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24435 if (!wxPyCheckForApp()) SWIG_fail
;
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24448 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24451 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24452 return SWIG_Py_Void();
24455 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24456 return SWIG_Python_InitShadowInstance(args
);
24459 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
= 0;
24461 wxWindow
*arg1
= (wxWindow
*) 0 ;
24462 wxClientDC
*result
= 0 ;
24465 PyObject
* obj0
= 0 ;
24466 char * kwnames
[] = {
24467 (char *) "win", NULL
24470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24472 if (!SWIG_IsOK(res1
)) {
24473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24475 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24477 if (!wxPyCheckForApp()) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (wxClientDC
*)new wxClientDC(arg1
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24490 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24492 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24493 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24494 return SWIG_Py_Void();
24497 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24498 return SWIG_Python_InitShadowInstance(args
);
24501 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
= 0;
24503 wxWindow
*arg1
= (wxWindow
*) 0 ;
24504 wxPaintDC
*result
= 0 ;
24507 PyObject
* obj0
= 0 ;
24508 char * kwnames
[] = {
24509 (char *) "win", NULL
24512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24514 if (!SWIG_IsOK(res1
)) {
24515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24517 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24519 if (!wxPyCheckForApp()) SWIG_fail
;
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24532 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24535 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24536 return SWIG_Py_Void();
24539 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24540 return SWIG_Python_InitShadowInstance(args
);
24543 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
= 0;
24545 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24546 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24547 wxMemoryDC
*result
= 0 ;
24550 PyObject
* obj0
= 0 ;
24551 char * kwnames
[] = {
24552 (char *) "bitmap", NULL
24555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24557 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24564 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24567 if (!wxPyCheckForApp()) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24580 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
= 0;
24582 wxDC
*arg1
= (wxDC
*) 0 ;
24583 wxMemoryDC
*result
= 0 ;
24586 PyObject
* obj0
= 0 ;
24587 char * kwnames
[] = {
24588 (char *) "oldDC", NULL
24591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24593 if (!SWIG_IsOK(res1
)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24598 if (!wxPyCheckForApp()) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24611 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
= 0;
24613 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24614 wxBitmap
*arg2
= 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 char * kwnames
[] = {
24622 (char *) "self",(char *) "bitmap", NULL
24625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24627 if (!SWIG_IsOK(res1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24630 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24632 if (!SWIG_IsOK(res2
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24638 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 (arg1
)->SelectObject(*arg2
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= SWIG_Py_Void();
24652 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
= 0;
24654 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24655 wxBitmap
*arg2
= 0 ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "self",(char *) "bmp", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24671 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24673 if (!SWIG_IsOK(res2
)) {
24674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24679 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 resultobj
= SWIG_Py_Void();
24693 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24696 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24697 return SWIG_Py_Void();
24700 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24701 return SWIG_Python_InitShadowInstance(args
);
24704 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24705 PyObject
*resultobj
= 0;
24706 wxDC
*arg1
= (wxDC
*) 0 ;
24707 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24708 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24709 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24710 wxBufferedDC
*result
= 0 ;
24718 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24720 if (!SWIG_IsOK(res1
)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24725 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24726 if (!SWIG_IsOK(res2
)) {
24727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24732 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24735 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24736 if (!SWIG_IsOK(ecode3
)) {
24737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24739 arg3
= static_cast< int >(val3
);
24742 if (!wxPyCheckForApp()) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24755 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24756 PyObject
*resultobj
= 0;
24757 wxDC
*arg1
= (wxDC
*) 0 ;
24759 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24760 wxBufferedDC
*result
= 0 ;
24767 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24775 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24778 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24779 if (!SWIG_IsOK(ecode3
)) {
24780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24782 arg3
= static_cast< int >(val3
);
24785 if (!wxPyCheckForApp()) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24798 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24802 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24804 if ((argc
>= 1) && (argc
<= 3)) {
24809 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24810 _v
= SWIG_CheckState(res
);
24812 if (!_v
) goto check_1
;
24814 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24818 if ((argc
>= 2) && (argc
<= 3)) {
24819 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24823 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24828 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24829 PyObject
*resultobj
= 0;
24830 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24833 PyObject
*swig_obj
[1] ;
24835 if (!args
) SWIG_fail
;
24836 swig_obj
[0] = args
;
24837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24841 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_Py_Void();
24856 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24857 PyObject
*resultobj
= 0;
24858 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24861 PyObject
*swig_obj
[1] ;
24863 if (!args
) SWIG_fail
;
24864 swig_obj
[0] = args
;
24865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24866 if (!SWIG_IsOK(res1
)) {
24867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24869 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 resultobj
= SWIG_Py_Void();
24883 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
= 0;
24885 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 char * kwnames
[] = {
24894 (char *) "self",(char *) "style", NULL
24897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24899 if (!SWIG_IsOK(res1
)) {
24900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24902 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24904 if (!SWIG_IsOK(ecode2
)) {
24905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24907 arg2
= static_cast< int >(val2
);
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 (arg1
)->SetStyle(arg2
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= SWIG_Py_Void();
24921 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24922 PyObject
*resultobj
= 0;
24923 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24927 PyObject
*swig_obj
[1] ;
24929 if (!args
) SWIG_fail
;
24930 swig_obj
[0] = args
;
24931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24935 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= SWIG_From_int(static_cast< int >(result
));
24949 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24952 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24953 return SWIG_Py_Void();
24956 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24957 return SWIG_Python_InitShadowInstance(args
);
24960 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
= 0;
24962 wxWindow
*arg1
= (wxWindow
*) 0 ;
24963 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24964 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24965 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24966 wxBufferedPaintDC
*result
= 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 char * kwnames
[] = {
24977 (char *) "window",(char *) "buffer",(char *) "style", NULL
24980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24985 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24988 if (!SWIG_IsOK(res2
)) {
24989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24994 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24998 if (!SWIG_IsOK(ecode3
)) {
24999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25001 arg3
= static_cast< int >(val3
);
25004 if (!wxPyCheckForApp()) SWIG_fail
;
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25017 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25020 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25021 return SWIG_Py_Void();
25024 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25025 return SWIG_Python_InitShadowInstance(args
);
25028 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
= 0;
25030 wxWindow
*arg1
= (wxWindow
*) 0 ;
25031 wxAutoBufferedPaintDC
*result
= 0 ;
25034 PyObject
* obj0
= 0 ;
25035 char * kwnames
[] = {
25036 (char *) "win", NULL
25039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25041 if (!SWIG_IsOK(res1
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25044 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25058 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25061 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25062 return SWIG_Py_Void();
25065 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25066 return SWIG_Python_InitShadowInstance(args
);
25069 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
= 0;
25071 wxWindow
*arg1
= (wxWindow
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 char * kwnames
[] = {
25077 (char *) "window", NULL
25080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25082 if (!SWIG_IsOK(res1
)) {
25083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25093 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25101 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
= 0;
25105 wxMirrorDC
*result
= 0 ;
25110 PyObject
* obj0
= 0 ;
25111 PyObject
* obj1
= 0 ;
25112 char * kwnames
[] = {
25113 (char *) "dc",(char *) "mirror", NULL
25116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25117 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25118 if (!SWIG_IsOK(res1
)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25125 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25126 if (!SWIG_IsOK(ecode2
)) {
25127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25129 arg2
= static_cast< bool >(val2
);
25131 if (!wxPyCheckForApp()) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25144 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25147 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25148 return SWIG_Py_Void();
25151 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25152 return SWIG_Python_InitShadowInstance(args
);
25155 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
= 0;
25157 wxPrintData
*arg1
= 0 ;
25158 wxPostScriptDC
*result
= 0 ;
25161 PyObject
* obj0
= 0 ;
25162 char * kwnames
[] = {
25163 (char *) "printData", NULL
25166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25167 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25168 if (!SWIG_IsOK(res1
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25174 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25176 if (!wxPyCheckForApp()) SWIG_fail
;
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25189 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25190 PyObject
*resultobj
= 0;
25191 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25192 wxPrintData
*result
= 0 ;
25195 PyObject
*swig_obj
[1] ;
25197 if (!args
) SWIG_fail
;
25198 swig_obj
[0] = args
;
25199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25200 if (!SWIG_IsOK(res1
)) {
25201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25203 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25208 result
= (wxPrintData
*) &_result_ref
;
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25220 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
= 0;
25222 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25223 wxPrintData
*arg2
= 0 ;
25228 PyObject
* obj0
= 0 ;
25229 PyObject
* obj1
= 0 ;
25230 char * kwnames
[] = {
25231 (char *) "self",(char *) "data", NULL
25234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25239 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25241 if (!SWIG_IsOK(res2
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25247 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 resultobj
= SWIG_Py_Void();
25261 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
= 0;
25266 PyObject
* obj0
= 0 ;
25267 char * kwnames
[] = {
25268 (char *) "ppi", NULL
25271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25272 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25273 if (!SWIG_IsOK(ecode1
)) {
25274 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25276 arg1
= static_cast< int >(val1
);
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 wxPostScriptDC::SetResolution(arg1
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= SWIG_Py_Void();
25290 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25291 PyObject
*resultobj
= 0;
25294 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (int)wxPostScriptDC::GetResolution();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_From_int(static_cast< int >(result
));
25308 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25312 return SWIG_Py_Void();
25315 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25316 return SWIG_Python_InitShadowInstance(args
);
25319 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
= 0;
25321 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25322 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25323 wxMetaFile
*result
= 0 ;
25324 bool temp1
= false ;
25325 PyObject
* obj0
= 0 ;
25326 char * kwnames
[] = {
25327 (char *) "filename", NULL
25330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25333 arg1
= wxString_in_helper(obj0
);
25334 if (arg1
== NULL
) SWIG_fail
;
25339 if (!wxPyCheckForApp()) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25342 wxPyEndAllowThreads(__tstate
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25360 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25363 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25364 return SWIG_Py_Void();
25367 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25368 return SWIG_Python_InitShadowInstance(args
);
25371 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
= 0;
25373 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25374 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25375 int arg2
= (int) 0 ;
25376 int arg3
= (int) 0 ;
25377 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25378 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25379 wxMetaFileDC
*result
= 0 ;
25380 bool temp1
= false ;
25385 bool temp4
= false ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 PyObject
* obj2
= 0 ;
25389 PyObject
* obj3
= 0 ;
25390 char * kwnames
[] = {
25391 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25397 arg1
= wxString_in_helper(obj0
);
25398 if (arg1
== NULL
) SWIG_fail
;
25403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25404 if (!SWIG_IsOK(ecode2
)) {
25405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25407 arg2
= static_cast< int >(val2
);
25410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25411 if (!SWIG_IsOK(ecode3
)) {
25412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25414 arg3
= static_cast< int >(val3
);
25418 arg4
= wxString_in_helper(obj3
);
25419 if (arg4
== NULL
) SWIG_fail
;
25424 if (!wxPyCheckForApp()) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25453 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25456 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25457 return SWIG_Py_Void();
25460 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25461 return SWIG_Python_InitShadowInstance(args
);
25464 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
= 0;
25466 wxPrintData
*arg1
= 0 ;
25467 wxPrinterDC
*result
= 0 ;
25470 PyObject
* obj0
= 0 ;
25471 char * kwnames
[] = {
25472 (char *) "printData", NULL
25475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25476 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25477 if (!SWIG_IsOK(res1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25483 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25485 if (!wxPyCheckForApp()) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25498 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25501 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25502 return SWIG_Py_Void();
25505 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25506 return SWIG_Python_InitShadowInstance(args
);
25509 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
= 0;
25511 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25512 wxGraphicsObject
*result
= 0 ;
25515 PyObject
* obj0
= 0 ;
25516 char * kwnames
[] = {
25517 (char *) "renderer", NULL
25520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25523 if (!SWIG_IsOK(res1
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25526 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25529 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25539 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25540 PyObject
*resultobj
= 0;
25541 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25544 PyObject
*swig_obj
[1] ;
25546 if (!args
) SWIG_fail
;
25547 swig_obj
[0] = args
;
25548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25549 if (!SWIG_IsOK(res1
)) {
25550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25552 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 resultobj
= SWIG_Py_Void();
25565 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25566 PyObject
*resultobj
= 0;
25567 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25571 PyObject
*swig_obj
[1] ;
25573 if (!args
) SWIG_fail
;
25574 swig_obj
[0] = args
;
25575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25576 if (!SWIG_IsOK(res1
)) {
25577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25579 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25581 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25582 if (PyErr_Occurred()) SWIG_fail
;
25585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25593 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25594 PyObject
*resultobj
= 0;
25595 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25596 wxGraphicsRenderer
*result
= 0 ;
25599 PyObject
*swig_obj
[1] ;
25601 if (!args
) SWIG_fail
;
25602 swig_obj
[0] = args
;
25603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25604 if (!SWIG_IsOK(res1
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25607 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25609 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25619 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25622 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25623 return SWIG_Py_Void();
25626 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25627 return SWIG_Python_InitShadowInstance(args
);
25630 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25631 PyObject
*resultobj
= 0;
25632 wxGraphicsPen
*result
= 0 ;
25634 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25636 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25646 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 PyObject
*resultobj
= 0;
25648 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25651 PyObject
*swig_obj
[1] ;
25653 if (!args
) SWIG_fail
;
25654 swig_obj
[0] = args
;
25655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25659 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_Py_Void();
25672 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25675 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25676 return SWIG_Py_Void();
25679 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25680 return SWIG_Python_InitShadowInstance(args
);
25683 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25684 PyObject
*resultobj
= 0;
25685 wxGraphicsBrush
*result
= 0 ;
25687 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25689 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25699 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25700 PyObject
*resultobj
= 0;
25701 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25704 PyObject
*swig_obj
[1] ;
25706 if (!args
) SWIG_fail
;
25707 swig_obj
[0] = args
;
25708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25709 if (!SWIG_IsOK(res1
)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25712 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25718 resultobj
= SWIG_Py_Void();
25725 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25728 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25729 return SWIG_Py_Void();
25732 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25733 return SWIG_Python_InitShadowInstance(args
);
25736 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxGraphicsFont
*result
= 0 ;
25740 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25742 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25752 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25753 PyObject
*resultobj
= 0;
25754 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25757 PyObject
*swig_obj
[1] ;
25759 if (!args
) SWIG_fail
;
25760 swig_obj
[0] = args
;
25761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25762 if (!SWIG_IsOK(res1
)) {
25763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25765 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_Py_Void();
25778 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25781 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25782 return SWIG_Py_Void();
25785 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25786 return SWIG_Python_InitShadowInstance(args
);
25789 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25790 PyObject
*resultobj
= 0;
25791 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25794 PyObject
*swig_obj
[1] ;
25796 if (!args
) SWIG_fail
;
25797 swig_obj
[0] = args
;
25798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25799 if (!SWIG_IsOK(res1
)) {
25800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25802 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= SWIG_Py_Void();
25815 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
= 0;
25817 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25818 wxGraphicsMatrix
*arg2
= 0 ;
25823 PyObject
* obj0
= 0 ;
25824 PyObject
* obj1
= 0 ;
25825 char * kwnames
[] = {
25826 (char *) "self",(char *) "t", NULL
25829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25831 if (!SWIG_IsOK(res1
)) {
25832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25834 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25836 if (!SWIG_IsOK(res2
)) {
25837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25842 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25844 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_Py_Void();
25854 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
= 0;
25856 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25857 wxDouble arg2
= (wxDouble
) 1.0 ;
25858 wxDouble arg3
= (wxDouble
) 0.0 ;
25859 wxDouble arg4
= (wxDouble
) 0.0 ;
25860 wxDouble arg5
= (wxDouble
) 1.0 ;
25861 wxDouble arg6
= (wxDouble
) 0.0 ;
25862 wxDouble arg7
= (wxDouble
) 0.0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 PyObject
* obj3
= 0 ;
25881 PyObject
* obj4
= 0 ;
25882 PyObject
* obj5
= 0 ;
25883 PyObject
* obj6
= 0 ;
25884 char * kwnames
[] = {
25885 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25890 if (!SWIG_IsOK(res1
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25893 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25895 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25896 if (!SWIG_IsOK(ecode2
)) {
25897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25899 arg2
= static_cast< wxDouble
>(val2
);
25902 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25903 if (!SWIG_IsOK(ecode3
)) {
25904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25906 arg3
= static_cast< wxDouble
>(val3
);
25909 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25910 if (!SWIG_IsOK(ecode4
)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25913 arg4
= static_cast< wxDouble
>(val4
);
25916 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25917 if (!SWIG_IsOK(ecode5
)) {
25918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25920 arg5
= static_cast< wxDouble
>(val5
);
25923 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25924 if (!SWIG_IsOK(ecode6
)) {
25925 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25927 arg6
= static_cast< wxDouble
>(val6
);
25930 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25931 if (!SWIG_IsOK(ecode7
)) {
25932 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25934 arg7
= static_cast< wxDouble
>(val7
);
25937 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= SWIG_Py_Void();
25947 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25948 PyObject
*resultobj
= 0;
25949 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25950 wxDouble
*arg2
= (wxDouble
*) 0 ;
25951 wxDouble
*arg3
= (wxDouble
*) 0 ;
25952 wxDouble
*arg4
= (wxDouble
*) 0 ;
25953 wxDouble
*arg5
= (wxDouble
*) 0 ;
25954 wxDouble
*arg6
= (wxDouble
*) 0 ;
25955 wxDouble
*arg7
= (wxDouble
*) 0 ;
25959 int res2
= SWIG_TMPOBJ
;
25961 int res3
= SWIG_TMPOBJ
;
25963 int res4
= SWIG_TMPOBJ
;
25965 int res5
= SWIG_TMPOBJ
;
25967 int res6
= SWIG_TMPOBJ
;
25969 int res7
= SWIG_TMPOBJ
;
25970 PyObject
*swig_obj
[1] ;
25978 if (!args
) SWIG_fail
;
25979 swig_obj
[0] = args
;
25980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25981 if (!SWIG_IsOK(res1
)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25984 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25986 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= SWIG_Py_Void();
25990 if (SWIG_IsTmpObj(res2
)) {
25991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25993 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25996 if (SWIG_IsTmpObj(res3
)) {
25997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25999 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26002 if (SWIG_IsTmpObj(res4
)) {
26003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26005 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26008 if (SWIG_IsTmpObj(res5
)) {
26009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26011 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26014 if (SWIG_IsTmpObj(res6
)) {
26015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26017 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26020 if (SWIG_IsTmpObj(res7
)) {
26021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26023 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26032 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26033 PyObject
*resultobj
= 0;
26034 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26037 PyObject
*swig_obj
[1] ;
26039 if (!args
) SWIG_fail
;
26040 swig_obj
[0] = args
;
26041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26045 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_Py_Void();
26057 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
= 0;
26059 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26060 wxGraphicsMatrix
*arg2
= 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "self",(char *) "t", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26074 if (!SWIG_IsOK(res1
)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26077 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26079 if (!SWIG_IsOK(res2
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26085 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26087 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26099 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26100 PyObject
*resultobj
= 0;
26101 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26105 PyObject
*swig_obj
[1] ;
26107 if (!args
) SWIG_fail
;
26108 swig_obj
[0] = args
;
26109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26110 if (!SWIG_IsOK(res1
)) {
26111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26113 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26115 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26116 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26127 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
= 0;
26129 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 PyObject
* obj2
= 0 ;
26141 char * kwnames
[] = {
26142 (char *) "self",(char *) "dx",(char *) "dy", NULL
26145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26147 if (!SWIG_IsOK(res1
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26150 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26151 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26152 if (!SWIG_IsOK(ecode2
)) {
26153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26155 arg2
= static_cast< wxDouble
>(val2
);
26156 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26157 if (!SWIG_IsOK(ecode3
)) {
26158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26160 arg3
= static_cast< wxDouble
>(val3
);
26162 (arg1
)->Translate(arg2
,arg3
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= 0;
26174 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 PyObject
* obj2
= 0 ;
26186 char * kwnames
[] = {
26187 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26192 if (!SWIG_IsOK(res1
)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26195 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26196 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26197 if (!SWIG_IsOK(ecode2
)) {
26198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26200 arg2
= static_cast< wxDouble
>(val2
);
26201 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26202 if (!SWIG_IsOK(ecode3
)) {
26203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26205 arg3
= static_cast< wxDouble
>(val3
);
26207 (arg1
)->Scale(arg2
,arg3
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_Py_Void();
26217 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
= 0;
26219 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char * kwnames
[] = {
26228 (char *) "self",(char *) "angle", NULL
26231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26233 if (!SWIG_IsOK(res1
)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26236 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26237 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26238 if (!SWIG_IsOK(ecode2
)) {
26239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26241 arg2
= static_cast< wxDouble
>(val2
);
26243 (arg1
)->Rotate(arg2
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= SWIG_Py_Void();
26253 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
= 0;
26255 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26256 wxDouble
*arg2
= (wxDouble
*) 0 ;
26257 wxDouble
*arg3
= (wxDouble
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 PyObject
* obj2
= 0 ;
26267 char * kwnames
[] = {
26268 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26276 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26277 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26279 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26280 if (!SWIG_IsOK(ecode
)) {
26281 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26283 temp2
= static_cast< wxDouble
>(val
);
26285 res2
= SWIG_AddTmpMask(ecode
);
26287 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26289 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26290 if (!SWIG_IsOK(ecode
)) {
26291 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26293 temp3
= static_cast< wxDouble
>(val
);
26295 res3
= SWIG_AddTmpMask(ecode
);
26298 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_Py_Void();
26302 if (SWIG_IsTmpObj(res2
)) {
26303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26305 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26308 if (SWIG_IsTmpObj(res3
)) {
26309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26311 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26320 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26321 PyObject
*resultobj
= 0;
26322 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26323 wxDouble
*arg2
= (wxDouble
*) 0 ;
26324 wxDouble
*arg3
= (wxDouble
*) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 PyObject
* obj1
= 0 ;
26333 PyObject
* obj2
= 0 ;
26334 char * kwnames
[] = {
26335 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26340 if (!SWIG_IsOK(res1
)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26343 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26344 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26346 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26347 if (!SWIG_IsOK(ecode
)) {
26348 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26350 temp2
= static_cast< wxDouble
>(val
);
26352 res2
= SWIG_AddTmpMask(ecode
);
26354 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26356 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26357 if (!SWIG_IsOK(ecode
)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26360 temp3
= static_cast< wxDouble
>(val
);
26362 res3
= SWIG_AddTmpMask(ecode
);
26365 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= SWIG_Py_Void();
26369 if (SWIG_IsTmpObj(res2
)) {
26370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26372 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26375 if (SWIG_IsTmpObj(res3
)) {
26376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26378 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26387 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26388 PyObject
*resultobj
= 0;
26389 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26393 PyObject
*swig_obj
[1] ;
26395 if (!args
) SWIG_fail
;
26396 swig_obj
[0] = args
;
26397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26398 if (!SWIG_IsOK(res1
)) {
26399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26401 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26403 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26413 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26416 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26417 return SWIG_Py_Void();
26420 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26421 PyObject
*resultobj
= 0;
26422 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26425 PyObject
*swig_obj
[1] ;
26427 if (!args
) SWIG_fail
;
26428 swig_obj
[0] = args
;
26429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26433 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26447 PyObject
*resultobj
= 0;
26448 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26458 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26460 if (!SWIG_IsOK(res1
)) {
26461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26463 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26464 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26465 if (!SWIG_IsOK(ecode2
)) {
26466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26468 arg2
= static_cast< wxDouble
>(val2
);
26469 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26470 if (!SWIG_IsOK(ecode3
)) {
26471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26473 arg3
= static_cast< wxDouble
>(val3
);
26475 (arg1
)->MoveToPoint(arg2
,arg3
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= SWIG_Py_Void();
26485 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26486 PyObject
*resultobj
= 0;
26487 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26488 wxPoint2D
*arg2
= 0 ;
26493 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26495 if (!SWIG_IsOK(res1
)) {
26496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26498 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26501 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26504 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_Py_Void();
26514 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26518 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26521 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26524 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26528 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26533 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26534 PyObject
*resultobj
= 0;
26535 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26545 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26547 if (!SWIG_IsOK(res1
)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26550 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26551 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26552 if (!SWIG_IsOK(ecode2
)) {
26553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26555 arg2
= static_cast< wxDouble
>(val2
);
26556 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26557 if (!SWIG_IsOK(ecode3
)) {
26558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26560 arg3
= static_cast< wxDouble
>(val3
);
26562 (arg1
)->AddLineToPoint(arg2
,arg3
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= SWIG_Py_Void();
26572 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26573 PyObject
*resultobj
= 0;
26574 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26575 wxPoint2D
*arg2
= 0 ;
26580 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26582 if (!SWIG_IsOK(res1
)) {
26583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26585 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26588 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26591 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_Py_Void();
26601 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26605 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26608 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26611 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26615 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26620 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26621 PyObject
*resultobj
= 0;
26622 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26644 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26646 if (!SWIG_IsOK(res1
)) {
26647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26649 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26650 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26651 if (!SWIG_IsOK(ecode2
)) {
26652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26654 arg2
= static_cast< wxDouble
>(val2
);
26655 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26656 if (!SWIG_IsOK(ecode3
)) {
26657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26659 arg3
= static_cast< wxDouble
>(val3
);
26660 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26661 if (!SWIG_IsOK(ecode4
)) {
26662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26664 arg4
= static_cast< wxDouble
>(val4
);
26665 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26666 if (!SWIG_IsOK(ecode5
)) {
26667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26669 arg5
= static_cast< wxDouble
>(val5
);
26670 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26671 if (!SWIG_IsOK(ecode6
)) {
26672 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26674 arg6
= static_cast< wxDouble
>(val6
);
26675 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26676 if (!SWIG_IsOK(ecode7
)) {
26677 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26679 arg7
= static_cast< wxDouble
>(val7
);
26681 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= SWIG_Py_Void();
26691 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26692 PyObject
*resultobj
= 0;
26693 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26694 wxPoint2D
*arg2
= 0 ;
26695 wxPoint2D
*arg3
= 0 ;
26696 wxPoint2D
*arg4
= 0 ;
26703 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26705 if (!SWIG_IsOK(res1
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26708 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26711 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26715 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26719 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26722 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= SWIG_Py_Void();
26732 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26736 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26739 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26742 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26746 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26751 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
= 0;
26753 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26754 wxGraphicsPath
*arg2
= 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 char * kwnames
[] = {
26762 (char *) "self",(char *) "path", NULL
26765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26770 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26772 if (!SWIG_IsOK(res2
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26778 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26780 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_Py_Void();
26790 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26791 PyObject
*resultobj
= 0;
26792 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26795 PyObject
*swig_obj
[1] ;
26797 if (!args
) SWIG_fail
;
26798 swig_obj
[0] = args
;
26799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26800 if (!SWIG_IsOK(res1
)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26803 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26805 (arg1
)->CloseSubpath();
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_Py_Void();
26815 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26816 PyObject
*resultobj
= 0;
26817 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26821 PyObject
*swig_obj
[1] ;
26823 if (!args
) SWIG_fail
;
26824 swig_obj
[0] = args
;
26825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26826 if (!SWIG_IsOK(res1
)) {
26827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26829 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26831 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26841 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26842 PyObject
*resultobj
= 0;
26843 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26849 bool arg7
= (bool) true ;
26865 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26870 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26871 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26872 if (!SWIG_IsOK(ecode2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26875 arg2
= static_cast< wxDouble
>(val2
);
26876 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26877 if (!SWIG_IsOK(ecode3
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26880 arg3
= static_cast< wxDouble
>(val3
);
26881 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26882 if (!SWIG_IsOK(ecode4
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26885 arg4
= static_cast< wxDouble
>(val4
);
26886 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26887 if (!SWIG_IsOK(ecode5
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26890 arg5
= static_cast< wxDouble
>(val5
);
26891 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26892 if (!SWIG_IsOK(ecode6
)) {
26893 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26895 arg6
= static_cast< wxDouble
>(val6
);
26897 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26898 if (!SWIG_IsOK(ecode7
)) {
26899 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26901 arg7
= static_cast< bool >(val7
);
26904 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_Py_Void();
26914 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26915 PyObject
*resultobj
= 0;
26916 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26917 wxPoint2D
*arg2
= 0 ;
26921 bool arg6
= (bool) true ;
26934 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
26935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26936 if (!SWIG_IsOK(res1
)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26939 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26942 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26944 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26945 if (!SWIG_IsOK(ecode3
)) {
26946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26948 arg3
= static_cast< wxDouble
>(val3
);
26949 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26950 if (!SWIG_IsOK(ecode4
)) {
26951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26953 arg4
= static_cast< wxDouble
>(val4
);
26954 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26955 if (!SWIG_IsOK(ecode5
)) {
26956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26958 arg5
= static_cast< wxDouble
>(val5
);
26960 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26961 if (!SWIG_IsOK(ecode6
)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26964 arg6
= static_cast< bool >(val6
);
26967 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= SWIG_Py_Void();
26977 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26981 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26983 if ((argc
>= 5) && (argc
<= 6)) {
26987 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
26990 if (!_v
) goto check_1
;
26994 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
26995 _v
= SWIG_CheckState(res
);
26998 if (!_v
) goto check_1
;
27000 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27004 if ((argc
>= 6) && (argc
<= 7)) {
27005 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27009 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27014 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
= 0;
27016 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 PyObject
* obj2
= 0 ;
27034 PyObject
* obj3
= 0 ;
27035 PyObject
* obj4
= 0 ;
27036 char * kwnames
[] = {
27037 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27042 if (!SWIG_IsOK(res1
)) {
27043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27045 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27046 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27047 if (!SWIG_IsOK(ecode2
)) {
27048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27050 arg2
= static_cast< wxDouble
>(val2
);
27051 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27052 if (!SWIG_IsOK(ecode3
)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27055 arg3
= static_cast< wxDouble
>(val3
);
27056 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27057 if (!SWIG_IsOK(ecode4
)) {
27058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27060 arg4
= static_cast< wxDouble
>(val4
);
27061 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27062 if (!SWIG_IsOK(ecode5
)) {
27063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27065 arg5
= static_cast< wxDouble
>(val5
);
27067 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= SWIG_Py_Void();
27077 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
= 0;
27079 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 PyObject
* obj2
= 0 ;
27097 PyObject
* obj3
= 0 ;
27098 PyObject
* obj4
= 0 ;
27099 char * kwnames
[] = {
27100 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27108 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27109 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27110 if (!SWIG_IsOK(ecode2
)) {
27111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27113 arg2
= static_cast< wxDouble
>(val2
);
27114 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27115 if (!SWIG_IsOK(ecode3
)) {
27116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27118 arg3
= static_cast< wxDouble
>(val3
);
27119 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27120 if (!SWIG_IsOK(ecode4
)) {
27121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27123 arg4
= static_cast< wxDouble
>(val4
);
27124 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27125 if (!SWIG_IsOK(ecode5
)) {
27126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27128 arg5
= static_cast< wxDouble
>(val5
);
27130 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_Py_Void();
27140 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
= 0;
27142 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 PyObject
* obj2
= 0 ;
27157 PyObject
* obj3
= 0 ;
27158 char * kwnames
[] = {
27159 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27164 if (!SWIG_IsOK(res1
)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27167 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27168 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27169 if (!SWIG_IsOK(ecode2
)) {
27170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27172 arg2
= static_cast< wxDouble
>(val2
);
27173 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27174 if (!SWIG_IsOK(ecode3
)) {
27175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27177 arg3
= static_cast< wxDouble
>(val3
);
27178 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27179 if (!SWIG_IsOK(ecode4
)) {
27180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27182 arg4
= static_cast< wxDouble
>(val4
);
27184 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= SWIG_Py_Void();
27194 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
= 0;
27196 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 PyObject
* obj2
= 0 ;
27217 PyObject
* obj3
= 0 ;
27218 PyObject
* obj4
= 0 ;
27219 PyObject
* obj5
= 0 ;
27220 char * kwnames
[] = {
27221 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27229 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27230 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27231 if (!SWIG_IsOK(ecode2
)) {
27232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27234 arg2
= static_cast< wxDouble
>(val2
);
27235 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27236 if (!SWIG_IsOK(ecode3
)) {
27237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27239 arg3
= static_cast< wxDouble
>(val3
);
27240 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27241 if (!SWIG_IsOK(ecode4
)) {
27242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27244 arg4
= static_cast< wxDouble
>(val4
);
27245 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27246 if (!SWIG_IsOK(ecode5
)) {
27247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27249 arg5
= static_cast< wxDouble
>(val5
);
27250 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27251 if (!SWIG_IsOK(ecode6
)) {
27252 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27254 arg6
= static_cast< wxDouble
>(val6
);
27256 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27259 resultobj
= SWIG_Py_Void();
27266 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27267 PyObject
*resultobj
= 0;
27268 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 PyObject
* obj2
= 0 ;
27286 PyObject
* obj3
= 0 ;
27287 PyObject
* obj4
= 0 ;
27288 char * kwnames
[] = {
27289 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27297 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27298 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27299 if (!SWIG_IsOK(ecode2
)) {
27300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27302 arg2
= static_cast< wxDouble
>(val2
);
27303 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27304 if (!SWIG_IsOK(ecode3
)) {
27305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27307 arg3
= static_cast< wxDouble
>(val3
);
27308 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27309 if (!SWIG_IsOK(ecode4
)) {
27310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27312 arg4
= static_cast< wxDouble
>(val4
);
27313 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27314 if (!SWIG_IsOK(ecode5
)) {
27315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27317 arg5
= static_cast< wxDouble
>(val5
);
27319 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= SWIG_Py_Void();
27329 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
= 0;
27331 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27349 PyObject
* obj0
= 0 ;
27350 PyObject
* obj1
= 0 ;
27351 PyObject
* obj2
= 0 ;
27352 PyObject
* obj3
= 0 ;
27353 PyObject
* obj4
= 0 ;
27354 PyObject
* obj5
= 0 ;
27355 char * kwnames
[] = {
27356 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27361 if (!SWIG_IsOK(res1
)) {
27362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27364 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27365 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27366 if (!SWIG_IsOK(ecode2
)) {
27367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27369 arg2
= static_cast< wxDouble
>(val2
);
27370 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27371 if (!SWIG_IsOK(ecode3
)) {
27372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27374 arg3
= static_cast< wxDouble
>(val3
);
27375 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27376 if (!SWIG_IsOK(ecode4
)) {
27377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27379 arg4
= static_cast< wxDouble
>(val4
);
27380 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27381 if (!SWIG_IsOK(ecode5
)) {
27382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27384 arg5
= static_cast< wxDouble
>(val5
);
27385 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27386 if (!SWIG_IsOK(ecode6
)) {
27387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27389 arg6
= static_cast< wxDouble
>(val6
);
27391 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= SWIG_Py_Void();
27401 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27402 PyObject
*resultobj
= 0;
27403 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27407 PyObject
*swig_obj
[1] ;
27409 if (!args
) SWIG_fail
;
27410 swig_obj
[0] = args
;
27411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27415 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27417 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27427 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
= 0;
27429 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27430 void *arg2
= (void *) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 char * kwnames
[] = {
27437 (char *) "self",(char *) "p", NULL
27440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27445 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27446 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27447 if (!SWIG_IsOK(res2
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27451 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_Py_Void();
27461 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
= 0;
27463 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27464 wxGraphicsMatrix
*arg2
= 0 ;
27469 PyObject
* obj0
= 0 ;
27470 PyObject
* obj1
= 0 ;
27471 char * kwnames
[] = {
27472 (char *) "self",(char *) "matrix", NULL
27475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27477 if (!SWIG_IsOK(res1
)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27480 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27482 if (!SWIG_IsOK(res2
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27488 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27490 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_Py_Void();
27500 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27502 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27506 PyObject
*swig_obj
[1] ;
27508 if (!args
) SWIG_fail
;
27509 swig_obj
[0] = args
;
27510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27514 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27516 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27526 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27527 PyObject
*resultobj
= 0;
27528 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27531 int arg4
= (int) wxODDEVEN_RULE
;
27542 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27544 if (!SWIG_IsOK(res1
)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27547 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27548 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27549 if (!SWIG_IsOK(ecode2
)) {
27550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27552 arg2
= static_cast< wxDouble
>(val2
);
27553 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27554 if (!SWIG_IsOK(ecode3
)) {
27555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27557 arg3
= static_cast< wxDouble
>(val3
);
27559 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27560 if (!SWIG_IsOK(ecode4
)) {
27561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27563 arg4
= static_cast< int >(val4
);
27566 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27578 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27579 PyObject
*resultobj
= 0;
27580 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27581 wxPoint2D
*arg2
= 0 ;
27582 int arg3
= (int) wxODDEVEN_RULE
;
27590 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27592 if (!SWIG_IsOK(res1
)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27595 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27598 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27601 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27602 if (!SWIG_IsOK(ecode3
)) {
27603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27605 arg3
= static_cast< int >(val3
);
27608 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27620 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27624 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27626 if ((argc
>= 2) && (argc
<= 3)) {
27630 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27633 if (!_v
) goto check_1
;
27637 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27638 _v
= SWIG_CheckState(res
);
27641 if (!_v
) goto check_1
;
27643 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27647 if ((argc
>= 3) && (argc
<= 4)) {
27648 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27652 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27657 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27660 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27661 return SWIG_Py_Void();
27664 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27665 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27670 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27671 PyObject
*pyobj
= 0;
27673 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27678 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27679 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27684 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27685 PyObject
*pyobj
= 0;
27687 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27692 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27693 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27698 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27699 PyObject
*pyobj
= 0;
27701 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27706 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27707 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27712 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27713 PyObject
*pyobj
= 0;
27715 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27720 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27721 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27726 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27727 PyObject
*pyobj
= 0;
27729 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27734 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27735 PyObject
*resultobj
= 0;
27736 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27739 PyObject
*swig_obj
[1] ;
27741 if (!args
) SWIG_fail
;
27742 swig_obj
[0] = args
;
27743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27744 if (!SWIG_IsOK(res1
)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27747 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= SWIG_Py_Void();
27760 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27761 PyObject
*resultobj
= 0;
27762 wxWindowDC
*arg1
= 0 ;
27763 wxGraphicsContext
*result
= 0 ;
27767 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27775 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27777 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27787 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27788 PyObject
*resultobj
= 0;
27789 wxWindow
*arg1
= (wxWindow
*) 0 ;
27790 wxGraphicsContext
*result
= 0 ;
27794 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27801 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27811 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27815 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27820 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27821 _v
= SWIG_CheckState(res
);
27823 if (!_v
) goto check_1
;
27824 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27829 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27833 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27838 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27839 PyObject
*resultobj
= 0;
27840 wxGraphicsContext
*result
= 0 ;
27842 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27844 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27854 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
= 0;
27856 void *arg1
= (void *) 0 ;
27857 wxGraphicsContext
*result
= 0 ;
27859 PyObject
* obj0
= 0 ;
27860 char * kwnames
[] = {
27861 (char *) "context", NULL
27864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27865 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27866 if (!SWIG_IsOK(res1
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27870 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27880 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
= 0;
27882 void *arg1
= (void *) 0 ;
27883 wxGraphicsContext
*result
= 0 ;
27885 PyObject
* obj0
= 0 ;
27886 char * kwnames
[] = {
27887 (char *) "window", NULL
27890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27891 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27896 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27906 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27907 PyObject
*resultobj
= 0;
27908 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27909 wxGraphicsPath result
;
27912 PyObject
*swig_obj
[1] ;
27914 if (!args
) SWIG_fail
;
27915 swig_obj
[0] = args
;
27916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27920 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27922 result
= (arg1
)->CreatePath();
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27932 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
= 0;
27934 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27936 wxGraphicsPen result
;
27941 PyObject
* obj0
= 0 ;
27942 PyObject
* obj1
= 0 ;
27943 char * kwnames
[] = {
27944 (char *) "self",(char *) "pen", NULL
27947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27949 if (!SWIG_IsOK(res1
)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27952 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27954 if (!SWIG_IsOK(res2
)) {
27955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27960 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27962 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27972 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
= 0;
27974 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27975 wxBrush
*arg2
= 0 ;
27976 wxGraphicsBrush result
;
27981 PyObject
* obj0
= 0 ;
27982 PyObject
* obj1
= 0 ;
27983 char * kwnames
[] = {
27984 (char *) "self",(char *) "brush", NULL
27987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27989 if (!SWIG_IsOK(res1
)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27992 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27994 if (!SWIG_IsOK(res2
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28000 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28002 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28012 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
= 0;
28014 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28019 wxColour
*arg6
= 0 ;
28020 wxColour
*arg7
= 0 ;
28021 wxGraphicsBrush result
;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 PyObject
* obj2
= 0 ;
28037 PyObject
* obj3
= 0 ;
28038 PyObject
* obj4
= 0 ;
28039 PyObject
* obj5
= 0 ;
28040 PyObject
* obj6
= 0 ;
28041 char * kwnames
[] = {
28042 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28047 if (!SWIG_IsOK(res1
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28050 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28051 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28052 if (!SWIG_IsOK(ecode2
)) {
28053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28055 arg2
= static_cast< wxDouble
>(val2
);
28056 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28057 if (!SWIG_IsOK(ecode3
)) {
28058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28060 arg3
= static_cast< wxDouble
>(val3
);
28061 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28062 if (!SWIG_IsOK(ecode4
)) {
28063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28065 arg4
= static_cast< wxDouble
>(val4
);
28066 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28067 if (!SWIG_IsOK(ecode5
)) {
28068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28070 arg5
= static_cast< wxDouble
>(val5
);
28073 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28077 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28080 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28090 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28091 PyObject
*resultobj
= 0;
28092 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28098 wxColour
*arg7
= 0 ;
28099 wxColour
*arg8
= 0 ;
28100 wxGraphicsBrush result
;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 PyObject
* obj2
= 0 ;
28118 PyObject
* obj3
= 0 ;
28119 PyObject
* obj4
= 0 ;
28120 PyObject
* obj5
= 0 ;
28121 PyObject
* obj6
= 0 ;
28122 PyObject
* obj7
= 0 ;
28123 char * kwnames
[] = {
28124 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28132 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28133 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28134 if (!SWIG_IsOK(ecode2
)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28137 arg2
= static_cast< wxDouble
>(val2
);
28138 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28139 if (!SWIG_IsOK(ecode3
)) {
28140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28142 arg3
= static_cast< wxDouble
>(val3
);
28143 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28144 if (!SWIG_IsOK(ecode4
)) {
28145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28147 arg4
= static_cast< wxDouble
>(val4
);
28148 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28149 if (!SWIG_IsOK(ecode5
)) {
28150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28152 arg5
= static_cast< wxDouble
>(val5
);
28153 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28154 if (!SWIG_IsOK(ecode6
)) {
28155 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28157 arg6
= static_cast< wxDouble
>(val6
);
28160 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28164 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28167 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28177 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
= 0;
28179 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28181 wxColour
const &arg3_defvalue
= *wxBLACK
;
28182 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28183 wxGraphicsFont result
;
28189 PyObject
* obj0
= 0 ;
28190 PyObject
* obj1
= 0 ;
28191 PyObject
* obj2
= 0 ;
28192 char * kwnames
[] = {
28193 (char *) "self",(char *) "font",(char *) "col", NULL
28196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28198 if (!SWIG_IsOK(res1
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28201 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28203 if (!SWIG_IsOK(res2
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28209 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28213 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28217 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28227 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
= 0;
28229 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28230 wxDouble arg2
= (wxDouble
) 1.0 ;
28231 wxDouble arg3
= (wxDouble
) 0.0 ;
28232 wxDouble arg4
= (wxDouble
) 0.0 ;
28233 wxDouble arg5
= (wxDouble
) 1.0 ;
28234 wxDouble arg6
= (wxDouble
) 0.0 ;
28235 wxDouble arg7
= (wxDouble
) 0.0 ;
28236 wxGraphicsMatrix result
;
28251 PyObject
* obj0
= 0 ;
28252 PyObject
* obj1
= 0 ;
28253 PyObject
* obj2
= 0 ;
28254 PyObject
* obj3
= 0 ;
28255 PyObject
* obj4
= 0 ;
28256 PyObject
* obj5
= 0 ;
28257 PyObject
* obj6
= 0 ;
28258 char * kwnames
[] = {
28259 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28267 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28269 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28270 if (!SWIG_IsOK(ecode2
)) {
28271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28273 arg2
= static_cast< wxDouble
>(val2
);
28276 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28277 if (!SWIG_IsOK(ecode3
)) {
28278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28280 arg3
= static_cast< wxDouble
>(val3
);
28283 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28284 if (!SWIG_IsOK(ecode4
)) {
28285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28287 arg4
= static_cast< wxDouble
>(val4
);
28290 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28291 if (!SWIG_IsOK(ecode5
)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28294 arg5
= static_cast< wxDouble
>(val5
);
28297 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28298 if (!SWIG_IsOK(ecode6
)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28301 arg6
= static_cast< wxDouble
>(val6
);
28304 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28305 if (!SWIG_IsOK(ecode7
)) {
28306 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28308 arg7
= static_cast< wxDouble
>(val7
);
28311 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28314 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28321 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28322 PyObject
*resultobj
= 0;
28323 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28326 PyObject
*swig_obj
[1] ;
28328 if (!args
) SWIG_fail
;
28329 swig_obj
[0] = args
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28334 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28336 (arg1
)->PushState();
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= SWIG_Py_Void();
28346 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28347 PyObject
*resultobj
= 0;
28348 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28351 PyObject
*swig_obj
[1] ;
28353 if (!args
) SWIG_fail
;
28354 swig_obj
[0] = args
;
28355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28356 if (!SWIG_IsOK(res1
)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28359 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28361 (arg1
)->PopState();
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_Py_Void();
28371 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
= 0;
28373 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28374 wxRegion
*arg2
= 0 ;
28379 PyObject
* obj0
= 0 ;
28380 PyObject
* obj1
= 0 ;
28381 char * kwnames
[] = {
28382 (char *) "self",(char *) "region", NULL
28385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28387 if (!SWIG_IsOK(res1
)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28390 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28392 if (!SWIG_IsOK(res2
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28398 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28400 (arg1
)->Clip((wxRegion
const &)*arg2
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= SWIG_Py_Void();
28410 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
= 0;
28412 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28427 PyObject
* obj0
= 0 ;
28428 PyObject
* obj1
= 0 ;
28429 PyObject
* obj2
= 0 ;
28430 PyObject
* obj3
= 0 ;
28431 PyObject
* obj4
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28441 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28442 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28443 if (!SWIG_IsOK(ecode2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28446 arg2
= static_cast< wxDouble
>(val2
);
28447 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28448 if (!SWIG_IsOK(ecode3
)) {
28449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28451 arg3
= static_cast< wxDouble
>(val3
);
28452 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28453 if (!SWIG_IsOK(ecode4
)) {
28454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28456 arg4
= static_cast< wxDouble
>(val4
);
28457 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28458 if (!SWIG_IsOK(ecode5
)) {
28459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28461 arg5
= static_cast< wxDouble
>(val5
);
28463 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= SWIG_Py_Void();
28473 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28474 PyObject
*resultobj
= 0;
28475 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28478 PyObject
*swig_obj
[1] ;
28480 if (!args
) SWIG_fail
;
28481 swig_obj
[0] = args
;
28482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28486 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28488 (arg1
)->ResetClip();
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= SWIG_Py_Void();
28498 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28499 PyObject
*resultobj
= 0;
28500 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28504 PyObject
*swig_obj
[1] ;
28506 if (!args
) SWIG_fail
;
28507 swig_obj
[0] = args
;
28508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28509 if (!SWIG_IsOK(res1
)) {
28510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28512 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28514 result
= (void *)(arg1
)->GetNativeContext();
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28524 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28525 PyObject
*resultobj
= 0;
28526 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28530 PyObject
*swig_obj
[1] ;
28532 if (!args
) SWIG_fail
;
28533 swig_obj
[0] = args
;
28534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28535 if (!SWIG_IsOK(res1
)) {
28536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28538 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28540 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_From_int(static_cast< int >(result
));
28550 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
= 0;
28552 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 char * kwnames
[] = {
28562 (char *) "self",(char *) "function", NULL
28565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28570 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28572 if (!SWIG_IsOK(ecode2
)) {
28573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28575 arg2
= static_cast< int >(val2
);
28577 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28589 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
= 0;
28591 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28600 PyObject
* obj0
= 0 ;
28601 PyObject
* obj1
= 0 ;
28602 PyObject
* obj2
= 0 ;
28603 char * kwnames
[] = {
28604 (char *) "self",(char *) "dx",(char *) "dy", NULL
28607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28609 if (!SWIG_IsOK(res1
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28612 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28613 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28614 if (!SWIG_IsOK(ecode2
)) {
28615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28617 arg2
= static_cast< wxDouble
>(val2
);
28618 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28619 if (!SWIG_IsOK(ecode3
)) {
28620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28622 arg3
= static_cast< wxDouble
>(val3
);
28624 (arg1
)->Translate(arg2
,arg3
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= SWIG_Py_Void();
28634 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
= 0;
28636 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28645 PyObject
* obj0
= 0 ;
28646 PyObject
* obj1
= 0 ;
28647 PyObject
* obj2
= 0 ;
28648 char * kwnames
[] = {
28649 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28654 if (!SWIG_IsOK(res1
)) {
28655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28657 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28658 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28659 if (!SWIG_IsOK(ecode2
)) {
28660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28662 arg2
= static_cast< wxDouble
>(val2
);
28663 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28664 if (!SWIG_IsOK(ecode3
)) {
28665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28667 arg3
= static_cast< wxDouble
>(val3
);
28669 (arg1
)->Scale(arg2
,arg3
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= SWIG_Py_Void();
28679 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
= 0;
28681 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28687 PyObject
* obj0
= 0 ;
28688 PyObject
* obj1
= 0 ;
28689 char * kwnames
[] = {
28690 (char *) "self",(char *) "angle", NULL
28693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28695 if (!SWIG_IsOK(res1
)) {
28696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28698 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28699 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28700 if (!SWIG_IsOK(ecode2
)) {
28701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28703 arg2
= static_cast< wxDouble
>(val2
);
28705 (arg1
)->Rotate(arg2
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_Py_Void();
28715 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
= 0;
28717 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28718 wxGraphicsMatrix
*arg2
= 0 ;
28723 PyObject
* obj0
= 0 ;
28724 PyObject
* obj1
= 0 ;
28725 char * kwnames
[] = {
28726 (char *) "self",(char *) "matrix", NULL
28729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28731 if (!SWIG_IsOK(res1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28734 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28736 if (!SWIG_IsOK(res2
)) {
28737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28742 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28744 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= SWIG_Py_Void();
28754 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28755 PyObject
*resultobj
= 0;
28756 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28757 wxGraphicsMatrix
*arg2
= 0 ;
28762 PyObject
* obj0
= 0 ;
28763 PyObject
* obj1
= 0 ;
28764 char * kwnames
[] = {
28765 (char *) "self",(char *) "matrix", NULL
28768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28770 if (!SWIG_IsOK(res1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28773 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28775 if (!SWIG_IsOK(res2
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28781 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28783 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= SWIG_Py_Void();
28793 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28794 PyObject
*resultobj
= 0;
28795 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28796 wxGraphicsMatrix result
;
28799 PyObject
*swig_obj
[1] ;
28801 if (!args
) SWIG_fail
;
28802 swig_obj
[0] = args
;
28803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28804 if (!SWIG_IsOK(res1
)) {
28805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28807 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28809 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28819 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28820 PyObject
*resultobj
= 0;
28821 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28822 wxGraphicsPen
*arg2
= 0 ;
28828 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28830 if (!SWIG_IsOK(res1
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28833 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28834 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28835 if (!SWIG_IsOK(res2
)) {
28836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28841 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28843 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 resultobj
= SWIG_Py_Void();
28853 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28854 PyObject
*resultobj
= 0;
28855 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28862 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28864 if (!SWIG_IsOK(res1
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28867 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28868 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28869 if (!SWIG_IsOK(res2
)) {
28870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28875 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28877 (arg1
)->SetPen((wxPen
const &)*arg2
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28880 resultobj
= SWIG_Py_Void();
28887 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28891 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28896 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28897 _v
= SWIG_CheckState(res
);
28899 if (!_v
) goto check_1
;
28900 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28905 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28909 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28914 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28915 PyObject
*resultobj
= 0;
28916 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28917 wxGraphicsBrush
*arg2
= 0 ;
28923 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28928 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28929 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28930 if (!SWIG_IsOK(res2
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28936 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28938 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 resultobj
= SWIG_Py_Void();
28948 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28949 PyObject
*resultobj
= 0;
28950 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28951 wxBrush
*arg2
= 0 ;
28957 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28959 if (!SWIG_IsOK(res1
)) {
28960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28962 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28963 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28964 if (!SWIG_IsOK(res2
)) {
28965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28970 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28972 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= SWIG_Py_Void();
28982 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28986 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28991 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28992 _v
= SWIG_CheckState(res
);
28994 if (!_v
) goto check_1
;
28995 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29000 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29004 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29009 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29010 PyObject
*resultobj
= 0;
29011 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29012 wxGraphicsFont
*arg2
= 0 ;
29018 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29020 if (!SWIG_IsOK(res1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29023 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29024 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29025 if (!SWIG_IsOK(res2
)) {
29026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29031 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29033 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 resultobj
= SWIG_Py_Void();
29043 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29044 PyObject
*resultobj
= 0;
29045 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29047 wxColour
const &arg3_defvalue
= *wxBLACK
;
29048 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29055 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29057 if (!SWIG_IsOK(res1
)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29060 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29061 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29062 if (!SWIG_IsOK(res2
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29068 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29072 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29076 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= SWIG_Py_Void();
29086 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29090 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29095 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29096 _v
= SWIG_CheckState(res
);
29098 if (!_v
) goto check_1
;
29099 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29103 if ((argc
>= 2) && (argc
<= 3)) {
29104 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29108 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29113 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29114 PyObject
*resultobj
= 0;
29115 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29116 wxGraphicsPath
*arg2
= 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char * kwnames
[] = {
29124 (char *) "self",(char *) "path", NULL
29127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29129 if (!SWIG_IsOK(res1
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29132 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29134 if (!SWIG_IsOK(res2
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29140 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29142 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= SWIG_Py_Void();
29152 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
= 0;
29154 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29155 wxGraphicsPath
*arg2
= 0 ;
29156 int arg3
= (int) wxODDEVEN_RULE
;
29163 PyObject
* obj0
= 0 ;
29164 PyObject
* obj1
= 0 ;
29165 PyObject
* obj2
= 0 ;
29166 char * kwnames
[] = {
29167 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29172 if (!SWIG_IsOK(res1
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29175 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29177 if (!SWIG_IsOK(res2
)) {
29178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29183 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29186 if (!SWIG_IsOK(ecode3
)) {
29187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29189 arg3
= static_cast< int >(val3
);
29192 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= SWIG_Py_Void();
29202 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
= 0;
29204 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29205 wxGraphicsPath
*arg2
= 0 ;
29206 int arg3
= (int) wxODDEVEN_RULE
;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 PyObject
* obj2
= 0 ;
29216 char * kwnames
[] = {
29217 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29222 if (!SWIG_IsOK(res1
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29225 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29227 if (!SWIG_IsOK(res2
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29233 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29236 if (!SWIG_IsOK(ecode3
)) {
29237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29239 arg3
= static_cast< int >(val3
);
29242 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 resultobj
= SWIG_Py_Void();
29252 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
= 0;
29254 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29255 wxString
*arg2
= 0 ;
29258 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29259 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29262 bool temp2
= false ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 PyObject
* obj2
= 0 ;
29272 PyObject
* obj3
= 0 ;
29273 PyObject
* obj4
= 0 ;
29274 char * kwnames
[] = {
29275 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29280 if (!SWIG_IsOK(res1
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29283 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29285 arg2
= wxString_in_helper(obj1
);
29286 if (arg2
== NULL
) SWIG_fail
;
29289 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29290 if (!SWIG_IsOK(ecode3
)) {
29291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29293 arg3
= static_cast< wxDouble
>(val3
);
29294 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29295 if (!SWIG_IsOK(ecode4
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29298 arg4
= static_cast< wxDouble
>(val4
);
29300 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29301 if (!SWIG_IsOK(res5
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29307 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29310 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= SWIG_Py_Void();
29328 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
= 0;
29330 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29331 wxString
*arg2
= 0 ;
29335 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29336 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29339 bool temp2
= false ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 PyObject
* obj2
= 0 ;
29351 PyObject
* obj3
= 0 ;
29352 PyObject
* obj4
= 0 ;
29353 PyObject
* obj5
= 0 ;
29354 char * kwnames
[] = {
29355 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29360 if (!SWIG_IsOK(res1
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29363 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29365 arg2
= wxString_in_helper(obj1
);
29366 if (arg2
== NULL
) SWIG_fail
;
29369 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29370 if (!SWIG_IsOK(ecode3
)) {
29371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29373 arg3
= static_cast< wxDouble
>(val3
);
29374 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29375 if (!SWIG_IsOK(ecode4
)) {
29376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29378 arg4
= static_cast< wxDouble
>(val4
);
29379 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29380 if (!SWIG_IsOK(ecode5
)) {
29381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29383 arg5
= static_cast< wxDouble
>(val5
);
29385 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29386 if (!SWIG_IsOK(res6
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29392 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29395 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= SWIG_Py_Void();
29413 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
= 0;
29415 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29416 wxString
*arg2
= 0 ;
29417 wxDouble
*arg3
= (wxDouble
*) 0 ;
29418 wxDouble
*arg4
= (wxDouble
*) 0 ;
29419 wxDouble
*arg5
= (wxDouble
*) 0 ;
29420 wxDouble
*arg6
= (wxDouble
*) 0 ;
29423 bool temp2
= false ;
29425 int res3
= SWIG_TMPOBJ
;
29427 int res4
= SWIG_TMPOBJ
;
29429 int res5
= SWIG_TMPOBJ
;
29431 int res6
= SWIG_TMPOBJ
;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 char * kwnames
[] = {
29435 (char *) "self",(char *) "text", NULL
29442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29444 if (!SWIG_IsOK(res1
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29447 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29449 arg2
= wxString_in_helper(obj1
);
29450 if (arg2
== NULL
) SWIG_fail
;
29454 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= SWIG_Py_Void();
29458 if (SWIG_IsTmpObj(res3
)) {
29459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29461 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29464 if (SWIG_IsTmpObj(res4
)) {
29465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29467 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29470 if (SWIG_IsTmpObj(res5
)) {
29471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29473 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29476 if (SWIG_IsTmpObj(res6
)) {
29477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29479 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29496 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
= 0;
29498 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29499 wxString
*arg2
= 0 ;
29500 PyObject
*result
= 0 ;
29503 bool temp2
= false ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 char * kwnames
[] = {
29507 (char *) "self",(char *) "text", NULL
29510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29515 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29517 arg2
= wxString_in_helper(obj1
);
29518 if (arg2
== NULL
) SWIG_fail
;
29522 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= result
;
29540 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
= 0;
29542 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29543 wxString
*arg2
= 0 ;
29544 wxArrayDouble result
;
29547 bool temp2
= false ;
29548 PyObject
* obj0
= 0 ;
29549 PyObject
* obj1
= 0 ;
29550 char * kwnames
[] = {
29551 (char *) "self",(char *) "text", NULL
29554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29556 if (!SWIG_IsOK(res1
)) {
29557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29559 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29561 arg2
= wxString_in_helper(obj1
);
29562 if (arg2
== NULL
) SWIG_fail
;
29566 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= wxArrayDouble2PyList_helper(result
);
29586 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
= 0;
29588 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29589 wxBitmap
*arg2
= 0 ;
29606 PyObject
* obj0
= 0 ;
29607 PyObject
* obj1
= 0 ;
29608 PyObject
* obj2
= 0 ;
29609 PyObject
* obj3
= 0 ;
29610 PyObject
* obj4
= 0 ;
29611 PyObject
* obj5
= 0 ;
29612 char * kwnames
[] = {
29613 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29621 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29623 if (!SWIG_IsOK(res2
)) {
29624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29629 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29630 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29631 if (!SWIG_IsOK(ecode3
)) {
29632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29634 arg3
= static_cast< wxDouble
>(val3
);
29635 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29636 if (!SWIG_IsOK(ecode4
)) {
29637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29639 arg4
= static_cast< wxDouble
>(val4
);
29640 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29641 if (!SWIG_IsOK(ecode5
)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29644 arg5
= static_cast< wxDouble
>(val5
);
29645 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29646 if (!SWIG_IsOK(ecode6
)) {
29647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29649 arg6
= static_cast< wxDouble
>(val6
);
29651 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29654 resultobj
= SWIG_Py_Void();
29661 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29662 PyObject
*resultobj
= 0;
29663 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29681 PyObject
* obj0
= 0 ;
29682 PyObject
* obj1
= 0 ;
29683 PyObject
* obj2
= 0 ;
29684 PyObject
* obj3
= 0 ;
29685 PyObject
* obj4
= 0 ;
29686 PyObject
* obj5
= 0 ;
29687 char * kwnames
[] = {
29688 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29696 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29698 if (!SWIG_IsOK(res2
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29704 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29705 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29706 if (!SWIG_IsOK(ecode3
)) {
29707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29709 arg3
= static_cast< wxDouble
>(val3
);
29710 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29711 if (!SWIG_IsOK(ecode4
)) {
29712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29714 arg4
= static_cast< wxDouble
>(val4
);
29715 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29716 if (!SWIG_IsOK(ecode5
)) {
29717 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29719 arg5
= static_cast< wxDouble
>(val5
);
29720 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29721 if (!SWIG_IsOK(ecode6
)) {
29722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29724 arg6
= static_cast< wxDouble
>(val6
);
29726 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29729 resultobj
= SWIG_Py_Void();
29736 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
= 0;
29738 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29753 PyObject
* obj0
= 0 ;
29754 PyObject
* obj1
= 0 ;
29755 PyObject
* obj2
= 0 ;
29756 PyObject
* obj3
= 0 ;
29757 PyObject
* obj4
= 0 ;
29758 char * kwnames
[] = {
29759 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29767 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29768 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29769 if (!SWIG_IsOK(ecode2
)) {
29770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29772 arg2
= static_cast< wxDouble
>(val2
);
29773 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29774 if (!SWIG_IsOK(ecode3
)) {
29775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29777 arg3
= static_cast< wxDouble
>(val3
);
29778 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29779 if (!SWIG_IsOK(ecode4
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29782 arg4
= static_cast< wxDouble
>(val4
);
29783 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29784 if (!SWIG_IsOK(ecode5
)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29787 arg5
= static_cast< wxDouble
>(val5
);
29789 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= SWIG_Py_Void();
29799 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
= 0;
29801 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29803 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 char * kwnames
[] = {
29809 (char *) "self",(char *) "points", NULL
29812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29814 if (!SWIG_IsOK(res1
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29817 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29819 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29820 if (arg3
== NULL
) SWIG_fail
;
29823 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= SWIG_Py_Void();
29828 if (arg3
) delete [] arg3
;
29833 if (arg3
) delete [] arg3
;
29839 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
= 0;
29841 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29842 PyObject
*arg2
= (PyObject
*) 0 ;
29843 PyObject
*arg3
= (PyObject
*) 0 ;
29846 PyObject
* obj0
= 0 ;
29847 PyObject
* obj1
= 0 ;
29848 PyObject
* obj2
= 0 ;
29849 char * kwnames
[] = {
29850 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29855 if (!SWIG_IsOK(res1
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29858 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29862 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 resultobj
= SWIG_Py_Void();
29872 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
= 0;
29874 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29876 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29877 int arg4
= (int) wxODDEVEN_RULE
;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 char * kwnames
[] = {
29886 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29891 if (!SWIG_IsOK(res1
)) {
29892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29894 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29896 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29897 if (arg3
== NULL
) SWIG_fail
;
29900 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29901 if (!SWIG_IsOK(ecode4
)) {
29902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29904 arg4
= static_cast< int >(val4
);
29907 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= SWIG_Py_Void();
29912 if (arg3
) delete [] arg3
;
29917 if (arg3
) delete [] arg3
;
29923 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29924 PyObject
*resultobj
= 0;
29925 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj1
= 0 ;
29942 PyObject
* obj2
= 0 ;
29943 PyObject
* obj3
= 0 ;
29944 PyObject
* obj4
= 0 ;
29945 char * kwnames
[] = {
29946 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29951 if (!SWIG_IsOK(res1
)) {
29952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29954 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29955 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29956 if (!SWIG_IsOK(ecode2
)) {
29957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29959 arg2
= static_cast< wxDouble
>(val2
);
29960 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29961 if (!SWIG_IsOK(ecode3
)) {
29962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29964 arg3
= static_cast< wxDouble
>(val3
);
29965 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29966 if (!SWIG_IsOK(ecode4
)) {
29967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29969 arg4
= static_cast< wxDouble
>(val4
);
29970 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29971 if (!SWIG_IsOK(ecode5
)) {
29972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29974 arg5
= static_cast< wxDouble
>(val5
);
29976 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= SWIG_Py_Void();
29986 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
= 0;
29988 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 PyObject
* obj2
= 0 ;
30006 PyObject
* obj3
= 0 ;
30007 PyObject
* obj4
= 0 ;
30008 char * kwnames
[] = {
30009 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30014 if (!SWIG_IsOK(res1
)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30017 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30018 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30019 if (!SWIG_IsOK(ecode2
)) {
30020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30022 arg2
= static_cast< wxDouble
>(val2
);
30023 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30024 if (!SWIG_IsOK(ecode3
)) {
30025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30027 arg3
= static_cast< wxDouble
>(val3
);
30028 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30029 if (!SWIG_IsOK(ecode4
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30032 arg4
= static_cast< wxDouble
>(val4
);
30033 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30034 if (!SWIG_IsOK(ecode5
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30037 arg5
= static_cast< wxDouble
>(val5
);
30039 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 resultobj
= SWIG_Py_Void();
30049 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
= 0;
30051 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 PyObject
* obj2
= 0 ;
30072 PyObject
* obj3
= 0 ;
30073 PyObject
* obj4
= 0 ;
30074 PyObject
* obj5
= 0 ;
30075 char * kwnames
[] = {
30076 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30084 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30085 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30086 if (!SWIG_IsOK(ecode2
)) {
30087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30089 arg2
= static_cast< wxDouble
>(val2
);
30090 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30091 if (!SWIG_IsOK(ecode3
)) {
30092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30094 arg3
= static_cast< wxDouble
>(val3
);
30095 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30096 if (!SWIG_IsOK(ecode4
)) {
30097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30099 arg4
= static_cast< wxDouble
>(val4
);
30100 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30101 if (!SWIG_IsOK(ecode5
)) {
30102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30104 arg5
= static_cast< wxDouble
>(val5
);
30105 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30106 if (!SWIG_IsOK(ecode6
)) {
30107 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30109 arg6
= static_cast< wxDouble
>(val6
);
30111 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= SWIG_Py_Void();
30121 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30122 PyObject
*resultobj
= 0;
30123 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30127 PyObject
*swig_obj
[1] ;
30129 if (!args
) SWIG_fail
;
30130 swig_obj
[0] = args
;
30131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30132 if (!SWIG_IsOK(res1
)) {
30133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30135 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30137 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30138 if (PyErr_Occurred()) SWIG_fail
;
30141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30149 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30152 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30153 return SWIG_Py_Void();
30156 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30157 PyObject
*resultobj
= 0;
30158 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30161 PyObject
*swig_obj
[1] ;
30163 if (!args
) SWIG_fail
;
30164 swig_obj
[0] = args
;
30165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30169 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 resultobj
= SWIG_Py_Void();
30182 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30183 PyObject
*resultobj
= 0;
30184 wxGraphicsRenderer
*result
= 0 ;
30186 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30188 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30189 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30198 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30199 PyObject
*resultobj
= 0;
30200 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30201 wxWindowDC
*arg2
= 0 ;
30202 wxGraphicsContext
*result
= 0 ;
30208 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30210 if (!SWIG_IsOK(res1
)) {
30211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30213 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30214 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30215 if (!SWIG_IsOK(res2
)) {
30216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30221 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30223 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30233 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30234 PyObject
*resultobj
= 0;
30235 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30236 wxWindow
*arg2
= (wxWindow
*) 0 ;
30237 wxGraphicsContext
*result
= 0 ;
30243 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30245 if (!SWIG_IsOK(res1
)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30248 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30249 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30250 if (!SWIG_IsOK(res2
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30253 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30255 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30265 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30269 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30274 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30275 _v
= SWIG_CheckState(res
);
30277 if (!_v
) goto check_1
;
30278 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30283 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30287 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30292 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30293 PyObject
*resultobj
= 0;
30294 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30295 wxGraphicsContext
*result
= 0 ;
30298 PyObject
*swig_obj
[1] ;
30300 if (!args
) SWIG_fail
;
30301 swig_obj
[0] = args
;
30302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30303 if (!SWIG_IsOK(res1
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30306 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30308 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30309 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30318 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
= 0;
30320 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30321 void *arg2
= (void *) 0 ;
30322 wxGraphicsContext
*result
= 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char * kwnames
[] = {
30329 (char *) "self",(char *) "context", NULL
30332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30334 if (!SWIG_IsOK(res1
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30337 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30338 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30339 if (!SWIG_IsOK(res2
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30343 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30353 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
= 0;
30355 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30356 void *arg2
= (void *) 0 ;
30357 wxGraphicsContext
*result
= 0 ;
30361 PyObject
* obj0
= 0 ;
30362 PyObject
* obj1
= 0 ;
30363 char * kwnames
[] = {
30364 (char *) "self",(char *) "window", NULL
30367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30369 if (!SWIG_IsOK(res1
)) {
30370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30372 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30373 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30374 if (!SWIG_IsOK(res2
)) {
30375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30378 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30388 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30389 PyObject
*resultobj
= 0;
30390 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30391 wxGraphicsPath result
;
30394 PyObject
*swig_obj
[1] ;
30396 if (!args
) SWIG_fail
;
30397 swig_obj
[0] = args
;
30398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30399 if (!SWIG_IsOK(res1
)) {
30400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30402 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30404 result
= (arg1
)->CreatePath();
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30414 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
= 0;
30416 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30417 wxDouble arg2
= (wxDouble
) 1.0 ;
30418 wxDouble arg3
= (wxDouble
) 0.0 ;
30419 wxDouble arg4
= (wxDouble
) 0.0 ;
30420 wxDouble arg5
= (wxDouble
) 1.0 ;
30421 wxDouble arg6
= (wxDouble
) 0.0 ;
30422 wxDouble arg7
= (wxDouble
) 0.0 ;
30423 wxGraphicsMatrix result
;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 PyObject
* obj2
= 0 ;
30441 PyObject
* obj3
= 0 ;
30442 PyObject
* obj4
= 0 ;
30443 PyObject
* obj5
= 0 ;
30444 PyObject
* obj6
= 0 ;
30445 char * kwnames
[] = {
30446 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30451 if (!SWIG_IsOK(res1
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30454 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30456 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30457 if (!SWIG_IsOK(ecode2
)) {
30458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30460 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 '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30467 arg3
= static_cast< wxDouble
>(val3
);
30470 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30471 if (!SWIG_IsOK(ecode4
)) {
30472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30474 arg4
= static_cast< wxDouble
>(val4
);
30477 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30478 if (!SWIG_IsOK(ecode5
)) {
30479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30481 arg5
= static_cast< wxDouble
>(val5
);
30484 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30485 if (!SWIG_IsOK(ecode6
)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30488 arg6
= static_cast< wxDouble
>(val6
);
30491 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30492 if (!SWIG_IsOK(ecode7
)) {
30493 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30495 arg7
= static_cast< wxDouble
>(val7
);
30498 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30508 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
= 0;
30510 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30512 wxGraphicsPen result
;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 char * kwnames
[] = {
30520 (char *) "self",(char *) "pen", NULL
30523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30525 if (!SWIG_IsOK(res1
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30528 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30529 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30530 if (!SWIG_IsOK(res2
)) {
30531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30536 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30538 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30548 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
= 0;
30550 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30551 wxBrush
*arg2
= 0 ;
30552 wxGraphicsBrush result
;
30557 PyObject
* obj0
= 0 ;
30558 PyObject
* obj1
= 0 ;
30559 char * kwnames
[] = {
30560 (char *) "self",(char *) "brush", NULL
30563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30568 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30570 if (!SWIG_IsOK(res2
)) {
30571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30576 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30578 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30588 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30589 PyObject
*resultobj
= 0;
30590 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30595 wxColour
*arg6
= 0 ;
30596 wxColour
*arg7
= 0 ;
30597 wxGraphicsBrush result
;
30610 PyObject
* obj0
= 0 ;
30611 PyObject
* obj1
= 0 ;
30612 PyObject
* obj2
= 0 ;
30613 PyObject
* obj3
= 0 ;
30614 PyObject
* obj4
= 0 ;
30615 PyObject
* obj5
= 0 ;
30616 PyObject
* obj6
= 0 ;
30617 char * kwnames
[] = {
30618 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30623 if (!SWIG_IsOK(res1
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30626 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30627 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30628 if (!SWIG_IsOK(ecode2
)) {
30629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30631 arg2
= static_cast< wxDouble
>(val2
);
30632 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30633 if (!SWIG_IsOK(ecode3
)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30636 arg3
= static_cast< wxDouble
>(val3
);
30637 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30638 if (!SWIG_IsOK(ecode4
)) {
30639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30641 arg4
= static_cast< wxDouble
>(val4
);
30642 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30643 if (!SWIG_IsOK(ecode5
)) {
30644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30646 arg5
= static_cast< wxDouble
>(val5
);
30649 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30653 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30656 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30666 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
= 0;
30668 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30674 wxColour
*arg7
= 0 ;
30675 wxColour
*arg8
= 0 ;
30676 wxGraphicsBrush result
;
30691 PyObject
* obj0
= 0 ;
30692 PyObject
* obj1
= 0 ;
30693 PyObject
* obj2
= 0 ;
30694 PyObject
* obj3
= 0 ;
30695 PyObject
* obj4
= 0 ;
30696 PyObject
* obj5
= 0 ;
30697 PyObject
* obj6
= 0 ;
30698 PyObject
* obj7
= 0 ;
30699 char * kwnames
[] = {
30700 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30705 if (!SWIG_IsOK(res1
)) {
30706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30708 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30709 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30710 if (!SWIG_IsOK(ecode2
)) {
30711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30713 arg2
= static_cast< wxDouble
>(val2
);
30714 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30715 if (!SWIG_IsOK(ecode3
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30718 arg3
= static_cast< wxDouble
>(val3
);
30719 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30720 if (!SWIG_IsOK(ecode4
)) {
30721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30723 arg4
= static_cast< wxDouble
>(val4
);
30724 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30725 if (!SWIG_IsOK(ecode5
)) {
30726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30728 arg5
= static_cast< wxDouble
>(val5
);
30729 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30730 if (!SWIG_IsOK(ecode6
)) {
30731 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30733 arg6
= static_cast< wxDouble
>(val6
);
30736 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30740 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30743 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30746 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30753 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
= 0;
30755 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30757 wxColour
const &arg3_defvalue
= *wxBLACK
;
30758 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30759 wxGraphicsFont result
;
30765 PyObject
* obj0
= 0 ;
30766 PyObject
* obj1
= 0 ;
30767 PyObject
* obj2
= 0 ;
30768 char * kwnames
[] = {
30769 (char *) "self",(char *) "font",(char *) "col", NULL
30772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30774 if (!SWIG_IsOK(res1
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30777 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30779 if (!SWIG_IsOK(res2
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30785 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30789 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30793 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30796 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30803 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30806 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30807 return SWIG_Py_Void();
30810 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30811 PyObject
*resultobj
= 0;
30812 wxWindowDC
*arg1
= 0 ;
30813 wxGCDC
*result
= 0 ;
30817 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30819 if (!SWIG_IsOK(res1
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30825 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30827 if (!wxPyCheckForApp()) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30840 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30841 PyObject
*resultobj
= 0;
30842 wxWindow
*arg1
= (wxWindow
*) 0 ;
30843 wxGCDC
*result
= 0 ;
30847 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30849 if (!SWIG_IsOK(res1
)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30854 if (!wxPyCheckForApp()) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (wxGCDC
*)new wxGCDC(arg1
);
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30867 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30871 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30876 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30877 _v
= SWIG_CheckState(res
);
30879 if (!_v
) goto check_1
;
30880 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30885 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30889 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30894 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30895 PyObject
*resultobj
= 0;
30896 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30899 PyObject
*swig_obj
[1] ;
30901 if (!args
) SWIG_fail
;
30902 swig_obj
[0] = args
;
30903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30904 if (!SWIG_IsOK(res1
)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30907 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_Py_Void();
30920 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30921 PyObject
*resultobj
= 0;
30922 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30923 wxGraphicsContext
*result
= 0 ;
30926 PyObject
*swig_obj
[1] ;
30928 if (!args
) SWIG_fail
;
30929 swig_obj
[0] = args
;
30930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30934 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30936 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30946 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30947 PyObject
*resultobj
= 0;
30948 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30949 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30954 PyObject
* obj0
= 0 ;
30955 PyObject
* obj1
= 0 ;
30956 char * kwnames
[] = {
30957 (char *) "self",(char *) "ctx", NULL
30960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30962 if (!SWIG_IsOK(res1
)) {
30963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30965 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30967 if (!SWIG_IsOK(res2
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30970 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30972 (arg1
)->SetGraphicsContext(arg2
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30975 resultobj
= SWIG_Py_Void();
30982 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30985 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30986 return SWIG_Py_Void();
30989 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30990 return SWIG_Python_InitShadowInstance(args
);
30993 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30994 PyObject
*resultobj
= 0;
30995 wxOverlay
*result
= 0 ;
30997 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31000 result
= (wxOverlay
*)new wxOverlay();
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31011 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31012 PyObject
*resultobj
= 0;
31013 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31016 PyObject
*swig_obj
[1] ;
31018 if (!args
) SWIG_fail
;
31019 swig_obj
[0] = args
;
31020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31021 if (!SWIG_IsOK(res1
)) {
31022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31024 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= SWIG_Py_Void();
31039 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31040 PyObject
*resultobj
= 0;
31041 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31044 PyObject
*swig_obj
[1] ;
31046 if (!args
) SWIG_fail
;
31047 swig_obj
[0] = args
;
31048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31049 if (!SWIG_IsOK(res1
)) {
31050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31052 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= SWIG_Py_Void();
31066 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31069 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31070 return SWIG_Py_Void();
31073 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31074 return SWIG_Python_InitShadowInstance(args
);
31077 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31078 PyObject
*resultobj
= 0;
31079 wxOverlay
*arg1
= 0 ;
31080 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31085 wxDCOverlay
*result
= 0 ;
31099 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31101 if (!SWIG_IsOK(res1
)) {
31102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31107 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31108 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31109 if (!SWIG_IsOK(res2
)) {
31110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31112 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31113 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31114 if (!SWIG_IsOK(ecode3
)) {
31115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31117 arg3
= static_cast< int >(val3
);
31118 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31119 if (!SWIG_IsOK(ecode4
)) {
31120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31122 arg4
= static_cast< int >(val4
);
31123 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31124 if (!SWIG_IsOK(ecode5
)) {
31125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31127 arg5
= static_cast< int >(val5
);
31128 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31129 if (!SWIG_IsOK(ecode6
)) {
31130 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31132 arg6
= static_cast< int >(val6
);
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31146 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31147 PyObject
*resultobj
= 0;
31148 wxOverlay
*arg1
= 0 ;
31149 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31150 wxDCOverlay
*result
= 0 ;
31156 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31158 if (!SWIG_IsOK(res1
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31164 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31165 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31166 if (!SWIG_IsOK(res2
)) {
31167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31169 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31183 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31187 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31190 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31193 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31197 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31202 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31203 PyObject
*resultobj
= 0;
31204 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31207 PyObject
*swig_obj
[1] ;
31209 if (!args
) SWIG_fail
;
31210 swig_obj
[0] = args
;
31211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31212 if (!SWIG_IsOK(res1
)) {
31213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31215 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_Py_Void();
31230 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31231 PyObject
*resultobj
= 0;
31232 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31235 PyObject
*swig_obj
[1] ;
31237 if (!args
) SWIG_fail
;
31238 swig_obj
[0] = args
;
31239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31240 if (!SWIG_IsOK(res1
)) {
31241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31243 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31250 resultobj
= SWIG_Py_Void();
31257 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31260 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31261 return SWIG_Py_Void();
31264 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31265 return SWIG_Python_InitShadowInstance(args
);
31268 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
= 0;
31272 int arg3
= (int) true ;
31273 int arg4
= (int) 1 ;
31274 wxImageList
*result
= 0 ;
31283 PyObject
* obj0
= 0 ;
31284 PyObject
* obj1
= 0 ;
31285 PyObject
* obj2
= 0 ;
31286 PyObject
* obj3
= 0 ;
31287 char * kwnames
[] = {
31288 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31292 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31293 if (!SWIG_IsOK(ecode1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31296 arg1
= static_cast< int >(val1
);
31297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31298 if (!SWIG_IsOK(ecode2
)) {
31299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31301 arg2
= static_cast< int >(val2
);
31303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31304 if (!SWIG_IsOK(ecode3
)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31307 arg3
= static_cast< int >(val3
);
31310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31311 if (!SWIG_IsOK(ecode4
)) {
31312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31314 arg4
= static_cast< int >(val4
);
31317 if (!wxPyCheckForApp()) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31330 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31331 PyObject
*resultobj
= 0;
31332 wxImageList
*arg1
= (wxImageList
*) 0 ;
31335 PyObject
*swig_obj
[1] ;
31337 if (!args
) SWIG_fail
;
31338 swig_obj
[0] = args
;
31339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31340 if (!SWIG_IsOK(res1
)) {
31341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31343 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= SWIG_Py_Void();
31358 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
= 0;
31360 wxImageList
*arg1
= (wxImageList
*) 0 ;
31361 wxBitmap
*arg2
= 0 ;
31362 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31363 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31371 PyObject
* obj0
= 0 ;
31372 PyObject
* obj1
= 0 ;
31373 PyObject
* obj2
= 0 ;
31374 char * kwnames
[] = {
31375 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31380 if (!SWIG_IsOK(res1
)) {
31381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31383 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31384 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31385 if (!SWIG_IsOK(res2
)) {
31386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31391 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31393 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31394 if (!SWIG_IsOK(res3
)) {
31395 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31400 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31408 resultobj
= SWIG_From_int(static_cast< int >(result
));
31415 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31416 PyObject
*resultobj
= 0;
31417 wxImageList
*arg1
= (wxImageList
*) 0 ;
31418 wxBitmap
*arg2
= 0 ;
31419 wxColour
*arg3
= 0 ;
31426 PyObject
* obj0
= 0 ;
31427 PyObject
* obj1
= 0 ;
31428 PyObject
* obj2
= 0 ;
31429 char * kwnames
[] = {
31430 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31435 if (!SWIG_IsOK(res1
)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31438 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31440 if (!SWIG_IsOK(res2
)) {
31441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31446 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31449 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= SWIG_From_int(static_cast< int >(result
));
31464 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
= 0;
31466 wxImageList
*arg1
= (wxImageList
*) 0 ;
31473 PyObject
* obj0
= 0 ;
31474 PyObject
* obj1
= 0 ;
31475 char * kwnames
[] = {
31476 (char *) "self",(char *) "icon", NULL
31479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31481 if (!SWIG_IsOK(res1
)) {
31482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31484 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31486 if (!SWIG_IsOK(res2
)) {
31487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31492 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31496 wxPyEndAllowThreads(__tstate
);
31497 if (PyErr_Occurred()) SWIG_fail
;
31499 resultobj
= SWIG_From_int(static_cast< int >(result
));
31506 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31507 PyObject
*resultobj
= 0;
31508 wxImageList
*arg1
= (wxImageList
*) 0 ;
31510 SwigValueWrapper
<wxBitmap
> result
;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 char * kwnames
[] = {
31518 (char *) "self",(char *) "index", NULL
31521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31523 if (!SWIG_IsOK(res1
)) {
31524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31526 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31528 if (!SWIG_IsOK(ecode2
)) {
31529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31531 arg2
= static_cast< int >(val2
);
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31545 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31546 PyObject
*resultobj
= 0;
31547 wxImageList
*arg1
= (wxImageList
*) 0 ;
31554 PyObject
* obj0
= 0 ;
31555 PyObject
* obj1
= 0 ;
31556 char * kwnames
[] = {
31557 (char *) "self",(char *) "index", NULL
31560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31562 if (!SWIG_IsOK(res1
)) {
31563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31565 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31567 if (!SWIG_IsOK(ecode2
)) {
31568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31570 arg2
= static_cast< int >(val2
);
31572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31573 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31584 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31585 PyObject
*resultobj
= 0;
31586 wxImageList
*arg1
= (wxImageList
*) 0 ;
31588 wxBitmap
*arg3
= 0 ;
31589 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31590 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31600 PyObject
* obj0
= 0 ;
31601 PyObject
* obj1
= 0 ;
31602 PyObject
* obj2
= 0 ;
31603 PyObject
* obj3
= 0 ;
31604 char * kwnames
[] = {
31605 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31610 if (!SWIG_IsOK(res1
)) {
31611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31613 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31615 if (!SWIG_IsOK(ecode2
)) {
31616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31618 arg2
= static_cast< int >(val2
);
31619 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31620 if (!SWIG_IsOK(res3
)) {
31621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31626 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31628 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31629 if (!SWIG_IsOK(res4
)) {
31630 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31635 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31652 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= 0;
31654 wxImageList
*arg1
= (wxImageList
*) 0 ;
31659 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31660 bool arg7
= (bool) (bool)false ;
31676 PyObject
* obj0
= 0 ;
31677 PyObject
* obj1
= 0 ;
31678 PyObject
* obj2
= 0 ;
31679 PyObject
* obj3
= 0 ;
31680 PyObject
* obj4
= 0 ;
31681 PyObject
* obj5
= 0 ;
31682 PyObject
* obj6
= 0 ;
31683 char * kwnames
[] = {
31684 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31689 if (!SWIG_IsOK(res1
)) {
31690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31692 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31694 if (!SWIG_IsOK(ecode2
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31697 arg2
= static_cast< int >(val2
);
31698 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31699 if (!SWIG_IsOK(res3
)) {
31700 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31705 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31706 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31707 if (!SWIG_IsOK(ecode4
)) {
31708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31710 arg4
= static_cast< int >(val4
);
31711 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31712 if (!SWIG_IsOK(ecode5
)) {
31713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31715 arg5
= static_cast< int >(val5
);
31717 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31718 if (!SWIG_IsOK(ecode6
)) {
31719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31721 arg6
= static_cast< int >(val6
);
31724 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31725 if (!SWIG_IsOK(ecode7
)) {
31726 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31728 arg7
= static_cast< bool >(val7
);
31731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31732 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31745 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31746 PyObject
*resultobj
= 0;
31747 wxImageList
*arg1
= (wxImageList
*) 0 ;
31751 PyObject
*swig_obj
[1] ;
31753 if (!args
) SWIG_fail
;
31754 swig_obj
[0] = args
;
31755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31756 if (!SWIG_IsOK(res1
)) {
31757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31759 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31762 result
= (int)(arg1
)->GetImageCount();
31763 wxPyEndAllowThreads(__tstate
);
31764 if (PyErr_Occurred()) SWIG_fail
;
31766 resultobj
= SWIG_From_int(static_cast< int >(result
));
31773 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31774 PyObject
*resultobj
= 0;
31775 wxImageList
*arg1
= (wxImageList
*) 0 ;
31782 PyObject
* obj0
= 0 ;
31783 PyObject
* obj1
= 0 ;
31784 char * kwnames
[] = {
31785 (char *) "self",(char *) "index", NULL
31788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31790 if (!SWIG_IsOK(res1
)) {
31791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31793 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31795 if (!SWIG_IsOK(ecode2
)) {
31796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31798 arg2
= static_cast< int >(val2
);
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 result
= (bool)(arg1
)->Remove(arg2
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31814 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31815 PyObject
*resultobj
= 0;
31816 wxImageList
*arg1
= (wxImageList
*) 0 ;
31820 PyObject
*swig_obj
[1] ;
31822 if (!args
) SWIG_fail
;
31823 swig_obj
[0] = args
;
31824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31825 if (!SWIG_IsOK(res1
)) {
31826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31828 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31831 result
= (bool)(arg1
)->RemoveAll();
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31844 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
= 0;
31846 wxImageList
*arg1
= (wxImageList
*) 0 ;
31855 int res3
= SWIG_TMPOBJ
;
31857 int res4
= SWIG_TMPOBJ
;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 char * kwnames
[] = {
31861 (char *) "self",(char *) "index", NULL
31866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31868 if (!SWIG_IsOK(res1
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31871 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31873 if (!SWIG_IsOK(ecode2
)) {
31874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31876 arg2
= static_cast< int >(val2
);
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= SWIG_Py_Void();
31884 if (SWIG_IsTmpObj(res3
)) {
31885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31887 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31890 if (SWIG_IsTmpObj(res4
)) {
31891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31893 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31902 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31905 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31906 return SWIG_Py_Void();
31909 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31910 return SWIG_Python_InitShadowInstance(args
);
31913 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31914 PyObject
*resultobj
= 0;
31915 wxStockGDI
*result
= 0 ;
31917 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31920 result
= (wxStockGDI
*)new wxStockGDI();
31921 wxPyEndAllowThreads(__tstate
);
31922 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31931 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31932 PyObject
*resultobj
= 0;
31933 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31936 PyObject
*swig_obj
[1] ;
31938 if (!args
) SWIG_fail
;
31939 swig_obj
[0] = args
;
31940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31941 if (!SWIG_IsOK(res1
)) {
31942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31944 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 wxPyEndAllowThreads(__tstate
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31952 resultobj
= SWIG_Py_Void();
31959 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31960 PyObject
*resultobj
= 0;
31962 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31965 wxStockGDI::DeleteAll();
31966 wxPyEndAllowThreads(__tstate
);
31967 if (PyErr_Occurred()) SWIG_fail
;
31969 resultobj
= SWIG_Py_Void();
31976 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31977 PyObject
*resultobj
= 0;
31978 wxStockGDI
*result
= 0 ;
31980 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31984 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31985 result
= (wxStockGDI
*) &_result_ref
;
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31997 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31998 PyObject
*resultobj
= 0;
31999 wxStockGDI::Item arg1
;
32000 wxBrush
*result
= 0 ;
32003 PyObject
* obj0
= 0 ;
32004 char * kwnames
[] = {
32005 (char *) "item", NULL
32008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32010 if (!SWIG_IsOK(ecode1
)) {
32011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32013 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32016 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32017 wxPyEndAllowThreads(__tstate
);
32018 if (PyErr_Occurred()) SWIG_fail
;
32020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32027 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32028 PyObject
*resultobj
= 0;
32029 wxStockGDI::Item arg1
;
32030 wxColour
*result
= 0 ;
32033 PyObject
* obj0
= 0 ;
32034 char * kwnames
[] = {
32035 (char *) "item", NULL
32038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32039 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32040 if (!SWIG_IsOK(ecode1
)) {
32041 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32043 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32047 wxPyEndAllowThreads(__tstate
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32057 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
= 0;
32059 wxStockGDI::Item arg1
;
32060 wxCursor
*result
= 0 ;
32063 PyObject
* obj0
= 0 ;
32064 char * kwnames
[] = {
32065 (char *) "item", NULL
32068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32070 if (!SWIG_IsOK(ecode1
)) {
32071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32073 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32087 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
= 0;
32089 wxStockGDI::Item arg1
;
32090 wxPen
*result
= 0 ;
32093 PyObject
* obj0
= 0 ;
32094 char * kwnames
[] = {
32095 (char *) "item", NULL
32098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32100 if (!SWIG_IsOK(ecode1
)) {
32101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32103 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32106 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32117 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
= 0;
32119 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32120 wxStockGDI::Item arg2
;
32121 wxFont
*result
= 0 ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 char * kwnames
[] = {
32129 (char *) "self",(char *) "item", NULL
32132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32134 if (!SWIG_IsOK(res1
)) {
32135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32137 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32139 if (!SWIG_IsOK(ecode2
)) {
32140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32142 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32156 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32159 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32160 return SWIG_Py_Void();
32163 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32164 return SWIG_Python_InitShadowInstance(args
);
32167 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32168 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32173 SWIGINTERN PyObject
*NullBitmap_get(void) {
32174 PyObject
*pyobj
= 0;
32176 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32181 SWIGINTERN
int NullIcon_set(PyObject
*) {
32182 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32187 SWIGINTERN PyObject
*NullIcon_get(void) {
32188 PyObject
*pyobj
= 0;
32190 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32195 SWIGINTERN
int NullCursor_set(PyObject
*) {
32196 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32201 SWIGINTERN PyObject
*NullCursor_get(void) {
32202 PyObject
*pyobj
= 0;
32204 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32209 SWIGINTERN
int NullPen_set(PyObject
*) {
32210 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32215 SWIGINTERN PyObject
*NullPen_get(void) {
32216 PyObject
*pyobj
= 0;
32218 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32223 SWIGINTERN
int NullBrush_set(PyObject
*) {
32224 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32229 SWIGINTERN PyObject
*NullBrush_get(void) {
32230 PyObject
*pyobj
= 0;
32232 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32237 SWIGINTERN
int NullPalette_set(PyObject
*) {
32238 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32243 SWIGINTERN PyObject
*NullPalette_get(void) {
32244 PyObject
*pyobj
= 0;
32246 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32251 SWIGINTERN
int NullFont_set(PyObject
*) {
32252 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32257 SWIGINTERN PyObject
*NullFont_get(void) {
32258 PyObject
*pyobj
= 0;
32260 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32265 SWIGINTERN
int NullColour_set(PyObject
*) {
32266 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32271 SWIGINTERN PyObject
*NullColour_get(void) {
32272 PyObject
*pyobj
= 0;
32274 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32279 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32280 PyObject
*resultobj
= 0;
32281 wxGDIObjListBase
*result
= 0 ;
32283 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32287 wxPyEndAllowThreads(__tstate
);
32288 if (PyErr_Occurred()) SWIG_fail
;
32290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32297 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32298 PyObject
*resultobj
= 0;
32299 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32302 PyObject
*swig_obj
[1] ;
32304 if (!args
) SWIG_fail
;
32305 swig_obj
[0] = args
;
32306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32307 if (!SWIG_IsOK(res1
)) {
32308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32310 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32318 resultobj
= SWIG_Py_Void();
32325 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32328 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32329 return SWIG_Py_Void();
32332 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32333 return SWIG_Python_InitShadowInstance(args
);
32336 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32337 PyObject
*resultobj
= 0;
32338 wxPenList
*arg1
= (wxPenList
*) 0 ;
32339 wxColour
*arg2
= 0 ;
32342 wxPen
*result
= 0 ;
32350 PyObject
* obj0
= 0 ;
32351 PyObject
* obj1
= 0 ;
32352 PyObject
* obj2
= 0 ;
32353 PyObject
* obj3
= 0 ;
32354 char * kwnames
[] = {
32355 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32360 if (!SWIG_IsOK(res1
)) {
32361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32363 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32369 if (!SWIG_IsOK(ecode3
)) {
32370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32372 arg3
= static_cast< int >(val3
);
32373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32374 if (!SWIG_IsOK(ecode4
)) {
32375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32377 arg4
= static_cast< int >(val4
);
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32381 wxPyEndAllowThreads(__tstate
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32391 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32394 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32395 return SWIG_Py_Void();
32398 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
= 0;
32400 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32401 wxColour
*arg2
= 0 ;
32402 int arg3
= (int) wxSOLID
;
32403 wxBrush
*result
= 0 ;
32409 PyObject
* obj0
= 0 ;
32410 PyObject
* obj1
= 0 ;
32411 PyObject
* obj2
= 0 ;
32412 char * kwnames
[] = {
32413 (char *) "self",(char *) "colour",(char *) "style", NULL
32416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32418 if (!SWIG_IsOK(res1
)) {
32419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32421 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32428 if (!SWIG_IsOK(ecode3
)) {
32429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32431 arg3
= static_cast< int >(val3
);
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32446 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32449 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32450 return SWIG_Py_Void();
32453 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32454 PyObject
*resultobj
= 0;
32455 wxFontList
*arg1
= (wxFontList
*) 0 ;
32460 bool arg6
= (bool) false ;
32461 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32462 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32463 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32464 wxFont
*result
= 0 ;
32477 bool temp7
= false ;
32480 PyObject
* obj0
= 0 ;
32481 PyObject
* obj1
= 0 ;
32482 PyObject
* obj2
= 0 ;
32483 PyObject
* obj3
= 0 ;
32484 PyObject
* obj4
= 0 ;
32485 PyObject
* obj5
= 0 ;
32486 PyObject
* obj6
= 0 ;
32487 PyObject
* obj7
= 0 ;
32488 char * kwnames
[] = {
32489 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32494 if (!SWIG_IsOK(res1
)) {
32495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32497 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32499 if (!SWIG_IsOK(ecode2
)) {
32500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32502 arg2
= static_cast< int >(val2
);
32503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32504 if (!SWIG_IsOK(ecode3
)) {
32505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32507 arg3
= static_cast< int >(val3
);
32508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32509 if (!SWIG_IsOK(ecode4
)) {
32510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32512 arg4
= static_cast< int >(val4
);
32513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32514 if (!SWIG_IsOK(ecode5
)) {
32515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32517 arg5
= static_cast< int >(val5
);
32519 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32520 if (!SWIG_IsOK(ecode6
)) {
32521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32523 arg6
= static_cast< bool >(val6
);
32527 arg7
= wxString_in_helper(obj6
);
32528 if (arg7
== NULL
) SWIG_fail
;
32533 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32534 if (!SWIG_IsOK(ecode8
)) {
32535 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32537 arg8
= static_cast< wxFontEncoding
>(val8
);
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32560 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32563 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32564 return SWIG_Py_Void();
32567 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32568 PyObject
*resultobj
= 0;
32569 wxColourDatabase
*result
= 0 ;
32571 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32573 if (!wxPyCheckForApp()) SWIG_fail
;
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 result
= (wxColourDatabase
*)new wxColourDatabase();
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32586 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32587 PyObject
*resultobj
= 0;
32588 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32591 PyObject
*swig_obj
[1] ;
32593 if (!args
) SWIG_fail
;
32594 swig_obj
[0] = args
;
32595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32596 if (!SWIG_IsOK(res1
)) {
32597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32599 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= SWIG_Py_Void();
32614 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32615 PyObject
*resultobj
= 0;
32616 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32617 wxString
*arg2
= 0 ;
32621 bool temp2
= false ;
32622 PyObject
* obj0
= 0 ;
32623 PyObject
* obj1
= 0 ;
32624 char * kwnames
[] = {
32625 (char *) "self",(char *) "name", NULL
32628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32630 if (!SWIG_IsOK(res1
)) {
32631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32633 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32635 arg2
= wxString_in_helper(obj1
);
32636 if (arg2
== NULL
) SWIG_fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32660 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32661 PyObject
*resultobj
= 0;
32662 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32663 wxColour
*arg2
= 0 ;
32668 PyObject
* obj0
= 0 ;
32669 PyObject
* obj1
= 0 ;
32670 char * kwnames
[] = {
32671 (char *) "self",(char *) "colour", NULL
32674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32676 if (!SWIG_IsOK(res1
)) {
32677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32679 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32682 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32703 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
= 0;
32705 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32706 wxString
*arg2
= 0 ;
32707 wxColour
*arg3
= 0 ;
32710 bool temp2
= false ;
32712 PyObject
* obj0
= 0 ;
32713 PyObject
* obj1
= 0 ;
32714 PyObject
* obj2
= 0 ;
32715 char * kwnames
[] = {
32716 (char *) "self",(char *) "name",(char *) "colour", NULL
32719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32721 if (!SWIG_IsOK(res1
)) {
32722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32724 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32726 arg2
= wxString_in_helper(obj1
);
32727 if (arg2
== NULL
) SWIG_fail
;
32732 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_Py_Void();
32755 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32756 PyObject
*resultobj
= 0;
32757 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32758 wxString
*arg2
= 0 ;
32764 bool temp2
= false ;
32771 PyObject
* obj0
= 0 ;
32772 PyObject
* obj1
= 0 ;
32773 PyObject
* obj2
= 0 ;
32774 PyObject
* obj3
= 0 ;
32775 PyObject
* obj4
= 0 ;
32776 char * kwnames
[] = {
32777 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32782 if (!SWIG_IsOK(res1
)) {
32783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32785 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32787 arg2
= wxString_in_helper(obj1
);
32788 if (arg2
== NULL
) SWIG_fail
;
32791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32792 if (!SWIG_IsOK(ecode3
)) {
32793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32795 arg3
= static_cast< int >(val3
);
32796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32797 if (!SWIG_IsOK(ecode4
)) {
32798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32800 arg4
= static_cast< int >(val4
);
32801 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32802 if (!SWIG_IsOK(ecode5
)) {
32803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32805 arg5
= static_cast< int >(val5
);
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32809 wxPyEndAllowThreads(__tstate
);
32810 if (PyErr_Occurred()) SWIG_fail
;
32812 resultobj
= SWIG_Py_Void();
32827 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32830 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32831 return SWIG_Py_Void();
32834 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32835 return SWIG_Python_InitShadowInstance(args
);
32838 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32839 PyObject
*resultobj
= 0;
32840 wxFontList
*result
= 0 ;
32842 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 result
= (wxFontList
*)_wxPyInitTheFontList();
32846 wxPyEndAllowThreads(__tstate
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32856 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32857 PyObject
*resultobj
= 0;
32858 wxPenList
*result
= 0 ;
32860 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32863 result
= (wxPenList
*)_wxPyInitThePenList();
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32874 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32875 PyObject
*resultobj
= 0;
32876 wxBrushList
*result
= 0 ;
32878 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32892 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32893 PyObject
*resultobj
= 0;
32894 wxColourDatabase
*result
= 0 ;
32896 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32900 wxPyEndAllowThreads(__tstate
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32910 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32911 PyObject
*resultobj
= 0;
32912 wxEffects
*result
= 0 ;
32914 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32917 result
= (wxEffects
*)new wxEffects();
32918 wxPyEndAllowThreads(__tstate
);
32919 if (PyErr_Occurred()) SWIG_fail
;
32921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32928 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32929 PyObject
*resultobj
= 0;
32930 wxEffects
*arg1
= (wxEffects
*) 0 ;
32934 PyObject
*swig_obj
[1] ;
32936 if (!args
) SWIG_fail
;
32937 swig_obj
[0] = args
;
32938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32939 if (!SWIG_IsOK(res1
)) {
32940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32942 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32956 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 PyObject
*resultobj
= 0;
32958 wxEffects
*arg1
= (wxEffects
*) 0 ;
32962 PyObject
*swig_obj
[1] ;
32964 if (!args
) SWIG_fail
;
32965 swig_obj
[0] = args
;
32966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32967 if (!SWIG_IsOK(res1
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32970 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32984 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 PyObject
*resultobj
= 0;
32986 wxEffects
*arg1
= (wxEffects
*) 0 ;
32990 PyObject
*swig_obj
[1] ;
32992 if (!args
) SWIG_fail
;
32993 swig_obj
[0] = args
;
32994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32995 if (!SWIG_IsOK(res1
)) {
32996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32998 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33012 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33013 PyObject
*resultobj
= 0;
33014 wxEffects
*arg1
= (wxEffects
*) 0 ;
33018 PyObject
*swig_obj
[1] ;
33020 if (!args
) SWIG_fail
;
33021 swig_obj
[0] = args
;
33022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33023 if (!SWIG_IsOK(res1
)) {
33024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33026 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33030 wxPyEndAllowThreads(__tstate
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33033 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33040 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33041 PyObject
*resultobj
= 0;
33042 wxEffects
*arg1
= (wxEffects
*) 0 ;
33046 PyObject
*swig_obj
[1] ;
33048 if (!args
) SWIG_fail
;
33049 swig_obj
[0] = args
;
33050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33051 if (!SWIG_IsOK(res1
)) {
33052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33054 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33061 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33068 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33069 PyObject
*resultobj
= 0;
33070 wxEffects
*arg1
= (wxEffects
*) 0 ;
33071 wxColour
*arg2
= 0 ;
33075 PyObject
* obj0
= 0 ;
33076 PyObject
* obj1
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "c", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33086 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 resultobj
= SWIG_Py_Void();
33104 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
= 0;
33106 wxEffects
*arg1
= (wxEffects
*) 0 ;
33107 wxColour
*arg2
= 0 ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 char * kwnames
[] = {
33114 (char *) "self",(char *) "c", NULL
33117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33119 if (!SWIG_IsOK(res1
)) {
33120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33122 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_Py_Void();
33140 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
= 0;
33142 wxEffects
*arg1
= (wxEffects
*) 0 ;
33143 wxColour
*arg2
= 0 ;
33147 PyObject
* obj0
= 0 ;
33148 PyObject
* obj1
= 0 ;
33149 char * kwnames
[] = {
33150 (char *) "self",(char *) "c", NULL
33153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33155 if (!SWIG_IsOK(res1
)) {
33156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33158 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= SWIG_Py_Void();
33176 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33177 PyObject
*resultobj
= 0;
33178 wxEffects
*arg1
= (wxEffects
*) 0 ;
33179 wxColour
*arg2
= 0 ;
33183 PyObject
* obj0
= 0 ;
33184 PyObject
* obj1
= 0 ;
33185 char * kwnames
[] = {
33186 (char *) "self",(char *) "c", NULL
33189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33191 if (!SWIG_IsOK(res1
)) {
33192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33194 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33201 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33202 wxPyEndAllowThreads(__tstate
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33205 resultobj
= SWIG_Py_Void();
33212 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
= 0;
33214 wxEffects
*arg1
= (wxEffects
*) 0 ;
33215 wxColour
*arg2
= 0 ;
33219 PyObject
* obj0
= 0 ;
33220 PyObject
* obj1
= 0 ;
33221 char * kwnames
[] = {
33222 (char *) "self",(char *) "c", NULL
33225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33227 if (!SWIG_IsOK(res1
)) {
33228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33230 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33233 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33237 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33241 resultobj
= SWIG_Py_Void();
33248 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33249 PyObject
*resultobj
= 0;
33250 wxEffects
*arg1
= (wxEffects
*) 0 ;
33251 wxColour
*arg2
= 0 ;
33252 wxColour
*arg3
= 0 ;
33253 wxColour
*arg4
= 0 ;
33254 wxColour
*arg5
= 0 ;
33255 wxColour
*arg6
= 0 ;
33263 PyObject
* obj0
= 0 ;
33264 PyObject
* obj1
= 0 ;
33265 PyObject
* obj2
= 0 ;
33266 PyObject
* obj3
= 0 ;
33267 PyObject
* obj4
= 0 ;
33268 PyObject
* obj5
= 0 ;
33269 char * kwnames
[] = {
33270 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33275 if (!SWIG_IsOK(res1
)) {
33276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33278 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33281 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33285 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33289 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33293 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33297 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33302 wxPyEndAllowThreads(__tstate
);
33303 if (PyErr_Occurred()) SWIG_fail
;
33305 resultobj
= SWIG_Py_Void();
33312 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33313 PyObject
*resultobj
= 0;
33314 wxEffects
*arg1
= (wxEffects
*) 0 ;
33317 int arg4
= (int) 1 ;
33325 PyObject
* obj0
= 0 ;
33326 PyObject
* obj1
= 0 ;
33327 PyObject
* obj2
= 0 ;
33328 PyObject
* obj3
= 0 ;
33329 char * kwnames
[] = {
33330 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33335 if (!SWIG_IsOK(res1
)) {
33336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33338 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33340 if (!SWIG_IsOK(res2
)) {
33341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33346 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33349 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33353 if (!SWIG_IsOK(ecode4
)) {
33354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33356 arg4
= static_cast< int >(val4
);
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33364 resultobj
= SWIG_Py_Void();
33371 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33372 PyObject
*resultobj
= 0;
33373 wxEffects
*arg1
= (wxEffects
*) 0 ;
33376 wxBitmap
*arg4
= 0 ;
33385 PyObject
* obj0
= 0 ;
33386 PyObject
* obj1
= 0 ;
33387 PyObject
* obj2
= 0 ;
33388 PyObject
* obj3
= 0 ;
33389 char * kwnames
[] = {
33390 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33395 if (!SWIG_IsOK(res1
)) {
33396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33398 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33403 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33404 if (!SWIG_IsOK(res3
)) {
33405 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33410 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33411 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33412 if (!SWIG_IsOK(res4
)) {
33413 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33418 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33421 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33422 wxPyEndAllowThreads(__tstate
);
33423 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33434 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33437 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33438 return SWIG_Py_Void();
33441 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33442 return SWIG_Python_InitShadowInstance(args
);
33445 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33446 PyObject
*resultobj
= 0;
33450 wxSplitterRenderParams
*result
= 0 ;
33457 PyObject
* obj0
= 0 ;
33458 PyObject
* obj1
= 0 ;
33459 PyObject
* obj2
= 0 ;
33460 char * kwnames
[] = {
33461 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33465 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33466 if (!SWIG_IsOK(ecode1
)) {
33467 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33469 arg1
= static_cast< int >(val1
);
33470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33471 if (!SWIG_IsOK(ecode2
)) {
33472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33474 arg2
= static_cast< int >(val2
);
33475 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33476 if (!SWIG_IsOK(ecode3
)) {
33477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33479 arg3
= static_cast< bool >(val3
);
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33493 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33494 PyObject
*resultobj
= 0;
33495 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33498 PyObject
*swig_obj
[1] ;
33500 if (!args
) SWIG_fail
;
33501 swig_obj
[0] = args
;
33502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33503 if (!SWIG_IsOK(res1
)) {
33504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33506 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33514 resultobj
= SWIG_Py_Void();
33521 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33522 PyObject
*resultobj
= 0;
33523 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33527 PyObject
*swig_obj
[1] ;
33529 if (!args
) SWIG_fail
;
33530 swig_obj
[0] = args
;
33531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33532 if (!SWIG_IsOK(res1
)) {
33533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33535 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33536 result
= (int)(int) ((arg1
)->widthSash
);
33537 resultobj
= SWIG_From_int(static_cast< int >(result
));
33544 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33545 PyObject
*resultobj
= 0;
33546 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33550 PyObject
*swig_obj
[1] ;
33552 if (!args
) SWIG_fail
;
33553 swig_obj
[0] = args
;
33554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33555 if (!SWIG_IsOK(res1
)) {
33556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33558 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33559 result
= (int)(int) ((arg1
)->border
);
33560 resultobj
= SWIG_From_int(static_cast< int >(result
));
33567 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33568 PyObject
*resultobj
= 0;
33569 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33573 PyObject
*swig_obj
[1] ;
33575 if (!args
) SWIG_fail
;
33576 swig_obj
[0] = args
;
33577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33578 if (!SWIG_IsOK(res1
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33581 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33582 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33583 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33590 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33593 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33594 return SWIG_Py_Void();
33597 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33598 return SWIG_Python_InitShadowInstance(args
);
33601 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33602 PyObject
*resultobj
= 0;
33603 wxHeaderButtonParams
*result
= 0 ;
33605 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33608 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33619 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33620 PyObject
*resultobj
= 0;
33621 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33624 PyObject
*swig_obj
[1] ;
33626 if (!args
) SWIG_fail
;
33627 swig_obj
[0] = args
;
33628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33629 if (!SWIG_IsOK(res1
)) {
33630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33632 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 wxPyEndAllowThreads(__tstate
);
33638 if (PyErr_Occurred()) SWIG_fail
;
33640 resultobj
= SWIG_Py_Void();
33647 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33648 PyObject
*resultobj
= 0;
33649 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33650 wxColour
*arg2
= (wxColour
*) 0 ;
33654 PyObject
*swig_obj
[2] ;
33656 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33658 if (!SWIG_IsOK(res1
)) {
33659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33661 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33664 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33666 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33668 resultobj
= SWIG_Py_Void();
33675 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33676 PyObject
*resultobj
= 0;
33677 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33678 wxColour
*result
= 0 ;
33681 PyObject
*swig_obj
[1] ;
33683 if (!args
) SWIG_fail
;
33684 swig_obj
[0] = args
;
33685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33686 if (!SWIG_IsOK(res1
)) {
33687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33689 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33690 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33698 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33699 PyObject
*resultobj
= 0;
33700 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33701 wxColour
*arg2
= (wxColour
*) 0 ;
33705 PyObject
*swig_obj
[2] ;
33707 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33709 if (!SWIG_IsOK(res1
)) {
33710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33712 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33715 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33717 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33719 resultobj
= SWIG_Py_Void();
33726 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33727 PyObject
*resultobj
= 0;
33728 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33729 wxColour
*result
= 0 ;
33732 PyObject
*swig_obj
[1] ;
33734 if (!args
) SWIG_fail
;
33735 swig_obj
[0] = args
;
33736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33737 if (!SWIG_IsOK(res1
)) {
33738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33740 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33741 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33749 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33750 PyObject
*resultobj
= 0;
33751 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33752 wxString
*arg2
= (wxString
*) 0 ;
33755 bool temp2
= false ;
33756 PyObject
*swig_obj
[2] ;
33758 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33760 if (!SWIG_IsOK(res1
)) {
33761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33763 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33765 arg2
= wxString_in_helper(swig_obj
[1]);
33766 if (arg2
== NULL
) SWIG_fail
;
33769 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33771 resultobj
= SWIG_Py_Void();
33786 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33787 PyObject
*resultobj
= 0;
33788 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33789 wxString
*result
= 0 ;
33792 PyObject
*swig_obj
[1] ;
33794 if (!args
) SWIG_fail
;
33795 swig_obj
[0] = args
;
33796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33797 if (!SWIG_IsOK(res1
)) {
33798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33800 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33801 result
= (wxString
*)& ((arg1
)->m_labelText
);
33804 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33806 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33815 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33816 PyObject
*resultobj
= 0;
33817 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33818 wxFont
*arg2
= (wxFont
*) 0 ;
33823 PyObject
*swig_obj
[2] ;
33825 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33827 if (!SWIG_IsOK(res1
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33830 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33831 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33832 if (!SWIG_IsOK(res2
)) {
33833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33835 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33836 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33838 resultobj
= SWIG_Py_Void();
33845 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33846 PyObject
*resultobj
= 0;
33847 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33848 wxFont
*result
= 0 ;
33851 PyObject
*swig_obj
[1] ;
33853 if (!args
) SWIG_fail
;
33854 swig_obj
[0] = args
;
33855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33856 if (!SWIG_IsOK(res1
)) {
33857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33859 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33860 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33868 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33869 PyObject
*resultobj
= 0;
33870 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33871 wxColour
*arg2
= (wxColour
*) 0 ;
33875 PyObject
*swig_obj
[2] ;
33877 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33879 if (!SWIG_IsOK(res1
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33882 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33885 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33887 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33889 resultobj
= SWIG_Py_Void();
33896 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33897 PyObject
*resultobj
= 0;
33898 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33899 wxColour
*result
= 0 ;
33902 PyObject
*swig_obj
[1] ;
33904 if (!args
) SWIG_fail
;
33905 swig_obj
[0] = args
;
33906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33907 if (!SWIG_IsOK(res1
)) {
33908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33910 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33911 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33919 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33920 PyObject
*resultobj
= 0;
33921 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33922 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33927 PyObject
*swig_obj
[2] ;
33929 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33931 if (!SWIG_IsOK(res1
)) {
33932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33934 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33935 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33936 if (!SWIG_IsOK(res2
)) {
33937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33939 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33940 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33942 resultobj
= SWIG_Py_Void();
33949 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33950 PyObject
*resultobj
= 0;
33951 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33952 wxBitmap
*result
= 0 ;
33955 PyObject
*swig_obj
[1] ;
33957 if (!args
) SWIG_fail
;
33958 swig_obj
[0] = args
;
33959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33960 if (!SWIG_IsOK(res1
)) {
33961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33963 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33964 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33972 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33973 PyObject
*resultobj
= 0;
33974 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33980 PyObject
*swig_obj
[2] ;
33982 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33984 if (!SWIG_IsOK(res1
)) {
33985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33987 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33988 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33989 if (!SWIG_IsOK(ecode2
)) {
33990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33992 arg2
= static_cast< int >(val2
);
33993 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33995 resultobj
= SWIG_Py_Void();
34002 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34003 PyObject
*resultobj
= 0;
34004 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34008 PyObject
*swig_obj
[1] ;
34010 if (!args
) SWIG_fail
;
34011 swig_obj
[0] = args
;
34012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34013 if (!SWIG_IsOK(res1
)) {
34014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34016 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34017 result
= (int) ((arg1
)->m_labelAlignment
);
34018 resultobj
= SWIG_From_int(static_cast< int >(result
));
34025 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34028 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34029 return SWIG_Py_Void();
34032 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34033 return SWIG_Python_InitShadowInstance(args
);
34036 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34037 PyObject
*resultobj
= 0;
34040 wxRendererVersion
*result
= 0 ;
34045 PyObject
* obj0
= 0 ;
34046 PyObject
* obj1
= 0 ;
34047 char * kwnames
[] = {
34048 (char *) "version_",(char *) "age_", NULL
34051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34053 if (!SWIG_IsOK(ecode1
)) {
34054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34056 arg1
= static_cast< int >(val1
);
34057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34058 if (!SWIG_IsOK(ecode2
)) {
34059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34061 arg2
= static_cast< int >(val2
);
34063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34064 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34065 wxPyEndAllowThreads(__tstate
);
34066 if (PyErr_Occurred()) SWIG_fail
;
34068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34075 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34076 PyObject
*resultobj
= 0;
34077 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34080 PyObject
*swig_obj
[1] ;
34082 if (!args
) SWIG_fail
;
34083 swig_obj
[0] = args
;
34084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34085 if (!SWIG_IsOK(res1
)) {
34086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34088 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 wxPyEndAllowThreads(__tstate
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34096 resultobj
= SWIG_Py_Void();
34103 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34104 PyObject
*resultobj
= 0;
34105 wxRendererVersion
*arg1
= 0 ;
34109 PyObject
* obj0
= 0 ;
34110 char * kwnames
[] = {
34111 (char *) "ver", NULL
34114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34115 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34116 if (!SWIG_IsOK(res1
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34122 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34125 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34138 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34139 PyObject
*resultobj
= 0;
34140 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34144 PyObject
*swig_obj
[1] ;
34146 if (!args
) SWIG_fail
;
34147 swig_obj
[0] = args
;
34148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34149 if (!SWIG_IsOK(res1
)) {
34150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34152 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34153 result
= (int)(int) ((arg1
)->version
);
34154 resultobj
= SWIG_From_int(static_cast< int >(result
));
34161 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34162 PyObject
*resultobj
= 0;
34163 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34167 PyObject
*swig_obj
[1] ;
34169 if (!args
) SWIG_fail
;
34170 swig_obj
[0] = args
;
34171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34172 if (!SWIG_IsOK(res1
)) {
34173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34175 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34176 result
= (int)(int) ((arg1
)->age
);
34177 resultobj
= SWIG_From_int(static_cast< int >(result
));
34184 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34187 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34188 return SWIG_Py_Void();
34191 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34192 return SWIG_Python_InitShadowInstance(args
);
34195 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34196 PyObject
*resultobj
= 0;
34197 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34198 wxWindow
*arg2
= (wxWindow
*) 0 ;
34201 int arg5
= (int) 0 ;
34202 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34203 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34218 PyObject
* obj0
= 0 ;
34219 PyObject
* obj1
= 0 ;
34220 PyObject
* obj2
= 0 ;
34221 PyObject
* obj3
= 0 ;
34222 PyObject
* obj4
= 0 ;
34223 PyObject
* obj5
= 0 ;
34224 PyObject
* obj6
= 0 ;
34225 char * kwnames
[] = {
34226 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34231 if (!SWIG_IsOK(res1
)) {
34232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34234 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34236 if (!SWIG_IsOK(res2
)) {
34237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34239 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34240 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34241 if (!SWIG_IsOK(res3
)) {
34242 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34247 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34250 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34253 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34254 if (!SWIG_IsOK(ecode5
)) {
34255 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34257 arg5
= static_cast< int >(val5
);
34260 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34261 if (!SWIG_IsOK(ecode6
)) {
34262 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34264 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34267 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34268 if (!SWIG_IsOK(res7
)) {
34269 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34271 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34275 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34276 wxPyEndAllowThreads(__tstate
);
34277 if (PyErr_Occurred()) SWIG_fail
;
34279 resultobj
= SWIG_From_int(static_cast< int >(result
));
34286 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34287 PyObject
*resultobj
= 0;
34288 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34289 wxWindow
*arg2
= (wxWindow
*) 0 ;
34292 int arg5
= (int) 0 ;
34293 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34294 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34309 PyObject
* obj0
= 0 ;
34310 PyObject
* obj1
= 0 ;
34311 PyObject
* obj2
= 0 ;
34312 PyObject
* obj3
= 0 ;
34313 PyObject
* obj4
= 0 ;
34314 PyObject
* obj5
= 0 ;
34315 PyObject
* obj6
= 0 ;
34316 char * kwnames
[] = {
34317 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34322 if (!SWIG_IsOK(res1
)) {
34323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34325 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34327 if (!SWIG_IsOK(res2
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34330 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34331 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34332 if (!SWIG_IsOK(res3
)) {
34333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34338 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34341 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34344 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34345 if (!SWIG_IsOK(ecode5
)) {
34346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34348 arg5
= static_cast< int >(val5
);
34351 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34352 if (!SWIG_IsOK(ecode6
)) {
34353 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34355 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34358 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34359 if (!SWIG_IsOK(res7
)) {
34360 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34362 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34370 resultobj
= SWIG_From_int(static_cast< int >(result
));
34377 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34378 PyObject
*resultobj
= 0;
34379 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34380 wxWindow
*arg2
= (wxWindow
*) 0 ;
34386 PyObject
* obj0
= 0 ;
34387 PyObject
* obj1
= 0 ;
34388 char * kwnames
[] = {
34389 (char *) "self",(char *) "win", NULL
34392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34394 if (!SWIG_IsOK(res1
)) {
34395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34397 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34399 if (!SWIG_IsOK(res2
)) {
34400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34402 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34405 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34406 wxPyEndAllowThreads(__tstate
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 resultobj
= SWIG_From_int(static_cast< int >(result
));
34416 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34417 PyObject
*resultobj
= 0;
34418 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34419 wxWindow
*arg2
= (wxWindow
*) 0 ;
34422 int arg5
= (int) 0 ;
34432 PyObject
* obj0
= 0 ;
34433 PyObject
* obj1
= 0 ;
34434 PyObject
* obj2
= 0 ;
34435 PyObject
* obj3
= 0 ;
34436 PyObject
* obj4
= 0 ;
34437 char * kwnames
[] = {
34438 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34443 if (!SWIG_IsOK(res1
)) {
34444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34446 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34448 if (!SWIG_IsOK(res2
)) {
34449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34451 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34452 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34453 if (!SWIG_IsOK(res3
)) {
34454 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34459 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34462 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34465 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34466 if (!SWIG_IsOK(ecode5
)) {
34467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34469 arg5
= static_cast< int >(val5
);
34472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34473 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34477 resultobj
= SWIG_Py_Void();
34484 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34485 PyObject
*resultobj
= 0;
34486 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34487 wxWindow
*arg2
= (wxWindow
*) 0 ;
34490 int arg5
= (int) 0 ;
34500 PyObject
* obj0
= 0 ;
34501 PyObject
* obj1
= 0 ;
34502 PyObject
* obj2
= 0 ;
34503 PyObject
* obj3
= 0 ;
34504 PyObject
* obj4
= 0 ;
34505 char * kwnames
[] = {
34506 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34511 if (!SWIG_IsOK(res1
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34514 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34516 if (!SWIG_IsOK(res2
)) {
34517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34519 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34520 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34521 if (!SWIG_IsOK(res3
)) {
34522 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34527 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34530 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34534 if (!SWIG_IsOK(ecode5
)) {
34535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34537 arg5
= static_cast< int >(val5
);
34540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34541 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34542 wxPyEndAllowThreads(__tstate
);
34543 if (PyErr_Occurred()) SWIG_fail
;
34545 resultobj
= SWIG_Py_Void();
34552 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34553 PyObject
*resultobj
= 0;
34554 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34555 wxWindow
*arg2
= (wxWindow
*) 0 ;
34559 wxOrientation arg6
;
34560 int arg7
= (int) 0 ;
34574 PyObject
* obj0
= 0 ;
34575 PyObject
* obj1
= 0 ;
34576 PyObject
* obj2
= 0 ;
34577 PyObject
* obj3
= 0 ;
34578 PyObject
* obj4
= 0 ;
34579 PyObject
* obj5
= 0 ;
34580 PyObject
* obj6
= 0 ;
34581 char * kwnames
[] = {
34582 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34587 if (!SWIG_IsOK(res1
)) {
34588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34590 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34592 if (!SWIG_IsOK(res2
)) {
34593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34596 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34597 if (!SWIG_IsOK(res3
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34603 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34608 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34609 if (!SWIG_IsOK(ecode5
)) {
34610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34612 arg5
= static_cast< int >(val5
);
34613 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34614 if (!SWIG_IsOK(ecode6
)) {
34615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34617 arg6
= static_cast< wxOrientation
>(val6
);
34619 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34620 if (!SWIG_IsOK(ecode7
)) {
34621 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34623 arg7
= static_cast< int >(val7
);
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34631 resultobj
= SWIG_Py_Void();
34638 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34639 PyObject
*resultobj
= 0;
34640 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34641 wxWindow
*arg2
= (wxWindow
*) 0 ;
34644 int arg5
= (int) 0 ;
34654 PyObject
* obj0
= 0 ;
34655 PyObject
* obj1
= 0 ;
34656 PyObject
* obj2
= 0 ;
34657 PyObject
* obj3
= 0 ;
34658 PyObject
* obj4
= 0 ;
34659 char * kwnames
[] = {
34660 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34665 if (!SWIG_IsOK(res1
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34668 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34670 if (!SWIG_IsOK(res2
)) {
34671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34674 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34675 if (!SWIG_IsOK(res3
)) {
34676 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34681 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34684 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34687 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34688 if (!SWIG_IsOK(ecode5
)) {
34689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34691 arg5
= static_cast< int >(val5
);
34694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34695 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34696 wxPyEndAllowThreads(__tstate
);
34697 if (PyErr_Occurred()) SWIG_fail
;
34699 resultobj
= SWIG_Py_Void();
34706 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34707 PyObject
*resultobj
= 0;
34708 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34709 wxWindow
*arg2
= (wxWindow
*) 0 ;
34712 int arg5
= (int) 0 ;
34722 PyObject
* obj0
= 0 ;
34723 PyObject
* obj1
= 0 ;
34724 PyObject
* obj2
= 0 ;
34725 PyObject
* obj3
= 0 ;
34726 PyObject
* obj4
= 0 ;
34727 char * kwnames
[] = {
34728 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34733 if (!SWIG_IsOK(res1
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34736 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34738 if (!SWIG_IsOK(res2
)) {
34739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34741 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34742 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34743 if (!SWIG_IsOK(res3
)) {
34744 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34749 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34752 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34755 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34756 if (!SWIG_IsOK(ecode5
)) {
34757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34759 arg5
= static_cast< int >(val5
);
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34763 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34767 resultobj
= SWIG_Py_Void();
34774 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34775 PyObject
*resultobj
= 0;
34776 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34777 wxWindow
*arg2
= (wxWindow
*) 0 ;
34780 int arg5
= (int) 0 ;
34790 PyObject
* obj0
= 0 ;
34791 PyObject
* obj1
= 0 ;
34792 PyObject
* obj2
= 0 ;
34793 PyObject
* obj3
= 0 ;
34794 PyObject
* obj4
= 0 ;
34795 char * kwnames
[] = {
34796 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34801 if (!SWIG_IsOK(res1
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34804 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34806 if (!SWIG_IsOK(res2
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34810 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34811 if (!SWIG_IsOK(res3
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34817 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34820 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34823 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34824 if (!SWIG_IsOK(ecode5
)) {
34825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34827 arg5
= static_cast< int >(val5
);
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34832 wxPyEndAllowThreads(__tstate
);
34833 if (PyErr_Occurred()) SWIG_fail
;
34835 resultobj
= SWIG_Py_Void();
34842 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34843 PyObject
*resultobj
= 0;
34844 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34845 wxWindow
*arg2
= (wxWindow
*) 0 ;
34848 int arg5
= (int) 0 ;
34858 PyObject
* obj0
= 0 ;
34859 PyObject
* obj1
= 0 ;
34860 PyObject
* obj2
= 0 ;
34861 PyObject
* obj3
= 0 ;
34862 PyObject
* obj4
= 0 ;
34863 char * kwnames
[] = {
34864 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34869 if (!SWIG_IsOK(res1
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34872 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34874 if (!SWIG_IsOK(res2
)) {
34875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34877 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34878 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34879 if (!SWIG_IsOK(res3
)) {
34880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34885 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34888 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34892 if (!SWIG_IsOK(ecode5
)) {
34893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34895 arg5
= static_cast< int >(val5
);
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34900 wxPyEndAllowThreads(__tstate
);
34901 if (PyErr_Occurred()) SWIG_fail
;
34903 resultobj
= SWIG_Py_Void();
34910 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
= 0;
34912 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34913 wxWindow
*arg2
= (wxWindow
*) 0 ;
34916 int arg5
= (int) 0 ;
34926 PyObject
* obj0
= 0 ;
34927 PyObject
* obj1
= 0 ;
34928 PyObject
* obj2
= 0 ;
34929 PyObject
* obj3
= 0 ;
34930 PyObject
* obj4
= 0 ;
34931 char * kwnames
[] = {
34932 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34937 if (!SWIG_IsOK(res1
)) {
34938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34940 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34942 if (!SWIG_IsOK(res2
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34945 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34946 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34947 if (!SWIG_IsOK(res3
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34953 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34956 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34959 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34960 if (!SWIG_IsOK(ecode5
)) {
34961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34963 arg5
= static_cast< int >(val5
);
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34967 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34971 resultobj
= SWIG_Py_Void();
34978 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
= 0;
34980 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34981 wxWindow
*arg2
= (wxWindow
*) 0 ;
34982 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34987 PyObject
* obj0
= 0 ;
34988 PyObject
* obj1
= 0 ;
34989 char * kwnames
[] = {
34990 (char *) "self",(char *) "win", NULL
34993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34995 if (!SWIG_IsOK(res1
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34998 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35000 if (!SWIG_IsOK(res2
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35003 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35006 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35007 wxPyEndAllowThreads(__tstate
);
35008 if (PyErr_Occurred()) SWIG_fail
;
35010 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35017 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35018 PyObject
*resultobj
= 0;
35019 wxRendererNative
*result
= 0 ;
35021 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35023 if (!wxPyCheckForApp()) SWIG_fail
;
35024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35027 result
= (wxRendererNative
*) &_result_ref
;
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35039 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35040 PyObject
*resultobj
= 0;
35041 wxRendererNative
*result
= 0 ;
35043 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35045 if (!wxPyCheckForApp()) SWIG_fail
;
35046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35049 result
= (wxRendererNative
*) &_result_ref
;
35051 wxPyEndAllowThreads(__tstate
);
35052 if (PyErr_Occurred()) SWIG_fail
;
35054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35061 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35062 PyObject
*resultobj
= 0;
35063 wxRendererNative
*result
= 0 ;
35065 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35067 if (!wxPyCheckForApp()) SWIG_fail
;
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35070 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35071 result
= (wxRendererNative
*) &_result_ref
;
35073 wxPyEndAllowThreads(__tstate
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35083 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
= 0;
35085 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35086 wxRendererNative
*result
= 0 ;
35089 PyObject
* obj0
= 0 ;
35090 char * kwnames
[] = {
35091 (char *) "renderer", NULL
35094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35096 if (!SWIG_IsOK(res1
)) {
35097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35099 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35101 if (!wxPyCheckForApp()) SWIG_fail
;
35102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35103 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35104 wxPyEndAllowThreads(__tstate
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35114 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35115 PyObject
*resultobj
= 0;
35116 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35117 SwigValueWrapper
<wxRendererVersion
> result
;
35120 PyObject
*swig_obj
[1] ;
35122 if (!args
) SWIG_fail
;
35123 swig_obj
[0] = args
;
35124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35125 if (!SWIG_IsOK(res1
)) {
35126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35128 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35131 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35132 wxPyEndAllowThreads(__tstate
);
35133 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35142 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35145 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35146 return SWIG_Py_Void();
35149 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35150 PyObject
*resultobj
= 0;
35151 wxPseudoDC
*result
= 0 ;
35153 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 result
= (wxPseudoDC
*)new wxPseudoDC();
35157 wxPyEndAllowThreads(__tstate
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35167 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35168 PyObject
*resultobj
= 0;
35169 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35172 PyObject
*swig_obj
[1] ;
35174 if (!args
) SWIG_fail
;
35175 swig_obj
[0] = args
;
35176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35177 if (!SWIG_IsOK(res1
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35180 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 (arg1
)->BeginDrawing();
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35187 resultobj
= SWIG_Py_Void();
35194 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35195 PyObject
*resultobj
= 0;
35196 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35199 PyObject
*swig_obj
[1] ;
35201 if (!args
) SWIG_fail
;
35202 swig_obj
[0] = args
;
35203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35204 if (!SWIG_IsOK(res1
)) {
35205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35207 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 (arg1
)->EndDrawing();
35211 wxPyEndAllowThreads(__tstate
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35214 resultobj
= SWIG_Py_Void();
35221 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35222 PyObject
*resultobj
= 0;
35223 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35226 PyObject
*swig_obj
[1] ;
35228 if (!args
) SWIG_fail
;
35229 swig_obj
[0] = args
;
35230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35231 if (!SWIG_IsOK(res1
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35234 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35242 resultobj
= SWIG_Py_Void();
35249 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35250 PyObject
*resultobj
= 0;
35251 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35254 PyObject
*swig_obj
[1] ;
35256 if (!args
) SWIG_fail
;
35257 swig_obj
[0] = args
;
35258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35259 if (!SWIG_IsOK(res1
)) {
35260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 (arg1
)->RemoveAll();
35266 wxPyEndAllowThreads(__tstate
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35269 resultobj
= SWIG_Py_Void();
35276 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35277 PyObject
*resultobj
= 0;
35278 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35282 PyObject
*swig_obj
[1] ;
35284 if (!args
) SWIG_fail
;
35285 swig_obj
[0] = args
;
35286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35287 if (!SWIG_IsOK(res1
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35290 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35293 result
= (int)(arg1
)->GetLen();
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35297 resultobj
= SWIG_From_int(static_cast< int >(result
));
35304 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35305 PyObject
*resultobj
= 0;
35306 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35312 PyObject
* obj0
= 0 ;
35313 PyObject
* obj1
= 0 ;
35314 char * kwnames
[] = {
35315 (char *) "self",(char *) "id", NULL
35318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35320 if (!SWIG_IsOK(res1
)) {
35321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35323 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35325 if (!SWIG_IsOK(ecode2
)) {
35326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35328 arg2
= static_cast< int >(val2
);
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 (arg1
)->SetId(arg2
);
35332 wxPyEndAllowThreads(__tstate
);
35333 if (PyErr_Occurred()) SWIG_fail
;
35335 resultobj
= SWIG_Py_Void();
35342 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35343 PyObject
*resultobj
= 0;
35344 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35350 PyObject
* obj0
= 0 ;
35351 PyObject
* obj1
= 0 ;
35352 char * kwnames
[] = {
35353 (char *) "self",(char *) "id", NULL
35356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35358 if (!SWIG_IsOK(res1
)) {
35359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35361 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35363 if (!SWIG_IsOK(ecode2
)) {
35364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35366 arg2
= static_cast< int >(val2
);
35368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35369 (arg1
)->ClearId(arg2
);
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35373 resultobj
= SWIG_Py_Void();
35380 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35381 PyObject
*resultobj
= 0;
35382 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35388 PyObject
* obj0
= 0 ;
35389 PyObject
* obj1
= 0 ;
35390 char * kwnames
[] = {
35391 (char *) "self",(char *) "id", NULL
35394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35396 if (!SWIG_IsOK(res1
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35399 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35401 if (!SWIG_IsOK(ecode2
)) {
35402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35404 arg2
= static_cast< int >(val2
);
35406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35407 (arg1
)->RemoveId(arg2
);
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35411 resultobj
= SWIG_Py_Void();
35418 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35419 PyObject
*resultobj
= 0;
35420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35432 PyObject
* obj0
= 0 ;
35433 PyObject
* obj1
= 0 ;
35434 PyObject
* obj2
= 0 ;
35435 PyObject
* obj3
= 0 ;
35436 char * kwnames
[] = {
35437 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35442 if (!SWIG_IsOK(res1
)) {
35443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35445 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35447 if (!SWIG_IsOK(ecode2
)) {
35448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35450 arg2
= static_cast< int >(val2
);
35451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35452 if (!SWIG_IsOK(ecode3
)) {
35453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35455 arg3
= static_cast< int >(val3
);
35456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35457 if (!SWIG_IsOK(ecode4
)) {
35458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35460 arg4
= static_cast< int >(val4
);
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35467 resultobj
= SWIG_Py_Void();
35474 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35475 PyObject
*resultobj
= 0;
35476 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35478 bool arg3
= (bool) true ;
35485 PyObject
* obj0
= 0 ;
35486 PyObject
* obj1
= 0 ;
35487 PyObject
* obj2
= 0 ;
35488 char * kwnames
[] = {
35489 (char *) "self",(char *) "id",(char *) "greyout", NULL
35492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35494 if (!SWIG_IsOK(res1
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35499 if (!SWIG_IsOK(ecode2
)) {
35500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35502 arg2
= static_cast< int >(val2
);
35504 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35505 if (!SWIG_IsOK(ecode3
)) {
35506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35508 arg3
= static_cast< bool >(val3
);
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35513 wxPyEndAllowThreads(__tstate
);
35514 if (PyErr_Occurred()) SWIG_fail
;
35516 resultobj
= SWIG_Py_Void();
35523 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35524 PyObject
*resultobj
= 0;
35525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35532 PyObject
* obj0
= 0 ;
35533 PyObject
* obj1
= 0 ;
35534 char * kwnames
[] = {
35535 (char *) "self",(char *) "id", NULL
35538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35540 if (!SWIG_IsOK(res1
)) {
35541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35543 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35545 if (!SWIG_IsOK(ecode2
)) {
35546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35548 arg2
= static_cast< int >(val2
);
35550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35551 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35552 wxPyEndAllowThreads(__tstate
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35564 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35565 PyObject
*resultobj
= 0;
35566 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35569 int arg4
= (int) 1 ;
35570 wxColour
const &arg5_defvalue
= *wxWHITE
;
35571 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35572 PyObject
*result
= 0 ;
35582 PyObject
* obj0
= 0 ;
35583 PyObject
* obj1
= 0 ;
35584 PyObject
* obj2
= 0 ;
35585 PyObject
* obj3
= 0 ;
35586 PyObject
* obj4
= 0 ;
35587 char * kwnames
[] = {
35588 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35593 if (!SWIG_IsOK(res1
)) {
35594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35598 if (!SWIG_IsOK(ecode2
)) {
35599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35601 arg2
= static_cast< int >(val2
);
35602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35603 if (!SWIG_IsOK(ecode3
)) {
35604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35606 arg3
= static_cast< int >(val3
);
35608 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35609 if (!SWIG_IsOK(ecode4
)) {
35610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35612 arg4
= static_cast< int >(val4
);
35617 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
35621 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= result
;
35631 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
= 0;
35633 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35636 PyObject
*result
= 0 ;
35643 PyObject
* obj0
= 0 ;
35644 PyObject
* obj1
= 0 ;
35645 PyObject
* obj2
= 0 ;
35646 char * kwnames
[] = {
35647 (char *) "self",(char *) "x",(char *) "y", NULL
35650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35652 if (!SWIG_IsOK(res1
)) {
35653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35655 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35657 if (!SWIG_IsOK(ecode2
)) {
35658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35660 arg2
= static_cast< int >(val2
);
35661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35662 if (!SWIG_IsOK(ecode3
)) {
35663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35665 arg3
= static_cast< int >(val3
);
35667 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35668 if (PyErr_Occurred()) SWIG_fail
;
35670 resultobj
= result
;
35677 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35678 PyObject
*resultobj
= 0;
35679 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35681 wxDC
*arg3
= (wxDC
*) 0 ;
35688 PyObject
* obj0
= 0 ;
35689 PyObject
* obj1
= 0 ;
35690 PyObject
* obj2
= 0 ;
35691 char * kwnames
[] = {
35692 (char *) "self",(char *) "id",(char *) "dc", NULL
35695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35697 if (!SWIG_IsOK(res1
)) {
35698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35700 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35702 if (!SWIG_IsOK(ecode2
)) {
35703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35705 arg2
= static_cast< int >(val2
);
35706 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35707 if (!SWIG_IsOK(res3
)) {
35708 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35710 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 (arg1
)->DrawIdToDC(arg2
,arg3
);
35714 wxPyEndAllowThreads(__tstate
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35717 resultobj
= SWIG_Py_Void();
35724 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
= 0;
35726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35734 PyObject
* obj0
= 0 ;
35735 PyObject
* obj1
= 0 ;
35736 PyObject
* obj2
= 0 ;
35737 char * kwnames
[] = {
35738 (char *) "self",(char *) "id",(char *) "rect", NULL
35741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35743 if (!SWIG_IsOK(res1
)) {
35744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35746 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35748 if (!SWIG_IsOK(ecode2
)) {
35749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35751 arg2
= static_cast< int >(val2
);
35754 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35758 (arg1
)->SetIdBounds(arg2
,*arg3
);
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35762 resultobj
= SWIG_Py_Void();
35769 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35770 PyObject
*resultobj
= 0;
35771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35778 PyObject
* obj0
= 0 ;
35779 PyObject
* obj1
= 0 ;
35780 char * kwnames
[] = {
35781 (char *) "self",(char *) "id", NULL
35784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35786 if (!SWIG_IsOK(res1
)) {
35787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35789 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35791 if (!SWIG_IsOK(ecode2
)) {
35792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35794 arg2
= static_cast< int >(val2
);
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35801 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35808 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
= 0;
35810 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35811 wxDC
*arg2
= (wxDC
*) 0 ;
35818 PyObject
* obj0
= 0 ;
35819 PyObject
* obj1
= 0 ;
35820 PyObject
* obj2
= 0 ;
35821 char * kwnames
[] = {
35822 (char *) "self",(char *) "dc",(char *) "rect", NULL
35825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35827 if (!SWIG_IsOK(res1
)) {
35828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35830 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35832 if (!SWIG_IsOK(res2
)) {
35833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35835 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35838 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35842 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35843 wxPyEndAllowThreads(__tstate
);
35844 if (PyErr_Occurred()) SWIG_fail
;
35846 resultobj
= SWIG_Py_Void();
35853 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35854 PyObject
*resultobj
= 0;
35855 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35856 wxDC
*arg2
= (wxDC
*) 0 ;
35857 wxRegion
*arg3
= 0 ;
35864 PyObject
* obj0
= 0 ;
35865 PyObject
* obj1
= 0 ;
35866 PyObject
* obj2
= 0 ;
35867 char * kwnames
[] = {
35868 (char *) "self",(char *) "dc",(char *) "region", NULL
35871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35873 if (!SWIG_IsOK(res1
)) {
35874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35876 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35878 if (!SWIG_IsOK(res2
)) {
35879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35881 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35882 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35883 if (!SWIG_IsOK(res3
)) {
35884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35889 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35893 wxPyEndAllowThreads(__tstate
);
35894 if (PyErr_Occurred()) SWIG_fail
;
35896 resultobj
= SWIG_Py_Void();
35903 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35904 PyObject
*resultobj
= 0;
35905 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35906 wxDC
*arg2
= (wxDC
*) 0 ;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 char * kwnames
[] = {
35914 (char *) "self",(char *) "dc", NULL
35917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35919 if (!SWIG_IsOK(res1
)) {
35920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35922 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35924 if (!SWIG_IsOK(res2
)) {
35925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35927 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35930 (arg1
)->DrawToDC(arg2
);
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 resultobj
= SWIG_Py_Void();
35941 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35942 PyObject
*resultobj
= 0;
35943 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35946 wxColour
*arg4
= 0 ;
35947 int arg5
= (int) wxFLOOD_SURFACE
;
35957 PyObject
* obj0
= 0 ;
35958 PyObject
* obj1
= 0 ;
35959 PyObject
* obj2
= 0 ;
35960 PyObject
* obj3
= 0 ;
35961 PyObject
* obj4
= 0 ;
35962 char * kwnames
[] = {
35963 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35968 if (!SWIG_IsOK(res1
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35971 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35973 if (!SWIG_IsOK(ecode2
)) {
35974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35976 arg2
= static_cast< int >(val2
);
35977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35978 if (!SWIG_IsOK(ecode3
)) {
35979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35981 arg3
= static_cast< int >(val3
);
35984 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35987 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35988 if (!SWIG_IsOK(ecode5
)) {
35989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35991 arg5
= static_cast< int >(val5
);
35994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35995 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35996 wxPyEndAllowThreads(__tstate
);
35997 if (PyErr_Occurred()) SWIG_fail
;
35999 resultobj
= SWIG_Py_Void();
36006 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36007 PyObject
*resultobj
= 0;
36008 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36009 wxPoint
*arg2
= 0 ;
36010 wxColour
*arg3
= 0 ;
36011 int arg4
= (int) wxFLOOD_SURFACE
;
36018 PyObject
* obj0
= 0 ;
36019 PyObject
* obj1
= 0 ;
36020 PyObject
* obj2
= 0 ;
36021 PyObject
* obj3
= 0 ;
36022 char * kwnames
[] = {
36023 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36028 if (!SWIG_IsOK(res1
)) {
36029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36031 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36034 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36038 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36042 if (!SWIG_IsOK(ecode4
)) {
36043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36045 arg4
= static_cast< int >(val4
);
36048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36049 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36050 wxPyEndAllowThreads(__tstate
);
36051 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= SWIG_Py_Void();
36060 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36061 PyObject
*resultobj
= 0;
36062 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36077 PyObject
* obj0
= 0 ;
36078 PyObject
* obj1
= 0 ;
36079 PyObject
* obj2
= 0 ;
36080 PyObject
* obj3
= 0 ;
36081 PyObject
* obj4
= 0 ;
36082 char * kwnames
[] = {
36083 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36088 if (!SWIG_IsOK(res1
)) {
36089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36093 if (!SWIG_IsOK(ecode2
)) {
36094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36096 arg2
= static_cast< int >(val2
);
36097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36098 if (!SWIG_IsOK(ecode3
)) {
36099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36101 arg3
= static_cast< int >(val3
);
36102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36103 if (!SWIG_IsOK(ecode4
)) {
36104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36106 arg4
= static_cast< int >(val4
);
36107 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36108 if (!SWIG_IsOK(ecode5
)) {
36109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36111 arg5
= static_cast< int >(val5
);
36113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36114 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36115 wxPyEndAllowThreads(__tstate
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36118 resultobj
= SWIG_Py_Void();
36125 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36126 PyObject
*resultobj
= 0;
36127 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36128 wxPoint
*arg2
= 0 ;
36129 wxPoint
*arg3
= 0 ;
36134 PyObject
* obj0
= 0 ;
36135 PyObject
* obj1
= 0 ;
36136 PyObject
* obj2
= 0 ;
36137 char * kwnames
[] = {
36138 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36143 if (!SWIG_IsOK(res1
)) {
36144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36153 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36157 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36158 wxPyEndAllowThreads(__tstate
);
36159 if (PyErr_Occurred()) SWIG_fail
;
36161 resultobj
= SWIG_Py_Void();
36168 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36169 PyObject
*resultobj
= 0;
36170 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36179 PyObject
* obj0
= 0 ;
36180 PyObject
* obj1
= 0 ;
36181 PyObject
* obj2
= 0 ;
36182 char * kwnames
[] = {
36183 (char *) "self",(char *) "x",(char *) "y", NULL
36186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36188 if (!SWIG_IsOK(res1
)) {
36189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36193 if (!SWIG_IsOK(ecode2
)) {
36194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36196 arg2
= static_cast< int >(val2
);
36197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36198 if (!SWIG_IsOK(ecode3
)) {
36199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36201 arg3
= static_cast< int >(val3
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->CrossHair(arg2
,arg3
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_Py_Void();
36215 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
= 0;
36217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36218 wxPoint
*arg2
= 0 ;
36222 PyObject
* obj0
= 0 ;
36223 PyObject
* obj1
= 0 ;
36224 char * kwnames
[] = {
36225 (char *) "self",(char *) "pt", NULL
36228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36230 if (!SWIG_IsOK(res1
)) {
36231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36233 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36240 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= SWIG_Py_Void();
36251 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
= 0;
36253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36274 PyObject
* obj0
= 0 ;
36275 PyObject
* obj1
= 0 ;
36276 PyObject
* obj2
= 0 ;
36277 PyObject
* obj3
= 0 ;
36278 PyObject
* obj4
= 0 ;
36279 PyObject
* obj5
= 0 ;
36280 PyObject
* obj6
= 0 ;
36281 char * kwnames
[] = {
36282 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36287 if (!SWIG_IsOK(res1
)) {
36288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36290 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36292 if (!SWIG_IsOK(ecode2
)) {
36293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36295 arg2
= static_cast< int >(val2
);
36296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36297 if (!SWIG_IsOK(ecode3
)) {
36298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36300 arg3
= static_cast< int >(val3
);
36301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36302 if (!SWIG_IsOK(ecode4
)) {
36303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36305 arg4
= static_cast< int >(val4
);
36306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36307 if (!SWIG_IsOK(ecode5
)) {
36308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36310 arg5
= static_cast< int >(val5
);
36311 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36312 if (!SWIG_IsOK(ecode6
)) {
36313 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36315 arg6
= static_cast< int >(val6
);
36316 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36317 if (!SWIG_IsOK(ecode7
)) {
36318 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36320 arg7
= static_cast< int >(val7
);
36322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36323 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36324 wxPyEndAllowThreads(__tstate
);
36325 if (PyErr_Occurred()) SWIG_fail
;
36327 resultobj
= SWIG_Py_Void();
36334 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36335 PyObject
*resultobj
= 0;
36336 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36337 wxPoint
*arg2
= 0 ;
36338 wxPoint
*arg3
= 0 ;
36339 wxPoint
*arg4
= 0 ;
36345 PyObject
* obj0
= 0 ;
36346 PyObject
* obj1
= 0 ;
36347 PyObject
* obj2
= 0 ;
36348 PyObject
* obj3
= 0 ;
36349 char * kwnames
[] = {
36350 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36373 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36374 wxPyEndAllowThreads(__tstate
);
36375 if (PyErr_Occurred()) SWIG_fail
;
36377 resultobj
= SWIG_Py_Void();
36384 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36385 PyObject
*resultobj
= 0;
36386 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36401 PyObject
* obj0
= 0 ;
36402 PyObject
* obj1
= 0 ;
36403 PyObject
* obj2
= 0 ;
36404 PyObject
* obj3
= 0 ;
36405 PyObject
* obj4
= 0 ;
36406 char * kwnames
[] = {
36407 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36412 if (!SWIG_IsOK(res1
)) {
36413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36415 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36417 if (!SWIG_IsOK(ecode2
)) {
36418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36420 arg2
= static_cast< int >(val2
);
36421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36422 if (!SWIG_IsOK(ecode3
)) {
36423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36425 arg3
= static_cast< int >(val3
);
36426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36427 if (!SWIG_IsOK(ecode4
)) {
36428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36430 arg4
= static_cast< int >(val4
);
36431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36432 if (!SWIG_IsOK(ecode5
)) {
36433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36435 arg5
= static_cast< int >(val5
);
36437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36438 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36439 wxPyEndAllowThreads(__tstate
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36442 resultobj
= SWIG_Py_Void();
36449 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36450 PyObject
*resultobj
= 0;
36451 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36456 PyObject
* obj0
= 0 ;
36457 PyObject
* obj1
= 0 ;
36458 char * kwnames
[] = {
36459 (char *) "self",(char *) "rect", NULL
36462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36464 if (!SWIG_IsOK(res1
)) {
36465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36467 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36470 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36474 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36475 wxPyEndAllowThreads(__tstate
);
36476 if (PyErr_Occurred()) SWIG_fail
;
36478 resultobj
= SWIG_Py_Void();
36485 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36486 PyObject
*resultobj
= 0;
36487 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36508 PyObject
* obj0
= 0 ;
36509 PyObject
* obj1
= 0 ;
36510 PyObject
* obj2
= 0 ;
36511 PyObject
* obj3
= 0 ;
36512 PyObject
* obj4
= 0 ;
36513 PyObject
* obj5
= 0 ;
36514 PyObject
* obj6
= 0 ;
36515 char * kwnames
[] = {
36516 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36521 if (!SWIG_IsOK(res1
)) {
36522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36524 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36526 if (!SWIG_IsOK(ecode2
)) {
36527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36529 arg2
= static_cast< int >(val2
);
36530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36531 if (!SWIG_IsOK(ecode3
)) {
36532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36534 arg3
= static_cast< int >(val3
);
36535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36536 if (!SWIG_IsOK(ecode4
)) {
36537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36539 arg4
= static_cast< int >(val4
);
36540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36541 if (!SWIG_IsOK(ecode5
)) {
36542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36544 arg5
= static_cast< int >(val5
);
36545 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36546 if (!SWIG_IsOK(ecode6
)) {
36547 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36549 arg6
= static_cast< double >(val6
);
36550 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36551 if (!SWIG_IsOK(ecode7
)) {
36552 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36554 arg7
= static_cast< double >(val7
);
36556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36557 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36558 wxPyEndAllowThreads(__tstate
);
36559 if (PyErr_Occurred()) SWIG_fail
;
36561 resultobj
= SWIG_Py_Void();
36568 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36569 PyObject
*resultobj
= 0;
36570 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36571 wxPoint
*arg2
= 0 ;
36583 PyObject
* obj0
= 0 ;
36584 PyObject
* obj1
= 0 ;
36585 PyObject
* obj2
= 0 ;
36586 PyObject
* obj3
= 0 ;
36587 PyObject
* obj4
= 0 ;
36588 char * kwnames
[] = {
36589 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36594 if (!SWIG_IsOK(res1
)) {
36595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36597 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36604 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36606 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36607 if (!SWIG_IsOK(ecode4
)) {
36608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36610 arg4
= static_cast< double >(val4
);
36611 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36612 if (!SWIG_IsOK(ecode5
)) {
36613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36615 arg5
= static_cast< double >(val5
);
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36619 wxPyEndAllowThreads(__tstate
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36622 resultobj
= SWIG_Py_Void();
36629 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36630 PyObject
*resultobj
= 0;
36631 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36640 PyObject
* obj0
= 0 ;
36641 PyObject
* obj1
= 0 ;
36642 PyObject
* obj2
= 0 ;
36643 char * kwnames
[] = {
36644 (char *) "self",(char *) "x",(char *) "y", NULL
36647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36649 if (!SWIG_IsOK(res1
)) {
36650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36652 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36654 if (!SWIG_IsOK(ecode2
)) {
36655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36657 arg2
= static_cast< int >(val2
);
36658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36659 if (!SWIG_IsOK(ecode3
)) {
36660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36662 arg3
= static_cast< int >(val3
);
36664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36665 (arg1
)->DrawPoint(arg2
,arg3
);
36666 wxPyEndAllowThreads(__tstate
);
36667 if (PyErr_Occurred()) SWIG_fail
;
36669 resultobj
= SWIG_Py_Void();
36676 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36677 PyObject
*resultobj
= 0;
36678 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36679 wxPoint
*arg2
= 0 ;
36683 PyObject
* obj0
= 0 ;
36684 PyObject
* obj1
= 0 ;
36685 char * kwnames
[] = {
36686 (char *) "self",(char *) "pt", NULL
36689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36691 if (!SWIG_IsOK(res1
)) {
36692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36694 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36701 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36702 wxPyEndAllowThreads(__tstate
);
36703 if (PyErr_Occurred()) SWIG_fail
;
36705 resultobj
= SWIG_Py_Void();
36712 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36713 PyObject
*resultobj
= 0;
36714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36729 PyObject
* obj0
= 0 ;
36730 PyObject
* obj1
= 0 ;
36731 PyObject
* obj2
= 0 ;
36732 PyObject
* obj3
= 0 ;
36733 PyObject
* obj4
= 0 ;
36734 char * kwnames
[] = {
36735 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36740 if (!SWIG_IsOK(res1
)) {
36741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36743 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36745 if (!SWIG_IsOK(ecode2
)) {
36746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36748 arg2
= static_cast< int >(val2
);
36749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36750 if (!SWIG_IsOK(ecode3
)) {
36751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36753 arg3
= static_cast< int >(val3
);
36754 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36755 if (!SWIG_IsOK(ecode4
)) {
36756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36758 arg4
= static_cast< int >(val4
);
36759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36760 if (!SWIG_IsOK(ecode5
)) {
36761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36763 arg5
= static_cast< int >(val5
);
36765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36766 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36767 wxPyEndAllowThreads(__tstate
);
36768 if (PyErr_Occurred()) SWIG_fail
;
36770 resultobj
= SWIG_Py_Void();
36777 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36778 PyObject
*resultobj
= 0;
36779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 char * kwnames
[] = {
36787 (char *) "self",(char *) "rect", NULL
36790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36792 if (!SWIG_IsOK(res1
)) {
36793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36795 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36802 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36806 resultobj
= SWIG_Py_Void();
36813 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36814 PyObject
*resultobj
= 0;
36815 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36816 wxPoint
*arg2
= 0 ;
36822 PyObject
* obj0
= 0 ;
36823 PyObject
* obj1
= 0 ;
36824 PyObject
* obj2
= 0 ;
36825 char * kwnames
[] = {
36826 (char *) "self",(char *) "pt",(char *) "sz", NULL
36829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36831 if (!SWIG_IsOK(res1
)) {
36832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36841 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= SWIG_Py_Void();
36856 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
= 0;
36858 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36876 PyObject
* obj0
= 0 ;
36877 PyObject
* obj1
= 0 ;
36878 PyObject
* obj2
= 0 ;
36879 PyObject
* obj3
= 0 ;
36880 PyObject
* obj4
= 0 ;
36881 PyObject
* obj5
= 0 ;
36882 char * kwnames
[] = {
36883 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36888 if (!SWIG_IsOK(res1
)) {
36889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36893 if (!SWIG_IsOK(ecode2
)) {
36894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36896 arg2
= static_cast< int >(val2
);
36897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36898 if (!SWIG_IsOK(ecode3
)) {
36899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36901 arg3
= static_cast< int >(val3
);
36902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36903 if (!SWIG_IsOK(ecode4
)) {
36904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36906 arg4
= static_cast< int >(val4
);
36907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36908 if (!SWIG_IsOK(ecode5
)) {
36909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36911 arg5
= static_cast< int >(val5
);
36912 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36913 if (!SWIG_IsOK(ecode6
)) {
36914 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36916 arg6
= static_cast< double >(val6
);
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 resultobj
= SWIG_Py_Void();
36930 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
= 0;
36932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36940 PyObject
* obj0
= 0 ;
36941 PyObject
* obj1
= 0 ;
36942 PyObject
* obj2
= 0 ;
36943 char * kwnames
[] = {
36944 (char *) "self",(char *) "r",(char *) "radius", NULL
36947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36949 if (!SWIG_IsOK(res1
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36955 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36957 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36958 if (!SWIG_IsOK(ecode3
)) {
36959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36961 arg3
= static_cast< double >(val3
);
36963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36964 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36965 wxPyEndAllowThreads(__tstate
);
36966 if (PyErr_Occurred()) SWIG_fail
;
36968 resultobj
= SWIG_Py_Void();
36975 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36976 PyObject
*resultobj
= 0;
36977 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36978 wxPoint
*arg2
= 0 ;
36987 PyObject
* obj0
= 0 ;
36988 PyObject
* obj1
= 0 ;
36989 PyObject
* obj2
= 0 ;
36990 PyObject
* obj3
= 0 ;
36991 char * kwnames
[] = {
36992 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36997 if (!SWIG_IsOK(res1
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37007 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37009 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37010 if (!SWIG_IsOK(ecode4
)) {
37011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37013 arg4
= static_cast< double >(val4
);
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= SWIG_Py_Void();
37027 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
= 0;
37029 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37041 PyObject
* obj0
= 0 ;
37042 PyObject
* obj1
= 0 ;
37043 PyObject
* obj2
= 0 ;
37044 PyObject
* obj3
= 0 ;
37045 char * kwnames
[] = {
37046 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37051 if (!SWIG_IsOK(res1
)) {
37052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37056 if (!SWIG_IsOK(ecode2
)) {
37057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37059 arg2
= static_cast< int >(val2
);
37060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37061 if (!SWIG_IsOK(ecode3
)) {
37062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37064 arg3
= static_cast< int >(val3
);
37065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37066 if (!SWIG_IsOK(ecode4
)) {
37067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37069 arg4
= static_cast< int >(val4
);
37071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37072 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37073 wxPyEndAllowThreads(__tstate
);
37074 if (PyErr_Occurred()) SWIG_fail
;
37076 resultobj
= SWIG_Py_Void();
37083 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37084 PyObject
*resultobj
= 0;
37085 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37086 wxPoint
*arg2
= 0 ;
37093 PyObject
* obj0
= 0 ;
37094 PyObject
* obj1
= 0 ;
37095 PyObject
* obj2
= 0 ;
37096 char * kwnames
[] = {
37097 (char *) "self",(char *) "pt",(char *) "radius", NULL
37100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37102 if (!SWIG_IsOK(res1
)) {
37103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37111 if (!SWIG_IsOK(ecode3
)) {
37112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37114 arg3
= static_cast< int >(val3
);
37116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37117 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37118 wxPyEndAllowThreads(__tstate
);
37119 if (PyErr_Occurred()) SWIG_fail
;
37121 resultobj
= SWIG_Py_Void();
37128 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37129 PyObject
*resultobj
= 0;
37130 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 PyObject
* obj2
= 0 ;
37148 PyObject
* obj3
= 0 ;
37149 PyObject
* obj4
= 0 ;
37150 char * kwnames
[] = {
37151 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37156 if (!SWIG_IsOK(res1
)) {
37157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37161 if (!SWIG_IsOK(ecode2
)) {
37162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37164 arg2
= static_cast< int >(val2
);
37165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37166 if (!SWIG_IsOK(ecode3
)) {
37167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37169 arg3
= static_cast< int >(val3
);
37170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37171 if (!SWIG_IsOK(ecode4
)) {
37172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37174 arg4
= static_cast< int >(val4
);
37175 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37176 if (!SWIG_IsOK(ecode5
)) {
37177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37179 arg5
= static_cast< int >(val5
);
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37183 wxPyEndAllowThreads(__tstate
);
37184 if (PyErr_Occurred()) SWIG_fail
;
37186 resultobj
= SWIG_Py_Void();
37193 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37194 PyObject
*resultobj
= 0;
37195 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37200 PyObject
* obj0
= 0 ;
37201 PyObject
* obj1
= 0 ;
37202 char * kwnames
[] = {
37203 (char *) "self",(char *) "rect", NULL
37206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37208 if (!SWIG_IsOK(res1
)) {
37209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37214 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37218 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 resultobj
= SWIG_Py_Void();
37229 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37230 PyObject
*resultobj
= 0;
37231 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37232 wxPoint
*arg2
= 0 ;
37238 PyObject
* obj0
= 0 ;
37239 PyObject
* obj1
= 0 ;
37240 PyObject
* obj2
= 0 ;
37241 char * kwnames
[] = {
37242 (char *) "self",(char *) "pt",(char *) "sz", NULL
37245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37247 if (!SWIG_IsOK(res1
)) {
37248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37257 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37261 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= SWIG_Py_Void();
37272 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37273 PyObject
*resultobj
= 0;
37274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37286 PyObject
* obj0
= 0 ;
37287 PyObject
* obj1
= 0 ;
37288 PyObject
* obj2
= 0 ;
37289 PyObject
* obj3
= 0 ;
37290 char * kwnames
[] = {
37291 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37296 if (!SWIG_IsOK(res1
)) {
37297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37299 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37301 if (!SWIG_IsOK(res2
)) {
37302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37307 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37309 if (!SWIG_IsOK(ecode3
)) {
37310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37312 arg3
= static_cast< int >(val3
);
37313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37314 if (!SWIG_IsOK(ecode4
)) {
37315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37317 arg4
= static_cast< int >(val4
);
37319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37320 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37321 wxPyEndAllowThreads(__tstate
);
37322 if (PyErr_Occurred()) SWIG_fail
;
37324 resultobj
= SWIG_Py_Void();
37331 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37332 PyObject
*resultobj
= 0;
37333 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37335 wxPoint
*arg3
= 0 ;
37341 PyObject
* obj0
= 0 ;
37342 PyObject
* obj1
= 0 ;
37343 PyObject
* obj2
= 0 ;
37344 char * kwnames
[] = {
37345 (char *) "self",(char *) "icon",(char *) "pt", NULL
37348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37350 if (!SWIG_IsOK(res1
)) {
37351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37353 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37355 if (!SWIG_IsOK(res2
)) {
37356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37361 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37368 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37369 wxPyEndAllowThreads(__tstate
);
37370 if (PyErr_Occurred()) SWIG_fail
;
37372 resultobj
= SWIG_Py_Void();
37379 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37380 PyObject
*resultobj
= 0;
37381 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37382 wxBitmap
*arg2
= 0 ;
37385 bool arg5
= (bool) false ;
37396 PyObject
* obj0
= 0 ;
37397 PyObject
* obj1
= 0 ;
37398 PyObject
* obj2
= 0 ;
37399 PyObject
* obj3
= 0 ;
37400 PyObject
* obj4
= 0 ;
37401 char * kwnames
[] = {
37402 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37407 if (!SWIG_IsOK(res1
)) {
37408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37412 if (!SWIG_IsOK(res2
)) {
37413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37418 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37420 if (!SWIG_IsOK(ecode3
)) {
37421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37423 arg3
= static_cast< int >(val3
);
37424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37425 if (!SWIG_IsOK(ecode4
)) {
37426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37428 arg4
= static_cast< int >(val4
);
37430 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37431 if (!SWIG_IsOK(ecode5
)) {
37432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37434 arg5
= static_cast< bool >(val5
);
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37439 wxPyEndAllowThreads(__tstate
);
37440 if (PyErr_Occurred()) SWIG_fail
;
37442 resultobj
= SWIG_Py_Void();
37449 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37450 PyObject
*resultobj
= 0;
37451 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37452 wxBitmap
*arg2
= 0 ;
37453 wxPoint
*arg3
= 0 ;
37454 bool arg4
= (bool) false ;
37462 PyObject
* obj0
= 0 ;
37463 PyObject
* obj1
= 0 ;
37464 PyObject
* obj2
= 0 ;
37465 PyObject
* obj3
= 0 ;
37466 char * kwnames
[] = {
37467 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37472 if (!SWIG_IsOK(res1
)) {
37473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37475 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37477 if (!SWIG_IsOK(res2
)) {
37478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37483 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37489 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37490 if (!SWIG_IsOK(ecode4
)) {
37491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37493 arg4
= static_cast< bool >(val4
);
37496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37497 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37501 resultobj
= SWIG_Py_Void();
37508 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37509 PyObject
*resultobj
= 0;
37510 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37511 wxString
*arg2
= 0 ;
37516 bool temp2
= false ;
37521 PyObject
* obj0
= 0 ;
37522 PyObject
* obj1
= 0 ;
37523 PyObject
* obj2
= 0 ;
37524 PyObject
* obj3
= 0 ;
37525 char * kwnames
[] = {
37526 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37531 if (!SWIG_IsOK(res1
)) {
37532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37536 arg2
= wxString_in_helper(obj1
);
37537 if (arg2
== NULL
) SWIG_fail
;
37540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37541 if (!SWIG_IsOK(ecode3
)) {
37542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37544 arg3
= static_cast< int >(val3
);
37545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37546 if (!SWIG_IsOK(ecode4
)) {
37547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37549 arg4
= static_cast< int >(val4
);
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37553 wxPyEndAllowThreads(__tstate
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= SWIG_Py_Void();
37571 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37572 PyObject
*resultobj
= 0;
37573 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37574 wxString
*arg2
= 0 ;
37575 wxPoint
*arg3
= 0 ;
37578 bool temp2
= false ;
37580 PyObject
* obj0
= 0 ;
37581 PyObject
* obj1
= 0 ;
37582 PyObject
* obj2
= 0 ;
37583 char * kwnames
[] = {
37584 (char *) "self",(char *) "text",(char *) "pt", NULL
37587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37589 if (!SWIG_IsOK(res1
)) {
37590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37592 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37594 arg2
= wxString_in_helper(obj1
);
37595 if (arg2
== NULL
) SWIG_fail
;
37600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37604 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37605 wxPyEndAllowThreads(__tstate
);
37606 if (PyErr_Occurred()) SWIG_fail
;
37608 resultobj
= SWIG_Py_Void();
37623 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37624 PyObject
*resultobj
= 0;
37625 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37626 wxString
*arg2
= 0 ;
37632 bool temp2
= false ;
37639 PyObject
* obj0
= 0 ;
37640 PyObject
* obj1
= 0 ;
37641 PyObject
* obj2
= 0 ;
37642 PyObject
* obj3
= 0 ;
37643 PyObject
* obj4
= 0 ;
37644 char * kwnames
[] = {
37645 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37650 if (!SWIG_IsOK(res1
)) {
37651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37655 arg2
= wxString_in_helper(obj1
);
37656 if (arg2
== NULL
) SWIG_fail
;
37659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37660 if (!SWIG_IsOK(ecode3
)) {
37661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37663 arg3
= static_cast< int >(val3
);
37664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37665 if (!SWIG_IsOK(ecode4
)) {
37666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37668 arg4
= static_cast< int >(val4
);
37669 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37670 if (!SWIG_IsOK(ecode5
)) {
37671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37673 arg5
= static_cast< double >(val5
);
37675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37676 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37677 wxPyEndAllowThreads(__tstate
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37680 resultobj
= SWIG_Py_Void();
37695 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37696 PyObject
*resultobj
= 0;
37697 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37698 wxString
*arg2
= 0 ;
37699 wxPoint
*arg3
= 0 ;
37703 bool temp2
= false ;
37707 PyObject
* obj0
= 0 ;
37708 PyObject
* obj1
= 0 ;
37709 PyObject
* obj2
= 0 ;
37710 PyObject
* obj3
= 0 ;
37711 char * kwnames
[] = {
37712 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37717 if (!SWIG_IsOK(res1
)) {
37718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37720 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37722 arg2
= wxString_in_helper(obj1
);
37723 if (arg2
== NULL
) SWIG_fail
;
37728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37730 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37731 if (!SWIG_IsOK(ecode4
)) {
37732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37734 arg4
= static_cast< double >(val4
);
37736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37737 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37738 wxPyEndAllowThreads(__tstate
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37741 resultobj
= SWIG_Py_Void();
37756 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37757 PyObject
*resultobj
= 0;
37758 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37760 wxPoint
*arg3
= (wxPoint
*) 0 ;
37761 int arg4
= (int) 0 ;
37762 int arg5
= (int) 0 ;
37769 PyObject
* obj0
= 0 ;
37770 PyObject
* obj1
= 0 ;
37771 PyObject
* obj2
= 0 ;
37772 PyObject
* obj3
= 0 ;
37773 char * kwnames
[] = {
37774 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37779 if (!SWIG_IsOK(res1
)) {
37780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37782 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37784 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37785 if (arg3
== NULL
) SWIG_fail
;
37788 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37789 if (!SWIG_IsOK(ecode4
)) {
37790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37792 arg4
= static_cast< int >(val4
);
37795 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37796 if (!SWIG_IsOK(ecode5
)) {
37797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37799 arg5
= static_cast< int >(val5
);
37802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37803 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37807 resultobj
= SWIG_Py_Void();
37809 if (arg3
) delete [] arg3
;
37814 if (arg3
) delete [] arg3
;
37820 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37821 PyObject
*resultobj
= 0;
37822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37824 wxPoint
*arg3
= (wxPoint
*) 0 ;
37825 int arg4
= (int) 0 ;
37826 int arg5
= (int) 0 ;
37827 int arg6
= (int) wxODDEVEN_RULE
;
37836 PyObject
* obj0
= 0 ;
37837 PyObject
* obj1
= 0 ;
37838 PyObject
* obj2
= 0 ;
37839 PyObject
* obj3
= 0 ;
37840 PyObject
* obj4
= 0 ;
37841 char * kwnames
[] = {
37842 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37847 if (!SWIG_IsOK(res1
)) {
37848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37850 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37852 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37853 if (arg3
== NULL
) SWIG_fail
;
37856 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37857 if (!SWIG_IsOK(ecode4
)) {
37858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37860 arg4
= static_cast< int >(val4
);
37863 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37864 if (!SWIG_IsOK(ecode5
)) {
37865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37867 arg5
= static_cast< int >(val5
);
37870 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37871 if (!SWIG_IsOK(ecode6
)) {
37872 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37874 arg6
= static_cast< int >(val6
);
37877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37878 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37879 wxPyEndAllowThreads(__tstate
);
37880 if (PyErr_Occurred()) SWIG_fail
;
37882 resultobj
= SWIG_Py_Void();
37884 if (arg3
) delete [] arg3
;
37889 if (arg3
) delete [] arg3
;
37895 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37896 PyObject
*resultobj
= 0;
37897 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37898 wxString
*arg2
= 0 ;
37900 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37901 int arg5
= (int) -1 ;
37904 bool temp2
= false ;
37910 PyObject
* obj0
= 0 ;
37911 PyObject
* obj1
= 0 ;
37912 PyObject
* obj2
= 0 ;
37913 PyObject
* obj3
= 0 ;
37914 PyObject
* obj4
= 0 ;
37915 char * kwnames
[] = {
37916 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37921 if (!SWIG_IsOK(res1
)) {
37922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37924 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37926 arg2
= wxString_in_helper(obj1
);
37927 if (arg2
== NULL
) SWIG_fail
;
37932 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37936 if (!SWIG_IsOK(ecode4
)) {
37937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37939 arg4
= static_cast< int >(val4
);
37942 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37943 if (!SWIG_IsOK(ecode5
)) {
37944 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37946 arg5
= static_cast< int >(val5
);
37949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37950 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37954 resultobj
= SWIG_Py_Void();
37969 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37970 PyObject
*resultobj
= 0;
37971 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37972 wxString
*arg2
= 0 ;
37973 wxBitmap
*arg3
= 0 ;
37975 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37976 int arg6
= (int) -1 ;
37979 bool temp2
= false ;
37987 PyObject
* obj0
= 0 ;
37988 PyObject
* obj1
= 0 ;
37989 PyObject
* obj2
= 0 ;
37990 PyObject
* obj3
= 0 ;
37991 PyObject
* obj4
= 0 ;
37992 PyObject
* obj5
= 0 ;
37993 char * kwnames
[] = {
37994 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37999 if (!SWIG_IsOK(res1
)) {
38000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38002 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38004 arg2
= wxString_in_helper(obj1
);
38005 if (arg2
== NULL
) SWIG_fail
;
38008 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38009 if (!SWIG_IsOK(res3
)) {
38010 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38015 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38018 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38022 if (!SWIG_IsOK(ecode5
)) {
38023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38025 arg5
= static_cast< int >(val5
);
38028 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38029 if (!SWIG_IsOK(ecode6
)) {
38030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38032 arg6
= static_cast< int >(val6
);
38035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38036 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38037 wxPyEndAllowThreads(__tstate
);
38038 if (PyErr_Occurred()) SWIG_fail
;
38040 resultobj
= SWIG_Py_Void();
38055 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38056 PyObject
*resultobj
= 0;
38057 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38059 wxPoint
*arg3
= (wxPoint
*) 0 ;
38062 PyObject
* obj0
= 0 ;
38063 PyObject
* obj1
= 0 ;
38064 char * kwnames
[] = {
38065 (char *) "self",(char *) "points", NULL
38068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38070 if (!SWIG_IsOK(res1
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38075 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38076 if (arg3
== NULL
) SWIG_fail
;
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 (arg1
)->DrawSpline(arg2
,arg3
);
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38084 resultobj
= SWIG_Py_Void();
38086 if (arg3
) delete [] arg3
;
38091 if (arg3
) delete [] arg3
;
38097 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38098 PyObject
*resultobj
= 0;
38099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38102 PyObject
*swig_obj
[1] ;
38104 if (!args
) SWIG_fail
;
38105 swig_obj
[0] = args
;
38106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38107 if (!SWIG_IsOK(res1
)) {
38108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38110 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38114 wxPyEndAllowThreads(__tstate
);
38115 if (PyErr_Occurred()) SWIG_fail
;
38117 resultobj
= SWIG_Py_Void();
38124 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38125 PyObject
*resultobj
= 0;
38126 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38132 PyObject
* obj0
= 0 ;
38133 PyObject
* obj1
= 0 ;
38134 char * kwnames
[] = {
38135 (char *) "self",(char *) "font", NULL
38138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38140 if (!SWIG_IsOK(res1
)) {
38141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38143 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38145 if (!SWIG_IsOK(res2
)) {
38146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38151 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38154 (arg1
)->SetFont((wxFont
const &)*arg2
);
38155 wxPyEndAllowThreads(__tstate
);
38156 if (PyErr_Occurred()) SWIG_fail
;
38158 resultobj
= SWIG_Py_Void();
38165 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38166 PyObject
*resultobj
= 0;
38167 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38173 PyObject
* obj0
= 0 ;
38174 PyObject
* obj1
= 0 ;
38175 char * kwnames
[] = {
38176 (char *) "self",(char *) "pen", NULL
38179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38181 if (!SWIG_IsOK(res1
)) {
38182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38184 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38186 if (!SWIG_IsOK(res2
)) {
38187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38192 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38195 (arg1
)->SetPen((wxPen
const &)*arg2
);
38196 wxPyEndAllowThreads(__tstate
);
38197 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= SWIG_Py_Void();
38206 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38207 PyObject
*resultobj
= 0;
38208 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38209 wxBrush
*arg2
= 0 ;
38214 PyObject
* obj0
= 0 ;
38215 PyObject
* obj1
= 0 ;
38216 char * kwnames
[] = {
38217 (char *) "self",(char *) "brush", NULL
38220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38222 if (!SWIG_IsOK(res1
)) {
38223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38227 if (!SWIG_IsOK(res2
)) {
38228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38233 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38236 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38237 wxPyEndAllowThreads(__tstate
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38240 resultobj
= SWIG_Py_Void();
38247 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38248 PyObject
*resultobj
= 0;
38249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38250 wxBrush
*arg2
= 0 ;
38255 PyObject
* obj0
= 0 ;
38256 PyObject
* obj1
= 0 ;
38257 char * kwnames
[] = {
38258 (char *) "self",(char *) "brush", NULL
38261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38263 if (!SWIG_IsOK(res1
)) {
38264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38266 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38268 if (!SWIG_IsOK(res2
)) {
38269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38274 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38277 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38278 wxPyEndAllowThreads(__tstate
);
38279 if (PyErr_Occurred()) SWIG_fail
;
38281 resultobj
= SWIG_Py_Void();
38288 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38289 PyObject
*resultobj
= 0;
38290 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38296 PyObject
* obj0
= 0 ;
38297 PyObject
* obj1
= 0 ;
38298 char * kwnames
[] = {
38299 (char *) "self",(char *) "mode", NULL
38302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38304 if (!SWIG_IsOK(res1
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38309 if (!SWIG_IsOK(ecode2
)) {
38310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38312 arg2
= static_cast< int >(val2
);
38314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38315 (arg1
)->SetBackgroundMode(arg2
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38319 resultobj
= SWIG_Py_Void();
38326 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38327 PyObject
*resultobj
= 0;
38328 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38329 wxPalette
*arg2
= 0 ;
38334 PyObject
* obj0
= 0 ;
38335 PyObject
* obj1
= 0 ;
38336 char * kwnames
[] = {
38337 (char *) "self",(char *) "palette", NULL
38340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38342 if (!SWIG_IsOK(res1
)) {
38343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38347 if (!SWIG_IsOK(res2
)) {
38348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38353 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38356 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38357 wxPyEndAllowThreads(__tstate
);
38358 if (PyErr_Occurred()) SWIG_fail
;
38360 resultobj
= SWIG_Py_Void();
38367 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38368 PyObject
*resultobj
= 0;
38369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38370 wxColour
*arg2
= 0 ;
38374 PyObject
* obj0
= 0 ;
38375 PyObject
* obj1
= 0 ;
38376 char * kwnames
[] = {
38377 (char *) "self",(char *) "colour", NULL
38380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38382 if (!SWIG_IsOK(res1
)) {
38383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38388 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38392 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38393 wxPyEndAllowThreads(__tstate
);
38394 if (PyErr_Occurred()) SWIG_fail
;
38396 resultobj
= SWIG_Py_Void();
38403 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38404 PyObject
*resultobj
= 0;
38405 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38406 wxColour
*arg2
= 0 ;
38410 PyObject
* obj0
= 0 ;
38411 PyObject
* obj1
= 0 ;
38412 char * kwnames
[] = {
38413 (char *) "self",(char *) "colour", NULL
38416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38418 if (!SWIG_IsOK(res1
)) {
38419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38421 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38428 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38429 wxPyEndAllowThreads(__tstate
);
38430 if (PyErr_Occurred()) SWIG_fail
;
38432 resultobj
= SWIG_Py_Void();
38439 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38440 PyObject
*resultobj
= 0;
38441 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38447 PyObject
* obj0
= 0 ;
38448 PyObject
* obj1
= 0 ;
38449 char * kwnames
[] = {
38450 (char *) "self",(char *) "function", NULL
38453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38455 if (!SWIG_IsOK(res1
)) {
38456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38458 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38460 if (!SWIG_IsOK(ecode2
)) {
38461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38463 arg2
= static_cast< int >(val2
);
38465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 (arg1
)->SetLogicalFunction(arg2
);
38467 wxPyEndAllowThreads(__tstate
);
38468 if (PyErr_Occurred()) SWIG_fail
;
38470 resultobj
= SWIG_Py_Void();
38477 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38480 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38481 return SWIG_Py_Void();
38484 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38485 return SWIG_Python_InitShadowInstance(args
);
38488 static PyMethodDef SwigMethods
[] = {
38489 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38490 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38491 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38492 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38493 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38494 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38498 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38499 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38500 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38501 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38502 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38503 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38508 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38512 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38513 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38514 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38516 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38519 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38520 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38521 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38522 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38524 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38525 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38526 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38527 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38528 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38529 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38530 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38537 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38539 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38542 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38543 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38546 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38550 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38551 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38552 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38553 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38554 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38555 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38556 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38558 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38564 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38565 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38566 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38567 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38568 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38569 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38570 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38576 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38586 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38587 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38591 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38592 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38593 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38594 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38595 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38596 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38597 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38598 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38599 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38600 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38601 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38602 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38603 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38604 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38605 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38607 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38608 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38614 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38615 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38616 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38617 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38618 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38619 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38620 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38621 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38622 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38623 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38624 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38625 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38627 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38628 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38634 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38635 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38636 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38637 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38638 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38639 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38640 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38642 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38643 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38648 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38649 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38650 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38651 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38656 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38657 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38659 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38660 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38662 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38664 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38665 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38666 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38667 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38670 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38673 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38674 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38675 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38677 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38680 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38681 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38682 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38687 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38688 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38694 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38698 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38709 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38712 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38713 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38715 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38716 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38717 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38718 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38719 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38720 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38721 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38722 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38723 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38724 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38725 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38726 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38727 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38728 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38729 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38730 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38731 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38733 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38734 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38735 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38736 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38737 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38738 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38739 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38748 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38749 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38751 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38752 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38753 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38754 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38755 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38756 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38757 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38758 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38759 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38761 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38762 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38763 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38766 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38767 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38768 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38771 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38777 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38782 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38783 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38785 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38791 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38794 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38795 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38796 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38797 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38798 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38799 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38800 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38801 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38802 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38803 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38804 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38805 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38806 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38818 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38819 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38820 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38822 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38823 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38825 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38826 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38827 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38828 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38832 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38833 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38835 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38836 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38837 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38838 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38839 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38840 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38841 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38842 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38843 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38845 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38848 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38849 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38850 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38851 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38852 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38853 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38854 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38855 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38865 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38866 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38867 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38869 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38873 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38874 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38875 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38876 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38877 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38878 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38884 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38885 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38886 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38938 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38940 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38941 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38942 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38949 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38950 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38951 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38952 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38953 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38958 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38959 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38960 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38961 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38970 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38971 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38972 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38973 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38974 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38975 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38976 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38977 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38978 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38979 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38980 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38981 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38984 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38986 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38988 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38990 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38991 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38994 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38995 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38999 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39001 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39003 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39004 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39005 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39006 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39007 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39008 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39009 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39010 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39018 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39020 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39022 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39024 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39025 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39026 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39028 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39029 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39030 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39031 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39032 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39033 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39034 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39035 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39038 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39039 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39040 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39042 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39043 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39045 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39046 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39048 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39049 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39054 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39055 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39056 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39057 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39058 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39060 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39061 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39062 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39064 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39065 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39067 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39068 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39071 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39072 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39074 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39077 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39078 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39079 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39081 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39082 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39084 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39085 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39087 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39088 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39090 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39091 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39092 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39093 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39094 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39095 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39096 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39097 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39098 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39099 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39100 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39101 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39102 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39103 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39104 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39105 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39106 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39107 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39110 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39111 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39113 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39119 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39120 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39121 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39122 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39123 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39124 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39126 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39127 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39128 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39135 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39138 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39139 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39140 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39141 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39142 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39143 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39146 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39153 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39154 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39157 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39158 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39159 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39166 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39167 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39168 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39169 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39187 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39188 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39189 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39190 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39191 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39192 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39195 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39202 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39203 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39204 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39205 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39207 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39208 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39209 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39210 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39211 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39212 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39213 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39214 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39215 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39216 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39217 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39218 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39220 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39228 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39230 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39232 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39233 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39234 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39235 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39236 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39237 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39243 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39244 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39245 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39246 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39247 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39248 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39250 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39252 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39254 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39255 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39256 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39261 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39262 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39263 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39264 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39265 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39266 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39267 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39268 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39269 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39270 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39271 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39272 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39281 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39282 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39284 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39285 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39286 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39287 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39288 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39289 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39290 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39291 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39292 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39293 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39294 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39295 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39296 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39297 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39298 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39299 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39300 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39301 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39302 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39303 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39304 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39305 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39306 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39307 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39309 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39311 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39312 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39313 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39314 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39327 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39328 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39329 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39331 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39332 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39333 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39334 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39335 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39336 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39337 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39338 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39391 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39401 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39402 { NULL
, NULL
, 0, NULL
}
39406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39408 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39409 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39411 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39412 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39414 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39415 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39417 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39418 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39420 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39421 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39423 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39424 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39426 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39427 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39429 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39430 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39432 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39433 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39435 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39436 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39438 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39439 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39441 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39442 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39444 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39445 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39447 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39448 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39450 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39451 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39453 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39454 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39456 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39457 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39459 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39460 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39462 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39463 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39465 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39466 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39468 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39469 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39471 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39472 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39474 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39475 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39477 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39478 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39480 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39481 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39483 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39484 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39486 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39487 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39489 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39490 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39492 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39493 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39495 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39496 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39498 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39499 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39501 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39502 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39504 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39505 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39507 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39508 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39510 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39511 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39513 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39514 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39516 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39517 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39519 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39520 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39522 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39523 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39525 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39526 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39528 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39529 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39531 static void *_p_wxPenTo_p_wxObject(void *x
) {
39532 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39534 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39535 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39537 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
39538 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
39540 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39541 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39543 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39544 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39546 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39549 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39550 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39552 static void *_p_wxIconTo_p_wxObject(void *x
) {
39553 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39555 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39556 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39558 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39559 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39561 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39562 return (void *)((wxObject
*) ((wxSizer
*) x
));
39564 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39565 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39567 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39570 static void *_p_wxEventTo_p_wxObject(void *x
) {
39571 return (void *)((wxObject
*) ((wxEvent
*) x
));
39573 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39574 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39576 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39577 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39579 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39580 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39582 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39583 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39585 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39588 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39589 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39591 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39592 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39594 static void *_p_wxDCTo_p_wxObject(void *x
) {
39595 return (void *)((wxObject
*) ((wxDC
*) x
));
39597 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39598 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39600 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39601 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39603 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39604 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39606 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39607 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39609 static void *_p_wxControlTo_p_wxObject(void *x
) {
39610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39612 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39613 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39615 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39616 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39618 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39619 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39621 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39622 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39624 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39625 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39627 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39628 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39630 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39631 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39633 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39634 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39636 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39637 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39639 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39640 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39642 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39643 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39645 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39646 return (void *)((wxObject
*) ((wxEffects
*) x
));
39648 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39649 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39651 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39654 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39655 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39657 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39658 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39660 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39661 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39663 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39664 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39666 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39669 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39670 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39672 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39675 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39676 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39678 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39679 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39681 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39682 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39684 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39685 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39687 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39688 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39690 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39691 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39693 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39696 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39699 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39700 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39702 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39703 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39705 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39706 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39708 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39709 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39711 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39712 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39714 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39715 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39717 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39720 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39723 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39724 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39726 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39729 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39732 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39735 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39736 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39738 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39739 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39741 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39742 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39744 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39745 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39747 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39748 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39750 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39751 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39753 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39754 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39756 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39757 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39759 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39760 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39762 static void *_p_wxImageTo_p_wxObject(void *x
) {
39763 return (void *)((wxObject
*) ((wxImage
*) x
));
39765 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39766 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39768 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39769 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39771 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39772 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39774 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39775 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39777 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39778 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39780 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39781 return (void *)((wxObject
*) ((wxImageList
*) x
));
39783 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39784 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39786 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39787 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39789 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39790 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39792 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39793 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39795 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39796 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39798 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39801 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39802 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39804 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39805 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39807 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39808 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39810 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39811 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39813 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39816 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39817 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39819 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39820 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39822 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39823 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39825 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39826 return (void *)((wxObject
*) ((wxMask
*) x
));
39828 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39829 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39831 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39834 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39835 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39837 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39840 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39841 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39843 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39844 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39846 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39847 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39849 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39852 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39853 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39855 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39856 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39858 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39859 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39861 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39864 static void *_p_wxFontTo_p_wxObject(void *x
) {
39865 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39867 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39868 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39870 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39871 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39873 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39876 static void *_p_wxColourTo_p_wxObject(void *x
) {
39877 return (void *)((wxObject
*) ((wxColour
*) x
));
39879 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39882 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39883 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39885 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39886 return (void *)((wxWindow
*) ((wxControl
*) x
));
39888 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39889 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39891 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39892 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39894 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39895 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39897 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39898 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39900 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39901 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39902 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39903 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};
39904 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39905 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39908 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39909 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39910 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39911 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39912 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39913 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39914 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39915 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39916 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39917 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39918 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39919 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39920 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39921 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39922 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39923 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39924 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39925 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39926 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39927 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39928 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39929 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39930 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39931 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39932 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39933 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39934 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39935 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39936 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39937 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39938 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39939 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39940 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39941 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39942 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39943 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39944 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39945 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39946 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39947 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39948 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39949 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39950 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39951 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39952 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39953 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39954 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39955 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39956 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39957 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39958 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39959 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39960 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39961 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39962 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39963 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39964 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
39965 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39966 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39967 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39968 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39969 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39970 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39971 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39972 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39986 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39987 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39988 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39989 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39990 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39991 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39992 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39993 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39994 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39995 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39996 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39997 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39998 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39999 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40000 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40001 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40002 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40003 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40004 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40005 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40006 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40007 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40008 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40009 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40010 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40011 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40012 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40013 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40014 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40015 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40016 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40017 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40018 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40019 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40020 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40021 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40022 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40023 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40024 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40025 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40026 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40027 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40028 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40029 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40030 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40031 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40032 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40033 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40034 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40035 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40036 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40037 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40038 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40039 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40040 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40041 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40042 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40043 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40044 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40045 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40046 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40047 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40048 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40049 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40050 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40051 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40052 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40053 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40054 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40055 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40056 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40057 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40058 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40059 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40060 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40061 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40062 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40063 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40064 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40065 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40066 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40067 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40068 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40070 static swig_type_info
*swig_type_initial
[] = {
40074 &_swigt__p_form_ops_t
,
40076 &_swigt__p_unsigned_char
,
40077 &_swigt__p_unsigned_int
,
40078 &_swigt__p_unsigned_long
,
40080 &_swigt__p_wxANIHandler
,
40081 &_swigt__p_wxAcceleratorTable
,
40082 &_swigt__p_wxActivateEvent
,
40083 &_swigt__p_wxAlphaPixelData
,
40084 &_swigt__p_wxAlphaPixelData_Accessor
,
40085 &_swigt__p_wxAutoBufferedPaintDC
,
40086 &_swigt__p_wxBMPHandler
,
40087 &_swigt__p_wxBitmap
,
40088 &_swigt__p_wxBoxSizer
,
40089 &_swigt__p_wxBrush
,
40090 &_swigt__p_wxBrushList
,
40091 &_swigt__p_wxBufferedDC
,
40092 &_swigt__p_wxBufferedPaintDC
,
40093 &_swigt__p_wxCURHandler
,
40094 &_swigt__p_wxChildFocusEvent
,
40095 &_swigt__p_wxClientDC
,
40096 &_swigt__p_wxClipboardTextEvent
,
40097 &_swigt__p_wxCloseEvent
,
40098 &_swigt__p_wxColour
,
40099 &_swigt__p_wxColourDatabase
,
40100 &_swigt__p_wxCommandEvent
,
40101 &_swigt__p_wxContextMenuEvent
,
40102 &_swigt__p_wxControl
,
40103 &_swigt__p_wxControlWithItems
,
40104 &_swigt__p_wxCursor
,
40106 &_swigt__p_wxDCBrushChanger
,
40107 &_swigt__p_wxDCClipper
,
40108 &_swigt__p_wxDCOverlay
,
40109 &_swigt__p_wxDCPenChanger
,
40110 &_swigt__p_wxDCTextColourChanger
,
40112 &_swigt__p_wxDateEvent
,
40113 &_swigt__p_wxDisplayChangedEvent
,
40114 &_swigt__p_wxDropFilesEvent
,
40115 &_swigt__p_wxDuplexMode
,
40116 &_swigt__p_wxEffects
,
40117 &_swigt__p_wxEncodingConverter
,
40118 &_swigt__p_wxEraseEvent
,
40119 &_swigt__p_wxEvent
,
40120 &_swigt__p_wxEventBlocker
,
40121 &_swigt__p_wxEvtHandler
,
40122 &_swigt__p_wxFSFile
,
40123 &_swigt__p_wxFileSystem
,
40124 &_swigt__p_wxFlexGridSizer
,
40125 &_swigt__p_wxFocusEvent
,
40127 &_swigt__p_wxFontList
,
40128 &_swigt__p_wxFontMapper
,
40129 &_swigt__p_wxGBSizerItem
,
40131 &_swigt__p_wxGDIObjListBase
,
40132 &_swigt__p_wxGDIObject
,
40133 &_swigt__p_wxGIFHandler
,
40134 &_swigt__p_wxGraphicsBrush
,
40135 &_swigt__p_wxGraphicsContext
,
40136 &_swigt__p_wxGraphicsFont
,
40137 &_swigt__p_wxGraphicsMatrix
,
40138 &_swigt__p_wxGraphicsObject
,
40139 &_swigt__p_wxGraphicsPath
,
40140 &_swigt__p_wxGraphicsPen
,
40141 &_swigt__p_wxGraphicsRenderer
,
40142 &_swigt__p_wxGridBagSizer
,
40143 &_swigt__p_wxGridSizer
,
40144 &_swigt__p_wxHeaderButtonParams
,
40145 &_swigt__p_wxICOHandler
,
40147 &_swigt__p_wxIconBundle
,
40148 &_swigt__p_wxIconLocation
,
40149 &_swigt__p_wxIconizeEvent
,
40150 &_swigt__p_wxIdleEvent
,
40151 &_swigt__p_wxImage
,
40152 &_swigt__p_wxImageHandler
,
40153 &_swigt__p_wxImageList
,
40154 &_swigt__p_wxIndividualLayoutConstraint
,
40155 &_swigt__p_wxInitDialogEvent
,
40156 &_swigt__p_wxJPEGHandler
,
40157 &_swigt__p_wxKeyEvent
,
40158 &_swigt__p_wxLanguageInfo
,
40159 &_swigt__p_wxLayoutConstraints
,
40160 &_swigt__p_wxLocale
,
40162 &_swigt__p_wxMaximizeEvent
,
40163 &_swigt__p_wxMemoryDC
,
40165 &_swigt__p_wxMenuBar
,
40166 &_swigt__p_wxMenuEvent
,
40167 &_swigt__p_wxMenuItem
,
40168 &_swigt__p_wxMetaFile
,
40169 &_swigt__p_wxMetaFileDC
,
40170 &_swigt__p_wxMirrorDC
,
40171 &_swigt__p_wxMouseCaptureChangedEvent
,
40172 &_swigt__p_wxMouseCaptureLostEvent
,
40173 &_swigt__p_wxMouseEvent
,
40174 &_swigt__p_wxMoveEvent
,
40175 &_swigt__p_wxNativeEncodingInfo
,
40176 &_swigt__p_wxNativeFontInfo
,
40177 &_swigt__p_wxNativePixelData
,
40178 &_swigt__p_wxNativePixelData_Accessor
,
40179 &_swigt__p_wxNavigationKeyEvent
,
40180 &_swigt__p_wxNcPaintEvent
,
40181 &_swigt__p_wxNotifyEvent
,
40182 &_swigt__p_wxObject
,
40183 &_swigt__p_wxOverlay
,
40184 &_swigt__p_wxPCXHandler
,
40185 &_swigt__p_wxPNGHandler
,
40186 &_swigt__p_wxPNMHandler
,
40187 &_swigt__p_wxPaintDC
,
40188 &_swigt__p_wxPaintEvent
,
40189 &_swigt__p_wxPalette
,
40190 &_swigt__p_wxPaletteChangedEvent
,
40191 &_swigt__p_wxPaperSize
,
40193 &_swigt__p_wxPenList
,
40194 &_swigt__p_wxPixelDataBase
,
40195 &_swigt__p_wxPoint
,
40196 &_swigt__p_wxPoint2D
,
40197 &_swigt__p_wxPostScriptDC
,
40198 &_swigt__p_wxPrintData
,
40199 &_swigt__p_wxPrinterDC
,
40200 &_swigt__p_wxPseudoDC
,
40201 &_swigt__p_wxPyApp
,
40202 &_swigt__p_wxPyCommandEvent
,
40203 &_swigt__p_wxPyEvent
,
40204 &_swigt__p_wxPyFontEnumerator
,
40205 &_swigt__p_wxPyImageHandler
,
40206 &_swigt__p_wxPyLocale
,
40207 &_swigt__p_wxPySizer
,
40208 &_swigt__p_wxPyValidator
,
40209 &_swigt__p_wxQueryNewPaletteEvent
,
40211 &_swigt__p_wxRect2D
,
40212 &_swigt__p_wxRegion
,
40213 &_swigt__p_wxRegionIterator
,
40214 &_swigt__p_wxRendererNative
,
40215 &_swigt__p_wxRendererVersion
,
40216 &_swigt__p_wxScreenDC
,
40217 &_swigt__p_wxScrollEvent
,
40218 &_swigt__p_wxScrollWinEvent
,
40219 &_swigt__p_wxSetCursorEvent
,
40220 &_swigt__p_wxShowEvent
,
40222 &_swigt__p_wxSizeEvent
,
40223 &_swigt__p_wxSizer
,
40224 &_swigt__p_wxSizerItem
,
40225 &_swigt__p_wxSplitterRenderParams
,
40226 &_swigt__p_wxStaticBoxSizer
,
40227 &_swigt__p_wxStdDialogButtonSizer
,
40228 &_swigt__p_wxStockGDI
,
40229 &_swigt__p_wxString
,
40230 &_swigt__p_wxSysColourChangedEvent
,
40231 &_swigt__p_wxTGAHandler
,
40232 &_swigt__p_wxTIFFHandler
,
40233 &_swigt__p_wxUpdateUIEvent
,
40234 &_swigt__p_wxValidator
,
40235 &_swigt__p_wxWindow
,
40236 &_swigt__p_wxWindowCreateEvent
,
40237 &_swigt__p_wxWindowDC
,
40238 &_swigt__p_wxWindowDestroyEvent
,
40239 &_swigt__p_wxXPMHandler
,
40242 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40243 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40244 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40245 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40246 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40248 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40249 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40250 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40257 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}};
40258 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40259 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}};
40260 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40263 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}};
40264 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40267 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40268 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40269 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40277 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}};
40278 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}};
40279 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40283 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}};
40284 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40290 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40294 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}};
40295 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40296 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}};
40297 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40307 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40308 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40337 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40338 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40342 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40343 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40344 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40345 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40349 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40350 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40355 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40356 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40357 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40358 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40359 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40360 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40361 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40362 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40363 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40364 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40365 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40366 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40367 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40368 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40369 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40370 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40371 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40372 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40373 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40374 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40375 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40376 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40377 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40378 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40379 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40380 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40381 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40382 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}};
40383 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40384 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40385 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40386 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40387 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40388 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40389 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}};
40390 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40391 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40392 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40393 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40394 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40395 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40396 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40397 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40398 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40399 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40400 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40401 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40402 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40403 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40404 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40405 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40406 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40407 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40408 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40409 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}};
40410 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}};
40412 static swig_cast_info
*swig_cast_initial
[] = {
40416 _swigc__p_form_ops_t
,
40418 _swigc__p_unsigned_char
,
40419 _swigc__p_unsigned_int
,
40420 _swigc__p_unsigned_long
,
40422 _swigc__p_wxANIHandler
,
40423 _swigc__p_wxAcceleratorTable
,
40424 _swigc__p_wxActivateEvent
,
40425 _swigc__p_wxAlphaPixelData
,
40426 _swigc__p_wxAlphaPixelData_Accessor
,
40427 _swigc__p_wxAutoBufferedPaintDC
,
40428 _swigc__p_wxBMPHandler
,
40429 _swigc__p_wxBitmap
,
40430 _swigc__p_wxBoxSizer
,
40432 _swigc__p_wxBrushList
,
40433 _swigc__p_wxBufferedDC
,
40434 _swigc__p_wxBufferedPaintDC
,
40435 _swigc__p_wxCURHandler
,
40436 _swigc__p_wxChildFocusEvent
,
40437 _swigc__p_wxClientDC
,
40438 _swigc__p_wxClipboardTextEvent
,
40439 _swigc__p_wxCloseEvent
,
40440 _swigc__p_wxColour
,
40441 _swigc__p_wxColourDatabase
,
40442 _swigc__p_wxCommandEvent
,
40443 _swigc__p_wxContextMenuEvent
,
40444 _swigc__p_wxControl
,
40445 _swigc__p_wxControlWithItems
,
40446 _swigc__p_wxCursor
,
40448 _swigc__p_wxDCBrushChanger
,
40449 _swigc__p_wxDCClipper
,
40450 _swigc__p_wxDCOverlay
,
40451 _swigc__p_wxDCPenChanger
,
40452 _swigc__p_wxDCTextColourChanger
,
40454 _swigc__p_wxDateEvent
,
40455 _swigc__p_wxDisplayChangedEvent
,
40456 _swigc__p_wxDropFilesEvent
,
40457 _swigc__p_wxDuplexMode
,
40458 _swigc__p_wxEffects
,
40459 _swigc__p_wxEncodingConverter
,
40460 _swigc__p_wxEraseEvent
,
40462 _swigc__p_wxEventBlocker
,
40463 _swigc__p_wxEvtHandler
,
40464 _swigc__p_wxFSFile
,
40465 _swigc__p_wxFileSystem
,
40466 _swigc__p_wxFlexGridSizer
,
40467 _swigc__p_wxFocusEvent
,
40469 _swigc__p_wxFontList
,
40470 _swigc__p_wxFontMapper
,
40471 _swigc__p_wxGBSizerItem
,
40473 _swigc__p_wxGDIObjListBase
,
40474 _swigc__p_wxGDIObject
,
40475 _swigc__p_wxGIFHandler
,
40476 _swigc__p_wxGraphicsBrush
,
40477 _swigc__p_wxGraphicsContext
,
40478 _swigc__p_wxGraphicsFont
,
40479 _swigc__p_wxGraphicsMatrix
,
40480 _swigc__p_wxGraphicsObject
,
40481 _swigc__p_wxGraphicsPath
,
40482 _swigc__p_wxGraphicsPen
,
40483 _swigc__p_wxGraphicsRenderer
,
40484 _swigc__p_wxGridBagSizer
,
40485 _swigc__p_wxGridSizer
,
40486 _swigc__p_wxHeaderButtonParams
,
40487 _swigc__p_wxICOHandler
,
40489 _swigc__p_wxIconBundle
,
40490 _swigc__p_wxIconLocation
,
40491 _swigc__p_wxIconizeEvent
,
40492 _swigc__p_wxIdleEvent
,
40494 _swigc__p_wxImageHandler
,
40495 _swigc__p_wxImageList
,
40496 _swigc__p_wxIndividualLayoutConstraint
,
40497 _swigc__p_wxInitDialogEvent
,
40498 _swigc__p_wxJPEGHandler
,
40499 _swigc__p_wxKeyEvent
,
40500 _swigc__p_wxLanguageInfo
,
40501 _swigc__p_wxLayoutConstraints
,
40502 _swigc__p_wxLocale
,
40504 _swigc__p_wxMaximizeEvent
,
40505 _swigc__p_wxMemoryDC
,
40507 _swigc__p_wxMenuBar
,
40508 _swigc__p_wxMenuEvent
,
40509 _swigc__p_wxMenuItem
,
40510 _swigc__p_wxMetaFile
,
40511 _swigc__p_wxMetaFileDC
,
40512 _swigc__p_wxMirrorDC
,
40513 _swigc__p_wxMouseCaptureChangedEvent
,
40514 _swigc__p_wxMouseCaptureLostEvent
,
40515 _swigc__p_wxMouseEvent
,
40516 _swigc__p_wxMoveEvent
,
40517 _swigc__p_wxNativeEncodingInfo
,
40518 _swigc__p_wxNativeFontInfo
,
40519 _swigc__p_wxNativePixelData
,
40520 _swigc__p_wxNativePixelData_Accessor
,
40521 _swigc__p_wxNavigationKeyEvent
,
40522 _swigc__p_wxNcPaintEvent
,
40523 _swigc__p_wxNotifyEvent
,
40524 _swigc__p_wxObject
,
40525 _swigc__p_wxOverlay
,
40526 _swigc__p_wxPCXHandler
,
40527 _swigc__p_wxPNGHandler
,
40528 _swigc__p_wxPNMHandler
,
40529 _swigc__p_wxPaintDC
,
40530 _swigc__p_wxPaintEvent
,
40531 _swigc__p_wxPalette
,
40532 _swigc__p_wxPaletteChangedEvent
,
40533 _swigc__p_wxPaperSize
,
40535 _swigc__p_wxPenList
,
40536 _swigc__p_wxPixelDataBase
,
40538 _swigc__p_wxPoint2D
,
40539 _swigc__p_wxPostScriptDC
,
40540 _swigc__p_wxPrintData
,
40541 _swigc__p_wxPrinterDC
,
40542 _swigc__p_wxPseudoDC
,
40544 _swigc__p_wxPyCommandEvent
,
40545 _swigc__p_wxPyEvent
,
40546 _swigc__p_wxPyFontEnumerator
,
40547 _swigc__p_wxPyImageHandler
,
40548 _swigc__p_wxPyLocale
,
40549 _swigc__p_wxPySizer
,
40550 _swigc__p_wxPyValidator
,
40551 _swigc__p_wxQueryNewPaletteEvent
,
40553 _swigc__p_wxRect2D
,
40554 _swigc__p_wxRegion
,
40555 _swigc__p_wxRegionIterator
,
40556 _swigc__p_wxRendererNative
,
40557 _swigc__p_wxRendererVersion
,
40558 _swigc__p_wxScreenDC
,
40559 _swigc__p_wxScrollEvent
,
40560 _swigc__p_wxScrollWinEvent
,
40561 _swigc__p_wxSetCursorEvent
,
40562 _swigc__p_wxShowEvent
,
40564 _swigc__p_wxSizeEvent
,
40566 _swigc__p_wxSizerItem
,
40567 _swigc__p_wxSplitterRenderParams
,
40568 _swigc__p_wxStaticBoxSizer
,
40569 _swigc__p_wxStdDialogButtonSizer
,
40570 _swigc__p_wxStockGDI
,
40571 _swigc__p_wxString
,
40572 _swigc__p_wxSysColourChangedEvent
,
40573 _swigc__p_wxTGAHandler
,
40574 _swigc__p_wxTIFFHandler
,
40575 _swigc__p_wxUpdateUIEvent
,
40576 _swigc__p_wxValidator
,
40577 _swigc__p_wxWindow
,
40578 _swigc__p_wxWindowCreateEvent
,
40579 _swigc__p_wxWindowDC
,
40580 _swigc__p_wxWindowDestroyEvent
,
40581 _swigc__p_wxXPMHandler
,
40585 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40587 static swig_const_info swig_const_table
[] = {
40588 {0, 0, 0, 0.0, 0, 0}};
40593 /* -----------------------------------------------------------------------------
40594 * Type initialization:
40595 * This problem is tough by the requirement that no dynamic
40596 * memory is used. Also, since swig_type_info structures store pointers to
40597 * swig_cast_info structures and swig_cast_info structures store pointers back
40598 * to swig_type_info structures, we need some lookup code at initialization.
40599 * The idea is that swig generates all the structures that are needed.
40600 * The runtime then collects these partially filled structures.
40601 * The SWIG_InitializeModule function takes these initial arrays out of
40602 * swig_module, and does all the lookup, filling in the swig_module.types
40603 * array with the correct data and linking the correct swig_cast_info
40604 * structures together.
40606 * The generated swig_type_info structures are assigned staticly to an initial
40607 * array. We just loop though that array, and handle each type individually.
40608 * First we lookup if this type has been already loaded, and if so, use the
40609 * loaded structure instead of the generated one. Then we have to fill in the
40610 * cast linked list. The cast data is initially stored in something like a
40611 * two-dimensional array. Each row corresponds to a type (there are the same
40612 * number of rows as there are in the swig_type_initial array). Each entry in
40613 * a column is one of the swig_cast_info structures for that type.
40614 * The cast_initial array is actually an array of arrays, because each row has
40615 * a variable number of columns. So to actually build the cast linked list,
40616 * we find the array of casts associated with the type, and loop through it
40617 * adding the casts to the list. The one last trick we need to do is making
40618 * sure the type pointer in the swig_cast_info struct is correct.
40620 * First off, we lookup the cast->type name to see if it is already loaded.
40621 * There are three cases to handle:
40622 * 1) If the cast->type has already been loaded AND the type we are adding
40623 * casting info to has not been loaded (it is in this module), THEN we
40624 * replace the cast->type pointer with the type pointer that has already
40626 * 2) If BOTH types (the one we are adding casting info to, and the
40627 * cast->type) are loaded, THEN the cast info has already been loaded by
40628 * the previous module so we just ignore it.
40629 * 3) Finally, if cast->type has not already been loaded, then we add that
40630 * swig_cast_info to the linked list (because the cast->type) pointer will
40632 * ----------------------------------------------------------------------------- */
40642 #define SWIGRUNTIME_DEBUG
40646 SWIG_InitializeModule(void *clientdata
) {
40648 swig_module_info
*module_head
;
40649 static int init_run
= 0;
40651 clientdata
= clientdata
;
40653 if (init_run
) return;
40656 /* Initialize the swig_module */
40657 swig_module
.type_initial
= swig_type_initial
;
40658 swig_module
.cast_initial
= swig_cast_initial
;
40660 /* Try and load any already created modules */
40661 module_head
= SWIG_GetModule(clientdata
);
40663 swig_module
.next
= module_head
->next
;
40664 module_head
->next
= &swig_module
;
40666 /* This is the first module loaded */
40667 swig_module
.next
= &swig_module
;
40668 SWIG_SetModule(clientdata
, &swig_module
);
40671 /* Now work on filling in swig_module.types */
40672 #ifdef SWIGRUNTIME_DEBUG
40673 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40675 for (i
= 0; i
< swig_module
.size
; ++i
) {
40676 swig_type_info
*type
= 0;
40677 swig_type_info
*ret
;
40678 swig_cast_info
*cast
;
40680 #ifdef SWIGRUNTIME_DEBUG
40681 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40684 /* if there is another module already loaded */
40685 if (swig_module
.next
!= &swig_module
) {
40686 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40689 /* Overwrite clientdata field */
40690 #ifdef SWIGRUNTIME_DEBUG
40691 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40693 if (swig_module
.type_initial
[i
]->clientdata
) {
40694 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40695 #ifdef SWIGRUNTIME_DEBUG
40696 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40700 type
= swig_module
.type_initial
[i
];
40703 /* Insert casting types */
40704 cast
= swig_module
.cast_initial
[i
];
40705 while (cast
->type
) {
40706 /* Don't need to add information already in the list */
40708 #ifdef SWIGRUNTIME_DEBUG
40709 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40711 if (swig_module
.next
!= &swig_module
) {
40712 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40713 #ifdef SWIGRUNTIME_DEBUG
40714 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40718 if (type
== swig_module
.type_initial
[i
]) {
40719 #ifdef SWIGRUNTIME_DEBUG
40720 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40725 /* Check for casting already in the list */
40726 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40727 #ifdef SWIGRUNTIME_DEBUG
40728 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40730 if (!ocast
) ret
= 0;
40735 #ifdef SWIGRUNTIME_DEBUG
40736 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40739 type
->cast
->prev
= cast
;
40740 cast
->next
= type
->cast
;
40746 /* Set entry in modules->types array equal to the type */
40747 swig_module
.types
[i
] = type
;
40749 swig_module
.types
[i
] = 0;
40751 #ifdef SWIGRUNTIME_DEBUG
40752 printf("**** SWIG_InitializeModule: Cast List ******\n");
40753 for (i
= 0; i
< swig_module
.size
; ++i
) {
40755 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40756 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40757 while (cast
->type
) {
40758 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40762 printf("---- Total casts: %d\n",j
);
40764 printf("**** SWIG_InitializeModule: Cast List ******\n");
40768 /* This function will propagate the clientdata field of type to
40769 * any new swig_type_info structures that have been added into the list
40770 * of equivalent types. It is like calling
40771 * SWIG_TypeClientData(type, clientdata) a second time.
40774 SWIG_PropagateClientData(void) {
40776 swig_cast_info
*equiv
;
40777 static int init_run
= 0;
40779 if (init_run
) return;
40782 for (i
= 0; i
< swig_module
.size
; i
++) {
40783 if (swig_module
.types
[i
]->clientdata
) {
40784 equiv
= swig_module
.types
[i
]->cast
;
40786 if (!equiv
->converter
) {
40787 if (equiv
->type
&& !equiv
->type
->clientdata
)
40788 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40790 equiv
= equiv
->next
;
40810 /* Python-specific SWIG API */
40811 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40812 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40813 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40815 /* -----------------------------------------------------------------------------
40816 * global variable support code.
40817 * ----------------------------------------------------------------------------- */
40819 typedef struct swig_globalvar
{
40820 char *name
; /* Name of global variable */
40821 PyObject
*(*get_attr
)(void); /* Return the current value */
40822 int (*set_attr
)(PyObject
*); /* Set the value */
40823 struct swig_globalvar
*next
;
40826 typedef struct swig_varlinkobject
{
40828 swig_globalvar
*vars
;
40829 } swig_varlinkobject
;
40831 SWIGINTERN PyObject
*
40832 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40833 return PyString_FromString("<Swig global variables>");
40836 SWIGINTERN PyObject
*
40837 swig_varlink_str(swig_varlinkobject
*v
) {
40838 PyObject
*str
= PyString_FromString("(");
40839 swig_globalvar
*var
;
40840 for (var
= v
->vars
; var
; var
=var
->next
) {
40841 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40842 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40844 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40849 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40850 PyObject
*str
= swig_varlink_str(v
);
40851 fprintf(fp
,"Swig global variables ");
40852 fprintf(fp
,"%s\n", PyString_AsString(str
));
40858 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40859 swig_globalvar
*var
= v
->vars
;
40861 swig_globalvar
*n
= var
->next
;
40868 SWIGINTERN PyObject
*
40869 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40870 PyObject
*res
= NULL
;
40871 swig_globalvar
*var
= v
->vars
;
40873 if (strcmp(var
->name
,n
) == 0) {
40874 res
= (*var
->get_attr
)();
40879 if (res
== NULL
&& !PyErr_Occurred()) {
40880 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40886 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40888 swig_globalvar
*var
= v
->vars
;
40890 if (strcmp(var
->name
,n
) == 0) {
40891 res
= (*var
->set_attr
)(p
);
40896 if (res
== 1 && !PyErr_Occurred()) {
40897 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40902 SWIGINTERN PyTypeObject
*
40903 swig_varlink_type(void) {
40904 static char varlink__doc__
[] = "Swig var link object";
40905 static PyTypeObject varlink_type
;
40906 static int type_init
= 0;
40908 const PyTypeObject tmp
40910 PyObject_HEAD_INIT(NULL
)
40911 0, /* Number of items in variable part (ob_size) */
40912 (char *)"swigvarlink", /* Type name (tp_name) */
40913 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40914 0, /* Itemsize (tp_itemsize) */
40915 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40916 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40917 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40918 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40919 0, /* tp_compare */
40920 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40921 0, /* tp_as_number */
40922 0, /* tp_as_sequence */
40923 0, /* tp_as_mapping */
40926 (reprfunc
)swig_varlink_str
, /* tp_str */
40927 0, /* tp_getattro */
40928 0, /* tp_setattro */
40929 0, /* tp_as_buffer */
40931 varlink__doc__
, /* tp_doc */
40932 0, /* tp_traverse */
40934 0, /* tp_richcompare */
40935 0, /* tp_weaklistoffset */
40936 #if PY_VERSION_HEX >= 0x02020000
40937 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40939 #if PY_VERSION_HEX >= 0x02030000
40942 #ifdef COUNT_ALLOCS
40943 0,0,0,0 /* tp_alloc -> tp_next */
40946 varlink_type
= tmp
;
40947 varlink_type
.ob_type
= &PyType_Type
;
40950 return &varlink_type
;
40953 /* Create a variable linking object for use later */
40954 SWIGINTERN PyObject
*
40955 SWIG_Python_newvarlink(void) {
40956 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40960 return ((PyObject
*) result
);
40964 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40965 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40966 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40968 size_t size
= strlen(name
)+1;
40969 gv
->name
= (char *)malloc(size
);
40971 strncpy(gv
->name
,name
,size
);
40972 gv
->get_attr
= get_attr
;
40973 gv
->set_attr
= set_attr
;
40974 gv
->next
= v
->vars
;
40980 SWIGINTERN PyObject
*
40982 static PyObject
*_SWIG_globals
= 0;
40983 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40984 return _SWIG_globals
;
40987 /* -----------------------------------------------------------------------------
40988 * constants/methods manipulation
40989 * ----------------------------------------------------------------------------- */
40991 /* Install Constants */
40993 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40996 for (i
= 0; constants
[i
].type
; ++i
) {
40997 switch(constants
[i
].type
) {
40998 case SWIG_PY_POINTER
:
40999 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41001 case SWIG_PY_BINARY
:
41002 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41009 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41015 /* -----------------------------------------------------------------------------*/
41016 /* Fix SwigMethods to carry the callback ptrs when needed */
41017 /* -----------------------------------------------------------------------------*/
41020 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41021 swig_const_info
*const_table
,
41022 swig_type_info
**types
,
41023 swig_type_info
**types_initial
) {
41025 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41026 const char *c
= methods
[i
].ml_doc
;
41027 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41029 swig_const_info
*ci
= 0;
41030 const char *name
= c
+ 10;
41031 for (j
= 0; const_table
[j
].type
; ++j
) {
41032 if (strncmp(const_table
[j
].name
, name
,
41033 strlen(const_table
[j
].name
)) == 0) {
41034 ci
= &(const_table
[j
]);
41039 size_t shift
= (ci
->ptype
) - types
;
41040 swig_type_info
*ty
= types_initial
[shift
];
41041 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41042 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41043 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41046 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41048 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41050 strncpy(buff
, "swig_ptr: ", 10);
41052 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41053 methods
[i
].ml_doc
= ndoc
;
41065 /* -----------------------------------------------------------------------------*
41066 * Partial Init method
41067 * -----------------------------------------------------------------------------*/
41072 SWIGEXPORT
void SWIG_init(void) {
41075 /* Fix SwigMethods to carry the callback ptrs when needed */
41076 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41078 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41079 d
= PyModule_GetDict(m
);
41081 SWIG_InitializeModule(0);
41082 SWIG_InstallConstants(d
,swig_const_table
);
41085 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41086 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41087 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41088 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41089 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41090 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41091 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41092 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41093 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41094 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41095 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41096 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41097 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41098 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41099 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41100 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41101 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41102 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41103 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41104 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41105 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41106 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41107 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41108 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41109 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41110 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41111 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41112 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41113 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41114 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41115 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41116 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41117 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41118 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41119 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41120 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41121 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41122 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41123 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41124 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41125 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41126 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41127 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41128 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41129 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41130 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41131 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41132 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41164 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41165 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41166 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41167 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41168 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41169 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41170 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41171 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41172 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41173 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41174 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41175 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41176 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41177 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41178 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41179 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41180 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41181 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41182 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41183 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41184 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41185 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41186 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41187 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41188 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41189 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41190 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41191 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41192 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41193 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41194 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41195 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41196 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41197 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41198 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41199 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41200 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41201 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41202 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41203 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41204 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41205 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41206 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41207 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41208 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41209 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41210 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41211 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41212 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41213 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41214 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41215 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41216 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41218 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41451 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41452 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41453 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41454 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41455 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41456 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41457 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41458 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41459 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41460 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41461 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41462 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41463 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41464 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41465 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41466 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41467 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41468 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
41469 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41470 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41471 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41472 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41473 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41474 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41475 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41476 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41477 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41478 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41479 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41480 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41481 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41482 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41483 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41484 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41485 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41486 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41487 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41488 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41489 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41490 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41491 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41492 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41493 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41494 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41495 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41496 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41497 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41498 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41499 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41500 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41501 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41502 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41503 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41504 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41505 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41506 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41507 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41508 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41509 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41510 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41511 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41512 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41513 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41514 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41515 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41516 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41517 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41518 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41519 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41520 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41521 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41522 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41523 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41524 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41525 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41526 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41527 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41528 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41529 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41530 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41531 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41532 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41533 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41534 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41535 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41536 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41537 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41538 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41539 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41540 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41541 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41542 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41543 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41544 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41546 // Work around a chicken/egg problem in drawlist.cpp
41547 wxPyDrawList_SetAPIPtr();