1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPostScriptDC swig_types[127]
2594 #define SWIGTYPE_p_wxPrintData swig_types[128]
2595 #define SWIGTYPE_p_wxPrinterDC swig_types[129]
2596 #define SWIGTYPE_p_wxPseudoDC swig_types[130]
2597 #define SWIGTYPE_p_wxPyApp swig_types[131]
2598 #define SWIGTYPE_p_wxPyCommandEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[134]
2601 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
2602 #define SWIGTYPE_p_wxPyLocale swig_types[136]
2603 #define SWIGTYPE_p_wxPySizer swig_types[137]
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138]
2605 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139]
2606 #define SWIGTYPE_p_wxRect swig_types[140]
2607 #define SWIGTYPE_p_wxRect2D swig_types[141]
2608 #define SWIGTYPE_p_wxRegion swig_types[142]
2609 #define SWIGTYPE_p_wxRegionIterator swig_types[143]
2610 #define SWIGTYPE_p_wxRendererNative swig_types[144]
2611 #define SWIGTYPE_p_wxRendererVersion swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 SWIGINTERNINLINE PyObject
*
2927 SWIG_From_short (short value
)
2929 return SWIG_From_long (value
);
2934 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2937 int res
= SWIG_AsVal_long (obj
, &v
);
2938 if (SWIG_IsOK(res
)) {
2939 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2940 return SWIG_OverflowError
;
2942 if (val
) *val
= static_cast< short >(v
);
2949 #include <wx/rawbmp.h>
2952 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2953 // appears to me that the other platforms are already doing it, so I'll just
2954 // automatically do it for wxMSW here.
2956 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2957 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2959 #define wxPy_premultiply(p, a) (p)
2960 #define wxPy_unpremultiply(p, a) (p)
2964 #include <wx/image.h>
2966 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2967 char** cArray
= NULL
;
2970 if (!PyList_Check(listOfStrings
)) {
2971 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2974 count
= PyList_Size(listOfStrings
);
2975 cArray
= new char*[count
];
2977 for(int x
=0; x
<count
; x
++) {
2978 // TODO: Need some validation and error checking here
2979 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2985 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2986 char** cArray
= NULL
;
2989 cArray
= ConvertListOfStrings(listOfStrings
);
2992 bmp
= new wxBitmap(cArray
);
2996 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2999 PyString_AsStringAndSize(bits
, &buf
, &length
);
3000 return new wxBitmap(buf
, width
, height
, depth
);
3002 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3003 wxSize
size(self
->GetWidth(), self
->GetHeight());
3006 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3007 wxMask
*mask
= new wxMask(*self
, colour
);
3008 self
->SetMask(mask
);
3010 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3011 self
->SetWidth(size
.x
);
3012 self
->SetHeight(size
.y
);
3014 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3015 int height
=self
->GetHeight();
3016 int width
=self
->GetWidth();
3018 if (DATASIZE
!= width
* height
* 3) {
3019 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3023 // raise an exception...
3024 wxPyErr_SetString(PyExc_RuntimeError
,
3025 "Failed to gain raw access to bitmap data.");
3029 wxNativePixelData::Iterator
p(pixData
);
3030 for (int y
=0; y
<height
; y
++) {
3031 wxNativePixelData::Iterator rowStart
= p
;
3032 for (int x
=0; x
<width
; x
++) {
3033 p
.Red() = *(data
++);
3034 p
.Green() = *(data
++);
3035 p
.Blue() = *(data
++);
3039 p
.OffsetY(pixData
, 1);
3042 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3043 int height
=self
->GetHeight();
3044 int width
=self
->GetWidth();
3046 if (DATASIZE
!= width
* height
* 4) {
3047 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3049 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3051 // raise an exception...
3052 wxPyErr_SetString(PyExc_RuntimeError
,
3053 "Failed to gain raw access to bitmap data.");
3058 wxAlphaPixelData::Iterator
p(pixData
);
3059 for (int y
=0; y
<height
; y
++) {
3060 wxAlphaPixelData::Iterator rowStart
= p
;
3061 for (int x
=0; x
<width
; x
++) {
3063 p
.Red() = wxPy_premultiply(*(data
++), a
);
3064 p
.Green() = wxPy_premultiply(*(data
++), a
);
3065 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3066 p
.Alpha() = a
; data
++;
3070 p
.OffsetY(pixData
, 1);
3073 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3074 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3076 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3077 buffer data
, int DATASIZE
,
3078 buffer alpha
, int ALPHASIZE
)
3080 if (DATASIZE
!= width
*height
*3) {
3081 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3085 if (ALPHASIZE
!= width
*height
) {
3086 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3090 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3091 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3093 // raise an exception...
3094 wxPyErr_SetString(PyExc_RuntimeError
,
3095 "Failed to gain raw access to bitmap data.");
3100 wxAlphaPixelData::Iterator
p(pixData
);
3101 for (int y
=0; y
<height
; y
++) {
3102 wxAlphaPixelData::Iterator rowStart
= p
;
3103 for (int x
=0; x
<width
; x
++) {
3104 byte a
= *(alpha
++);
3105 p
.Red() = wxPy_premultiply(*(data
++), a
);
3106 p
.Green() = wxPy_premultiply(*(data
++), a
);
3107 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3112 p
.OffsetY(pixData
, 1);
3117 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3119 if (DATASIZE
!= width
*height
*3) {
3120 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3124 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3125 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3127 // raise an exception...
3128 wxPyErr_SetString(PyExc_RuntimeError
,
3129 "Failed to gain raw access to bitmap data.");
3133 wxNativePixelData::Iterator
p(pixData
);
3134 for (int y
=0; y
<height
; y
++) {
3135 wxNativePixelData::Iterator rowStart
= p
;
3136 for (int x
=0; x
<width
; x
++) {
3137 p
.Red() = *(data
++);
3138 p
.Green() = *(data
++);
3139 p
.Blue() = *(data
++);
3143 p
.OffsetY(pixData
, 1);
3149 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3151 if (DATASIZE
!= width
*height
*4) {
3152 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3156 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3157 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3159 // raise an exception...
3160 wxPyErr_SetString(PyExc_RuntimeError
,
3161 "Failed to gain raw access to bitmap data.");
3166 wxAlphaPixelData::Iterator
p(pixData
);
3167 for (int y
=0; y
<height
; y
++) {
3168 wxAlphaPixelData::Iterator rowStart
= p
;
3169 for (int x
=0; x
<width
; x
++) {
3171 p
.Red() = wxPy_premultiply(*(data
++), a
);
3172 p
.Green() = wxPy_premultiply(*(data
++), a
);
3173 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3174 p
.Alpha() = a
; data
++;
3178 p
.OffsetY(pixData
, 1);
3184 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3186 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3187 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3190 self
->Green() = green
;
3191 self
->Blue() = blue
;
3193 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3194 PyObject
* rv
= PyTuple_New(3);
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3201 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3203 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3204 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3206 self
->Red() = wxPy_premultiply(red
, alpha
);
3207 self
->Green() = wxPy_premultiply(green
, alpha
);
3208 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3209 self
->Alpha() = alpha
;
3211 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3212 PyObject
* rv
= PyTuple_New(4);
3213 int red
= self
->Red();
3214 int green
= self
->Green();
3215 int blue
= self
->Blue();
3216 int alpha
= self
->Alpha();
3218 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3219 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3220 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3221 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3224 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3225 if ( !colour
.IsOk() )
3226 return new wxMask(bitmap
, *wxBLACK
);
3228 return new wxMask(bitmap
, colour
);
3231 #include <wx/iconbndl.h>
3233 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3234 wxIcon
* icon
= new wxIcon();
3235 icon
->CopyFromBitmap(bmp
);
3238 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3239 char** cArray
= NULL
;
3242 cArray
= ConvertListOfStrings(listOfStrings
);
3245 icon
= new wxIcon(cArray
);
3249 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3253 return new wxIconLocation(*filename
);
3256 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3263 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3270 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3272 wxImage
img(cursorName
, type
);
3273 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3275 return new wxCursor(img
);
3277 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3282 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3285 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3286 return self
->operator bool();
3289 #include <wx/fontutil.h>
3290 #include <wx/fontmap.h>
3291 #include <wx/fontenum.h>
3293 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3294 return self
->ToString();
3297 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3298 static wxNativeEncodingInfo info
;
3299 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3306 SWIGINTERNINLINE PyObject
*
3307 SWIG_From_size_t (size_t value
)
3309 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3313 SWIGINTERNINLINE
int
3314 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3317 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3318 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3322 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3323 wxFontEncoding alt_enc
;
3324 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3325 return PyInt_FromLong(alt_enc
);
3331 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3332 wxNativeFontInfo nfi
;
3333 nfi
.FromString(info
);
3334 return new wxFont(nfi
);
3336 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3337 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3339 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3340 return wxFontBase::New(pixelSize
, family
,
3341 style
, weight
, underlined
,
3344 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3345 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3347 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3348 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3350 class wxPyFontEnumerator
: public wxFontEnumerator
{
3352 wxPyFontEnumerator() {}
3353 ~wxPyFontEnumerator() {}
3355 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3356 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3361 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3362 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3365 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3367 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3368 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3369 ret
= wxArrayString2PyList_helper(arr
);
3370 wxPyEndBlockThreads(blocked
);
3373 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3375 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3376 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3377 ret
= wxArrayString2PyList_helper(arr
);
3378 wxPyEndBlockThreads(blocked
);
3384 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3387 loc
= new wxLocale();
3389 loc
= new wxLocale(language
, flags
);
3390 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3391 // for the floating point conversions and such to work right.
3392 #if PY_VERSION_HEX < 0x02040000
3393 setlocale(LC_NUMERIC
, "C");
3397 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3398 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3399 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3400 // for the floating point conversions and such to work right.
3401 #if PY_VERSION_HEX < 0x02040000
3402 setlocale(LC_NUMERIC
, "C");
3406 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3407 bool rc
= self
->Init(language
, flags
);
3408 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3409 // for the floating point conversions and such to work right.
3410 #if PY_VERSION_HEX < 0x02040000
3411 setlocale(LC_NUMERIC
, "C");
3416 class wxPyLocale
: public wxLocale
3421 wxPyLocale(const wxChar
*szName
, // name (for messages)
3422 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3423 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3424 bool bLoadDefault
= true, // preload wxstd.mo?
3425 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3427 wxPyLocale(int language
, // wxLanguage id or custom language
3428 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3432 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3433 const wxChar
*szDomain
= NULL
) const;
3434 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3435 const wxChar
*szOrigString2
, size_t n
,
3436 const wxChar
*szDomain
= NULL
) const;
3438 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3439 const wxChar
*szDomain
= NULL
) const;
3440 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3441 const wxChar
*szOrigString2
, size_t n
,
3442 const wxChar
*szDomain
= NULL
) const;
3446 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3449 wxPyLocale::wxPyLocale() : wxLocale()
3453 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3454 const wxChar
*szShort
, // dir prefix (for msg files)
3455 const wxChar
*szLocale
, // locale (for setlocale)
3456 bool bLoadDefault
, // preload wxstd.mo?
3457 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3458 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3462 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3463 int flags
) : wxLocale(language
, flags
)
3467 wxPyLocale::~wxPyLocale()
3471 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3472 const wxChar
*szDomain
) const
3474 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3475 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3478 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3479 const wxChar
*szOrigString2
, size_t n
,
3480 const wxChar
*szDomain
) const
3482 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3483 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3486 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3487 const wxChar
*szDomain
) const
3490 static wxString str
;
3491 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szDomain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3500 str
= Py2wxString(ret
);
3504 wxPyEndBlockThreads(blocked
);
3505 return (found
? (wxChar
*)str
.c_str() : NULL
);
3508 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3509 const wxChar
*szOrigString2
, size_t n
,
3510 const wxChar
*szDomain
) const
3513 static wxString str
;
3514 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3515 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3516 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3517 PyObject
* param1
= wx2PyString(szOrigString
);
3518 PyObject
* param2
= wx2PyString(szOrigString2
);
3519 PyObject
* param4
= wx2PyString(szDomain
);
3520 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3525 str
= Py2wxString(ret
);
3529 wxPyEndBlockThreads(blocked
);
3530 return (found
? (wxChar
*)str
.c_str() : NULL
);
3533 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3536 loc
= new wxPyLocale();
3538 loc
= new wxPyLocale(language
, flags
);
3539 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3540 // for the floating point conversions and such to work right.
3541 #if PY_VERSION_HEX < 0x02040000
3542 setlocale(LC_NUMERIC
, "C");
3547 #include "wx/wxPython/pydrawxxx.h"
3549 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3551 self
->GetPixel(x
, y
, &col
);
3554 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3556 self
->GetPixel(pt
, &col
);
3561 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3563 if (PyNumber_Check(obj
)) {
3564 if (val
) *val
= PyFloat_AsDouble(obj
);
3567 return SWIG_TypeError
;
3570 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3572 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3575 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3577 self
->GetClippingBox(rect
);
3580 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3582 self
->GetPartialTextExtents(text
, widths
);
3586 #define SWIG_From_double PyFloat_FromDouble
3588 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3589 self
->SetLogicalOrigin(point
.x
, point
.y
);
3591 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3592 self
->SetDeviceOrigin(point
.x
, point
.y
);
3594 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3595 self
->CalcBoundingBox(point
.x
, point
.y
);
3597 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3598 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3600 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3601 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3603 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3604 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3606 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3607 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3609 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3610 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3612 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3613 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3616 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3624 #include <wx/dcbuffer.h>
3627 #include <wx/dcps.h>
3630 #include <wx/metafile.h>
3633 #include <wx/graphics.h>
3636 #if !wxUSE_GRAPHICS_CONTEXT
3637 // C++ stub classes for platforms or build configurations that don't have
3638 // wxGraphicsContext yet.
3640 class wxGraphicsRenderer
;
3641 class wxGraphicsMatrix
;
3644 class wxGraphicsObject
: public wxObject
3647 wxGraphicsObject() {}
3648 wxGraphicsObject( wxGraphicsRenderer
* ) {
3649 PyErr_SetString(PyExc_NotImplementedError
,
3650 "wx.GraphicsObject is not available on this platform.");
3652 wxGraphicsObject( const wxGraphicsObject
& ) {}
3653 virtual ~wxGraphicsObject() {}
3654 bool IsNull() const { return false; }
3655 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3660 class wxGraphicsPen
: public wxGraphicsObject
3664 virtual ~wxGraphicsPen() {}
3666 wxGraphicsPen wxNullGraphicsPen
;
3670 class wxGraphicsBrush
: public wxGraphicsObject
3673 wxGraphicsBrush() {}
3674 virtual ~wxGraphicsBrush() {}
3676 wxGraphicsBrush wxNullGraphicsBrush
;
3680 class wxGraphicsFont
: public wxGraphicsObject
3684 virtual ~wxGraphicsFont() {}
3686 wxGraphicsFont wxNullGraphicsFont
;
3690 class wxGraphicsPath
: public wxGraphicsObject
3693 wxGraphicsPath() { }
3694 wxGraphicsPath(wxGraphicsRenderer
* ) {
3695 PyErr_SetString(PyExc_NotImplementedError
,
3696 "wx.GraphicsPath is not available on this platform.");
3698 virtual ~wxGraphicsPath() {}
3700 void MoveToPoint( wxDouble
, wxDouble
) {}
3701 void MoveToPoint( const wxPoint2DDouble
& ) {}
3702 void AddLineToPoint( wxDouble
, wxDouble
) {}
3703 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3704 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3705 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3706 void AddPath( const wxGraphicsPath
& ) {}
3707 void CloseSubpath() {}
3708 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3709 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3710 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3711 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3713 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3718 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3719 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void * GetNativePath() const { return NULL
; }
3721 void UnGetNativePath(void *) const {}
3722 void Transform( const wxGraphicsMatrix
& ) {}
3723 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3724 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3726 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3727 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3729 wxGraphicsPath wxNullGraphicsPath
;
3732 class wxGraphicsMatrix
: public wxGraphicsObject
3735 wxGraphicsMatrix() { }
3736 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3737 PyErr_SetString(PyExc_NotImplementedError
,
3738 "wx.GraphicsMatrix is not available on this platform.");
3740 virtual ~wxGraphicsMatrix() {}
3741 virtual void Concat( const wxGraphicsMatrix
& ) {}
3742 virtual void Copy( const wxGraphicsMatrix
& ) {}
3743 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3744 wxDouble
, wxDouble
) {}
3745 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3746 wxDouble
*, wxDouble
*, wxDouble
*) {}
3747 virtual void Invert() {}
3748 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3749 virtual bool IsIdentity() const { return false; }
3750 virtual void Translate( wxDouble
, wxDouble
) {}
3751 virtual void Scale( wxDouble
, wxDouble
) {}
3752 virtual void Rotate( wxDouble
) {}
3753 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3754 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3755 virtual void * GetNativeMatrix() const { return NULL
; }
3757 wxGraphicsMatrix wxNullGraphicsMatrix
;
3760 class wxGraphicsContext
: public wxGraphicsObject
3764 wxGraphicsContext(wxGraphicsRenderer
* ) {
3765 PyErr_SetString(PyExc_NotImplementedError
,
3766 "wx.GraphicsContext is not available on this platform.");
3769 virtual ~wxGraphicsContext() {}
3771 static wxGraphicsContext
* Create() {
3772 PyErr_SetString(PyExc_NotImplementedError
,
3773 "wx.GraphicsContext is not available on this platform.");
3776 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3777 PyErr_SetString(PyExc_NotImplementedError
,
3778 "wx.GraphicsContext is not available on this platform.");
3782 static wxGraphicsContext
* CreateFromNative( void * ) {
3783 PyErr_SetString(PyExc_NotImplementedError
,
3784 "wx.GraphicsContext is not available on this platform.");
3788 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3789 PyErr_SetString(PyExc_NotImplementedError
,
3790 "wx.GraphicsContext is not available on this platform.");
3794 static wxGraphicsContext
* Create( wxWindow
* ) {
3795 PyErr_SetString(PyExc_NotImplementedError
,
3796 "wx.GraphicsContext is not available on this platform.");
3800 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3802 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3804 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3806 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3807 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3809 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3810 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3811 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3813 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3815 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3816 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3818 virtual void PushState() {}
3819 virtual void PopState() {}
3820 virtual void Clip( const wxRegion
& ) {}
3821 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3822 virtual void ResetClip() {}
3823 virtual void * GetNativeContext() { return NULL
; }
3824 virtual int GetLogicalFunction() const { return 0; }
3825 virtual bool SetLogicalFunction(int ) {}
3826 virtual void Translate( wxDouble
, wxDouble
) {}
3827 virtual void Scale( wxDouble
, wxDouble
) {}
3828 virtual void Rotate( wxDouble
) {}
3829 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3830 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3831 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3833 virtual void SetPen( const wxGraphicsPen
& ) {}
3834 void SetPen( const wxPen
& ) {}
3836 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3837 void SetBrush( const wxBrush
& ) {}
3839 virtual void SetFont( const wxGraphicsFont
& ) {}
3840 void SetFont( const wxFont
&, const wxColour
& ) {}
3842 virtual void StrokePath( const wxGraphicsPath
& ) {}
3843 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3844 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3846 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3847 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3848 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3849 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3850 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3851 wxDouble
*, wxDouble
* ) const {}
3852 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3854 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3859 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3860 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3861 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3862 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3863 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3864 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3865 virtual bool ShouldOffset() const { return false; }
3869 class wxGraphicsRenderer
: public wxObject
3872 wxGraphicsRenderer() {
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wx.GraphicsRenderer is not available on this platform.");
3877 virtual ~wxGraphicsRenderer() {}
3879 static wxGraphicsRenderer
* GetDefaultRenderer() {
3880 PyErr_SetString(PyExc_NotImplementedError
,
3881 "wx.GraphicsRenderer is not available on this platform.");
3885 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3886 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3887 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3888 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3889 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3891 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3893 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3894 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3896 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3897 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3898 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3899 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3900 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3901 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3902 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3907 class wxGCDC
: public wxWindowDC
3910 wxGCDC(const wxWindowDC
&) {
3911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3912 PyErr_SetString(PyExc_NotImplementedError
,
3913 "wxGCDC is not available on this platform.");
3914 wxPyEndBlockThreads(blocked
);
3917 wxGCDC(const wxWindow
*) {
3918 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3919 PyErr_SetString(PyExc_NotImplementedError
,
3920 "wxGCDC is not available on this platform.");
3921 wxPyEndBlockThreads(blocked
);
3925 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3926 PyErr_SetString(PyExc_NotImplementedError
,
3927 "wxGCDC is not available on this platform.");
3928 wxPyEndBlockThreads(blocked
);
3931 virtual ~wxGCDC() {}
3933 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3934 void SetGraphicsContext( wxGraphicsContext
* ) {}
3939 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3940 if ( !backgroundBrush
.IsNull() )
3941 self
->DrawText(str
, x
, y
, backgroundBrush
);
3943 self
->DrawText(str
, x
, y
);
3945 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3946 if ( !backgroundBrush
.IsNull() )
3947 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3949 self
->DrawText(str
, x
, y
, angle
);
3951 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3952 wxDouble width
= 0.0,
3954 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3955 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3956 PyObject
* rv
= PyTuple_New(2);
3957 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3958 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3961 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3962 wxArrayDouble widths
;
3963 self
->GetPartialTextExtents(text
, widths
);
3966 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3967 size_t c1
, c2
, count
;
3968 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3969 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3971 if ( beginP
!= NULL
&& endP
!= NULL
)
3973 count
= wxMin(c1
, c2
);
3974 self
->StrokeLines(count
, beginP
, endP
);
3980 #include "wx/dcgraph.h"
3983 #include <wx/overlay.h>
3987 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3988 self
->AddColour(name
, wxColour(red
, green
, blue
));
3991 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3992 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3993 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3994 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3997 #include <wx/effects.h>
4000 #include "wx/renderer.h"
4003 SWIGINTERNINLINE PyObject
*
4004 SWIG_From_bool (bool value
)
4006 return PyBool_FromLong(value
? 1 : 0);
4010 #include "wx/wxPython/pseudodc.h"
4012 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4014 self
->GetIdBounds(id
, rect
);
4020 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4021 PyObject
*resultobj
= 0;
4022 wxGDIObject
*result
= 0 ;
4024 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4026 if (!wxPyCheckForApp()) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (wxGDIObject
*)new wxGDIObject();
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4039 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 PyObject
*resultobj
= 0;
4041 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4044 PyObject
*swig_obj
[1] ;
4046 if (!args
) SWIG_fail
;
4048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4049 if (!SWIG_IsOK(res1
)) {
4050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4052 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_Py_Void();
4067 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4068 PyObject
*resultobj
= 0;
4069 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4073 PyObject
*swig_obj
[1] ;
4075 if (!args
) SWIG_fail
;
4077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4078 if (!SWIG_IsOK(res1
)) {
4079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4081 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (bool)(arg1
)->IsNull();
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4097 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4100 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4101 return SWIG_Py_Void();
4104 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4105 return SWIG_Python_InitShadowInstance(args
);
4108 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
= 0;
4110 byte arg1
= (byte
) 0 ;
4111 byte arg2
= (byte
) 0 ;
4112 byte arg3
= (byte
) 0 ;
4113 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4114 wxColour
*result
= 0 ;
4115 unsigned char val1
;
4117 unsigned char val2
;
4119 unsigned char val3
;
4121 unsigned char val4
;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4125 PyObject
* obj2
= 0 ;
4126 PyObject
* obj3
= 0 ;
4127 char * kwnames
[] = {
4128 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4133 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4134 if (!SWIG_IsOK(ecode1
)) {
4135 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4137 arg1
= static_cast< byte
>(val1
);
4140 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4141 if (!SWIG_IsOK(ecode2
)) {
4142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4144 arg2
= static_cast< byte
>(val2
);
4147 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4148 if (!SWIG_IsOK(ecode3
)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4151 arg3
= static_cast< byte
>(val3
);
4154 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4155 if (!SWIG_IsOK(ecode4
)) {
4156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4158 arg4
= static_cast< byte
>(val4
);
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4173 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
= 0;
4175 wxString
*arg1
= 0 ;
4176 wxColour
*result
= 0 ;
4177 bool temp1
= false ;
4178 PyObject
* obj0
= 0 ;
4179 char * kwnames
[] = {
4180 (char *) "colorName", NULL
4183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4185 arg1
= wxString_in_helper(obj0
);
4186 if (arg1
== NULL
) SWIG_fail
;
4190 if (!wxPyCheckForApp()) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4211 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
= 0;
4213 unsigned long arg1
;
4214 wxColour
*result
= 0 ;
4215 unsigned long val1
;
4217 PyObject
* obj0
= 0 ;
4218 char * kwnames
[] = {
4219 (char *) "colRGB", NULL
4222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4223 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4224 if (!SWIG_IsOK(ecode1
)) {
4225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4227 arg1
= static_cast< unsigned long >(val1
);
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (wxColour
*)new wxColour(arg1
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4241 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4242 PyObject
*resultobj
= 0;
4243 wxColour
*arg1
= (wxColour
*) 0 ;
4246 PyObject
*swig_obj
[1] ;
4248 if (!args
) SWIG_fail
;
4250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4251 if (!SWIG_IsOK(res1
)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4254 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_Py_Void();
4269 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4270 PyObject
*resultobj
= 0;
4271 wxColour
*arg1
= (wxColour
*) 0 ;
4275 PyObject
*swig_obj
[1] ;
4277 if (!args
) SWIG_fail
;
4279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4280 if (!SWIG_IsOK(res1
)) {
4281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4283 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (byte
)(arg1
)->Red();
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4297 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4298 PyObject
*resultobj
= 0;
4299 wxColour
*arg1
= (wxColour
*) 0 ;
4303 PyObject
*swig_obj
[1] ;
4305 if (!args
) SWIG_fail
;
4307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4308 if (!SWIG_IsOK(res1
)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4311 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (byte
)(arg1
)->Green();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4325 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4326 PyObject
*resultobj
= 0;
4327 wxColour
*arg1
= (wxColour
*) 0 ;
4331 PyObject
*swig_obj
[1] ;
4333 if (!args
) SWIG_fail
;
4335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4336 if (!SWIG_IsOK(res1
)) {
4337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4339 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 result
= (byte
)(arg1
)->Blue();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4353 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4354 PyObject
*resultobj
= 0;
4355 wxColour
*arg1
= (wxColour
*) 0 ;
4359 PyObject
*swig_obj
[1] ;
4361 if (!args
) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4367 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (byte
)(arg1
)->Alpha();
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4381 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4382 PyObject
*resultobj
= 0;
4383 wxColour
*arg1
= (wxColour
*) 0 ;
4387 PyObject
*swig_obj
[1] ;
4389 if (!args
) SWIG_fail
;
4391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4392 if (!SWIG_IsOK(res1
)) {
4393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4395 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (bool)(arg1
)->IsOk();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
= 0;
4413 wxColour
*arg1
= (wxColour
*) 0 ;
4417 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4420 unsigned char val2
;
4422 unsigned char val3
;
4424 unsigned char val4
;
4426 unsigned char val5
;
4428 PyObject
* obj0
= 0 ;
4429 PyObject
* obj1
= 0 ;
4430 PyObject
* obj2
= 0 ;
4431 PyObject
* obj3
= 0 ;
4432 PyObject
* obj4
= 0 ;
4433 char * kwnames
[] = {
4434 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4439 if (!SWIG_IsOK(res1
)) {
4440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4442 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4443 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4444 if (!SWIG_IsOK(ecode2
)) {
4445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4447 arg2
= static_cast< byte
>(val2
);
4448 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4449 if (!SWIG_IsOK(ecode3
)) {
4450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4452 arg3
= static_cast< byte
>(val3
);
4453 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4454 if (!SWIG_IsOK(ecode4
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4457 arg4
= static_cast< byte
>(val4
);
4459 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4460 if (!SWIG_IsOK(ecode5
)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4463 arg5
= static_cast< byte
>(val5
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxColour
*arg1
= (wxColour
*) 0 ;
4481 unsigned long arg2
;
4484 unsigned long val2
;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4488 char * kwnames
[] = {
4489 (char *) "self",(char *) "colRGB", NULL
4492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4497 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4498 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4499 if (!SWIG_IsOK(ecode2
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4502 arg2
= static_cast< unsigned long >(val2
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_Py_Void();
4516 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxColour
*arg1
= (wxColour
*) 0 ;
4519 wxString
*arg2
= 0 ;
4522 bool temp2
= false ;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "self",(char *) "colourName", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4534 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4536 arg2
= wxString_in_helper(obj1
);
4537 if (arg2
== NULL
) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 (arg1
)->Set((wxString
const &)*arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_Py_Void();
4561 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
= 0;
4563 wxColour
*arg1
= (wxColour
*) 0 ;
4564 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4572 char * kwnames
[] = {
4573 (char *) "self",(char *) "flags", NULL
4576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4578 if (!SWIG_IsOK(res1
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4581 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4583 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4584 if (!SWIG_IsOK(ecode2
)) {
4585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4587 arg2
= static_cast< long >(val2
);
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4608 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4609 PyObject
*resultobj
= 0;
4610 wxColour
*arg1
= (wxColour
*) 0 ;
4614 PyObject
*swig_obj
[1] ;
4616 if (!args
) SWIG_fail
;
4618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4619 if (!SWIG_IsOK(res1
)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4622 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_From_long(static_cast< long >(result
));
4636 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
= 0;
4638 wxColour
*arg1
= (wxColour
*) 0 ;
4639 PyObject
*arg2
= (PyObject
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4644 PyObject
* obj1
= 0 ;
4645 char * kwnames
[] = {
4646 (char *) "self",(char *) "other", NULL
4649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4651 if (!SWIG_IsOK(res1
)) {
4652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4654 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4657 result
= (bool)wxColour___eq__(arg1
,arg2
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4669 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
= 0;
4671 wxColour
*arg1
= (wxColour
*) 0 ;
4672 PyObject
*arg2
= (PyObject
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "other", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4687 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4690 result
= (bool)wxColour___ne__(arg1
,arg2
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4702 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
= 0;
4704 wxColour
*arg1
= (wxColour
*) 0 ;
4705 bool arg2
= (bool) false ;
4706 PyObject
*result
= 0 ;
4711 PyObject
* obj0
= 0 ;
4712 PyObject
* obj1
= 0 ;
4713 char * kwnames
[] = {
4714 (char *) "self",(char *) "includeAlpha", NULL
4717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4719 if (!SWIG_IsOK(res1
)) {
4720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4722 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4725 if (!SWIG_IsOK(ecode2
)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4728 arg2
= static_cast< bool >(val2
);
4731 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4741 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxColour
*arg1
= (wxColour
*) 0 ;
4744 unsigned long result
;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4755 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4757 result
= (unsigned long)wxColour_GetRGB(arg1
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4767 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4770 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4771 return SWIG_Py_Void();
4774 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 return SWIG_Python_InitShadowInstance(args
);
4778 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
= 0;
4781 unsigned char *arg2
= (unsigned char *) 0 ;
4782 unsigned char *arg3
= (unsigned char *) 0 ;
4783 unsigned char *arg4
= (unsigned char *) 0 ;
4784 wxPalette
*result
= 0 ;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4795 PyObject
* obj2
= 0 ;
4796 PyObject
* obj3
= 0 ;
4797 char * kwnames
[] = {
4798 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4802 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4803 if (!SWIG_IsOK(ecode1
)) {
4804 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4806 arg1
= static_cast< int >(val1
);
4807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4808 if (!SWIG_IsOK(res2
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4811 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4812 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4813 if (!SWIG_IsOK(res3
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4816 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4817 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4818 if (!SWIG_IsOK(res4
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4821 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4823 if (!wxPyCheckForApp()) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4836 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4837 PyObject
*resultobj
= 0;
4838 wxPalette
*arg1
= (wxPalette
*) 0 ;
4841 PyObject
*swig_obj
[1] ;
4843 if (!args
) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4849 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_Py_Void();
4864 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= 0;
4866 wxPalette
*arg1
= (wxPalette
*) 0 ;
4873 unsigned char val2
;
4875 unsigned char val3
;
4877 unsigned char val4
;
4879 PyObject
* obj0
= 0 ;
4880 PyObject
* obj1
= 0 ;
4881 PyObject
* obj2
= 0 ;
4882 PyObject
* obj3
= 0 ;
4883 char * kwnames
[] = {
4884 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4889 if (!SWIG_IsOK(res1
)) {
4890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4892 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4893 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4894 if (!SWIG_IsOK(ecode2
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4897 arg2
= static_cast< byte
>(val2
);
4898 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4899 if (!SWIG_IsOK(ecode3
)) {
4900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4902 arg3
= static_cast< byte
>(val3
);
4903 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4904 if (!SWIG_IsOK(ecode4
)) {
4905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4907 arg4
= static_cast< byte
>(val4
);
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_From_int(static_cast< int >(result
));
4921 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
= 0;
4923 wxPalette
*arg1
= (wxPalette
*) 0 ;
4925 byte
*arg3
= (byte
*) 0 ;
4926 byte
*arg4
= (byte
*) 0 ;
4927 byte
*arg5
= (byte
*) 0 ;
4934 int res3
= SWIG_TMPOBJ
;
4936 int res4
= SWIG_TMPOBJ
;
4938 int res5
= SWIG_TMPOBJ
;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 char * kwnames
[] = {
4942 (char *) "self",(char *) "pixel", NULL
4948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4953 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4955 if (!SWIG_IsOK(ecode2
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4958 arg2
= static_cast< int >(val2
);
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 if (SWIG_IsTmpObj(res3
)) {
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4971 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4974 if (SWIG_IsTmpObj(res4
)) {
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4977 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4980 if (SWIG_IsTmpObj(res5
)) {
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4983 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4992 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4994 wxPalette
*arg1
= (wxPalette
*) 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5006 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_From_int(static_cast< int >(result
));
5020 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5021 PyObject
*resultobj
= 0;
5022 wxPalette
*arg1
= (wxPalette
*) 0 ;
5026 PyObject
*swig_obj
[1] ;
5028 if (!args
) SWIG_fail
;
5030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5031 if (!SWIG_IsOK(res1
)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5034 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (bool)(arg1
)->IsOk();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5050 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5053 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5054 return SWIG_Py_Void();
5057 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5058 return SWIG_Python_InitShadowInstance(args
);
5061 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxColour
*arg1
= 0 ;
5064 int arg2
= (int) 1 ;
5065 int arg3
= (int) wxSOLID
;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 PyObject
* obj2
= 0 ;
5075 char * kwnames
[] = {
5076 (char *) "colour",(char *) "width",(char *) "style", NULL
5079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5082 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5086 if (!SWIG_IsOK(ecode2
)) {
5087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5089 arg2
= static_cast< int >(val2
);
5092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5093 if (!SWIG_IsOK(ecode3
)) {
5094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5096 arg3
= static_cast< int >(val3
);
5099 if (!wxPyCheckForApp()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5112 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5113 PyObject
*resultobj
= 0;
5114 wxPen
*arg1
= (wxPen
*) 0 ;
5117 PyObject
*swig_obj
[1] ;
5119 if (!args
) SWIG_fail
;
5121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5122 if (!SWIG_IsOK(res1
)) {
5123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5125 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= SWIG_Py_Void();
5140 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5141 PyObject
*resultobj
= 0;
5142 wxPen
*arg1
= (wxPen
*) 0 ;
5146 PyObject
*swig_obj
[1] ;
5148 if (!args
) SWIG_fail
;
5150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5151 if (!SWIG_IsOK(res1
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5154 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (int)(arg1
)->GetCap();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_From_int(static_cast< int >(result
));
5168 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5169 PyObject
*resultobj
= 0;
5170 wxPen
*arg1
= (wxPen
*) 0 ;
5174 PyObject
*swig_obj
[1] ;
5176 if (!args
) SWIG_fail
;
5178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5179 if (!SWIG_IsOK(res1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5182 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (arg1
)->GetColour();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5196 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5197 PyObject
*resultobj
= 0;
5198 wxPen
*arg1
= (wxPen
*) 0 ;
5202 PyObject
*swig_obj
[1] ;
5204 if (!args
) SWIG_fail
;
5206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5207 if (!SWIG_IsOK(res1
)) {
5208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5210 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (int)(arg1
)->GetJoin();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_From_int(static_cast< int >(result
));
5224 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 PyObject
*resultobj
= 0;
5226 wxPen
*arg1
= (wxPen
*) 0 ;
5230 PyObject
*swig_obj
[1] ;
5232 if (!args
) SWIG_fail
;
5234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5235 if (!SWIG_IsOK(res1
)) {
5236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5238 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 result
= (int)(arg1
)->GetStyle();
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_From_int(static_cast< int >(result
));
5252 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5253 PyObject
*resultobj
= 0;
5254 wxPen
*arg1
= (wxPen
*) 0 ;
5258 PyObject
*swig_obj
[1] ;
5260 if (!args
) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5266 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (int)(arg1
)->GetWidth();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_From_int(static_cast< int >(result
));
5280 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5281 PyObject
*resultobj
= 0;
5282 wxPen
*arg1
= (wxPen
*) 0 ;
5286 PyObject
*swig_obj
[1] ;
5288 if (!args
) SWIG_fail
;
5290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5291 if (!SWIG_IsOK(res1
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5294 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (bool)(arg1
)->IsOk();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5310 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
= 0;
5312 wxPen
*arg1
= (wxPen
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5320 char * kwnames
[] = {
5321 (char *) "self",(char *) "cap_style", NULL
5324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5326 if (!SWIG_IsOK(res1
)) {
5327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5329 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5331 if (!SWIG_IsOK(ecode2
)) {
5332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5334 arg2
= static_cast< int >(val2
);
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->SetCap(arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= SWIG_Py_Void();
5348 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
= 0;
5350 wxPen
*arg1
= (wxPen
*) 0 ;
5351 wxColour
*arg2
= 0 ;
5355 PyObject
* obj0
= 0 ;
5356 PyObject
* obj1
= 0 ;
5357 char * kwnames
[] = {
5358 (char *) "self",(char *) "colour", NULL
5361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5363 if (!SWIG_IsOK(res1
)) {
5364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5366 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 (arg1
)->SetColour(*arg2
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= SWIG_Py_Void();
5384 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
= 0;
5386 wxPen
*arg1
= (wxPen
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5394 char * kwnames
[] = {
5395 (char *) "self",(char *) "join_style", NULL
5398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5403 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5405 if (!SWIG_IsOK(ecode2
)) {
5406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5408 arg2
= static_cast< int >(val2
);
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 (arg1
)->SetJoin(arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_Py_Void();
5422 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
= 0;
5424 wxPen
*arg1
= (wxPen
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5432 char * kwnames
[] = {
5433 (char *) "self",(char *) "style", NULL
5436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5438 if (!SWIG_IsOK(res1
)) {
5439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5441 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5443 if (!SWIG_IsOK(ecode2
)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5446 arg2
= static_cast< int >(val2
);
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->SetStyle(arg2
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_Py_Void();
5460 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
= 0;
5462 wxPen
*arg1
= (wxPen
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5470 char * kwnames
[] = {
5471 (char *) "self",(char *) "width", NULL
5474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5476 if (!SWIG_IsOK(res1
)) {
5477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5479 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5481 if (!SWIG_IsOK(ecode2
)) {
5482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5484 arg2
= static_cast< int >(val2
);
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 (arg1
)->SetWidth(arg2
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= SWIG_Py_Void();
5498 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
= 0;
5500 wxPen
*arg1
= (wxPen
*) 0 ;
5502 wxDash
*arg3
= (wxDash
*) 0 ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5507 char * kwnames
[] = {
5508 (char *) "self",(char *) "dashes", NULL
5511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5513 if (!SWIG_IsOK(res1
)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5516 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5518 arg2
= PyList_Size(obj1
);
5519 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5520 if (arg3
== NULL
) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 (arg1
)->SetDashes(arg2
,arg3
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= SWIG_Py_Void();
5530 if (arg3
) delete [] arg3
;
5535 if (arg3
) delete [] arg3
;
5541 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5542 PyObject
*resultobj
= 0;
5543 wxPen
*arg1
= (wxPen
*) 0 ;
5544 PyObject
*result
= 0 ;
5547 PyObject
*swig_obj
[1] ;
5549 if (!args
) SWIG_fail
;
5551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5552 if (!SWIG_IsOK(res1
)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5555 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5569 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
= 0;
5571 wxPen
*arg1
= (wxPen
*) 0 ;
5572 PyObject
*arg2
= (PyObject
*) 0 ;
5573 PyObject
*arg3
= (PyObject
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5578 PyObject
* obj2
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5588 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 wxPen__SetDashes(arg1
,arg2
,arg3
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_Py_Void();
5604 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
= 0;
5606 wxPen
*arg1
= (wxPen
*) 0 ;
5607 wxPen
*arg2
= (wxPen
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 char * kwnames
[] = {
5616 (char *) "self",(char *) "other", NULL
5619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5621 if (!SWIG_IsOK(res1
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5624 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5626 if (!SWIG_IsOK(res2
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5629 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5645 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
= 0;
5647 wxPen
*arg1
= (wxPen
*) 0 ;
5648 wxPen
*arg2
= (wxPen
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5656 char * kwnames
[] = {
5657 (char *) "self",(char *) "other", NULL
5660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5665 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5667 if (!SWIG_IsOK(res2
)) {
5668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5670 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5686 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5690 return SWIG_Py_Void();
5693 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 return SWIG_Python_InitShadowInstance(args
);
5697 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
= 0;
5699 wxColour
*arg1
= 0 ;
5700 int arg2
= (int) wxSOLID
;
5701 wxBrush
*result
= 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 char * kwnames
[] = {
5708 (char *) "colour",(char *) "style", NULL
5711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5714 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5718 if (!SWIG_IsOK(ecode2
)) {
5719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5721 arg2
= static_cast< int >(val2
);
5724 if (!wxPyCheckForApp()) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5737 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
= 0;
5739 wxBitmap
*arg1
= 0 ;
5740 wxBrush
*result
= 0 ;
5743 PyObject
* obj0
= 0 ;
5744 char * kwnames
[] = {
5745 (char *) "stippleBitmap", NULL
5748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5749 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5750 if (!SWIG_IsOK(res1
)) {
5751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5756 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5758 if (!wxPyCheckForApp()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5771 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5772 PyObject
*resultobj
= 0;
5773 wxBrush
*arg1
= (wxBrush
*) 0 ;
5776 PyObject
*swig_obj
[1] ;
5778 if (!args
) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5784 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= SWIG_Py_Void();
5799 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
= 0;
5801 wxBrush
*arg1
= (wxBrush
*) 0 ;
5802 wxColour
*arg2
= 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5808 char * kwnames
[] = {
5809 (char *) "self",(char *) "col", NULL
5812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5814 if (!SWIG_IsOK(res1
)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5817 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->SetColour((wxColour
const &)*arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_Py_Void();
5835 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxBrush
*arg1
= (wxBrush
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 char * kwnames
[] = {
5846 (char *) "self",(char *) "style", NULL
5849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5851 if (!SWIG_IsOK(res1
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5854 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5856 if (!SWIG_IsOK(ecode2
)) {
5857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5859 arg2
= static_cast< int >(val2
);
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->SetStyle(arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= 0;
5875 wxBrush
*arg1
= (wxBrush
*) 0 ;
5876 wxBitmap
*arg2
= 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "stipple", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5892 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5894 if (!SWIG_IsOK(res2
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5900 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= SWIG_Py_Void();
5914 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5915 PyObject
*resultobj
= 0;
5916 wxBrush
*arg1
= (wxBrush
*) 0 ;
5920 PyObject
*swig_obj
[1] ;
5922 if (!args
) SWIG_fail
;
5924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5925 if (!SWIG_IsOK(res1
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5928 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= ((wxBrush
const *)arg1
)->GetColour();
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5942 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5943 PyObject
*resultobj
= 0;
5944 wxBrush
*arg1
= (wxBrush
*) 0 ;
5948 PyObject
*swig_obj
[1] ;
5950 if (!args
) SWIG_fail
;
5952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5953 if (!SWIG_IsOK(res1
)) {
5954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5956 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_From_int(static_cast< int >(result
));
5970 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5971 PyObject
*resultobj
= 0;
5972 wxBrush
*arg1
= (wxBrush
*) 0 ;
5973 wxBitmap
*result
= 0 ;
5976 PyObject
*swig_obj
[1] ;
5978 if (!args
) SWIG_fail
;
5980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5981 if (!SWIG_IsOK(res1
)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5984 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5998 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5999 PyObject
*resultobj
= 0;
6000 wxBrush
*arg1
= (wxBrush
*) 0 ;
6004 PyObject
*swig_obj
[1] ;
6006 if (!args
) SWIG_fail
;
6008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6009 if (!SWIG_IsOK(res1
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6012 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6028 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6029 PyObject
*resultobj
= 0;
6030 wxBrush
*arg1
= (wxBrush
*) 0 ;
6034 PyObject
*swig_obj
[1] ;
6036 if (!args
) SWIG_fail
;
6038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6039 if (!SWIG_IsOK(res1
)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6042 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (bool)(arg1
)->IsOk();
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6059 PyObject
*resultobj
= 0;
6060 wxBrush
*arg1
= (wxBrush
*) 0 ;
6064 PyObject
*swig_obj
[1] ;
6066 if (!args
) SWIG_fail
;
6068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6069 if (!SWIG_IsOK(res1
)) {
6070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6072 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (short)(arg1
)->MacGetTheme();
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= SWIG_From_short(static_cast< short >(result
));
6086 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
= 0;
6088 wxBrush
*arg1
= (wxBrush
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6096 char * kwnames
[] = {
6097 (char *) "self",(char *) "macThemeBrush", NULL
6100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6105 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6106 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6107 if (!SWIG_IsOK(ecode2
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6110 arg2
= static_cast< short >(val2
);
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 (arg1
)->MacSetTheme(arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= SWIG_Py_Void();
6124 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6127 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6128 return SWIG_Py_Void();
6131 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6132 return SWIG_Python_InitShadowInstance(args
);
6135 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
= 0;
6137 wxString
*arg1
= 0 ;
6138 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6139 wxBitmap
*result
= 0 ;
6140 bool temp1
= false ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 char * kwnames
[] = {
6146 (char *) "name",(char *) "type", NULL
6149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6151 arg1
= wxString_in_helper(obj0
);
6152 if (arg1
== NULL
) SWIG_fail
;
6156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6157 if (!SWIG_IsOK(ecode2
)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6160 arg2
= static_cast< wxBitmapType
>(val2
);
6163 if (!wxPyCheckForApp()) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6184 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6185 PyObject
*resultobj
= 0;
6186 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6189 PyObject
*swig_obj
[1] ;
6191 if (!args
) SWIG_fail
;
6193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6194 if (!SWIG_IsOK(res1
)) {
6195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6197 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_Py_Void();
6210 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
= 0;
6214 int arg3
= (int) -1 ;
6215 wxBitmap
*result
= 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 PyObject
* obj2
= 0 ;
6225 char * kwnames
[] = {
6226 (char *) "width",(char *) "height",(char *) "depth", NULL
6229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6231 if (!SWIG_IsOK(ecode1
)) {
6232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6234 arg1
= static_cast< int >(val1
);
6235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6236 if (!SWIG_IsOK(ecode2
)) {
6237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6239 arg2
= static_cast< int >(val2
);
6241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6242 if (!SWIG_IsOK(ecode3
)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6245 arg3
= static_cast< int >(val3
);
6248 if (!wxPyCheckForApp()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6261 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6264 wxBitmap
*result
= 0 ;
6267 PyObject
* obj0
= 0 ;
6268 char * kwnames
[] = {
6269 (char *) "icon", NULL
6272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6273 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6274 if (!SWIG_IsOK(res1
)) {
6275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6280 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6282 if (!wxPyCheckForApp()) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6295 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
= 0;
6298 int arg2
= (int) -1 ;
6299 wxBitmap
*result
= 0 ;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6306 char * kwnames
[] = {
6307 (char *) "image",(char *) "depth", NULL
6310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6311 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6312 if (!SWIG_IsOK(res1
)) {
6313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6318 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6321 if (!SWIG_IsOK(ecode2
)) {
6322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6324 arg2
= static_cast< int >(val2
);
6327 if (!wxPyCheckForApp()) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6340 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
= 0;
6342 PyObject
*arg1
= (PyObject
*) 0 ;
6343 wxBitmap
*result
= 0 ;
6344 PyObject
* obj0
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "listOfStrings", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6352 if (!wxPyCheckForApp()) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6365 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
= 0;
6367 PyObject
*arg1
= (PyObject
*) 0 ;
6370 int arg4
= (int) 1 ;
6371 wxBitmap
*result
= 0 ;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj1
= 0 ;
6380 PyObject
* obj2
= 0 ;
6381 PyObject
* obj3
= 0 ;
6382 char * kwnames
[] = {
6383 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6389 if (!SWIG_IsOK(ecode2
)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6392 arg2
= static_cast< int >(val2
);
6393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6394 if (!SWIG_IsOK(ecode3
)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6397 arg3
= static_cast< int >(val3
);
6399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6400 if (!SWIG_IsOK(ecode4
)) {
6401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6403 arg4
= static_cast< int >(val4
);
6406 if (!wxPyCheckForApp()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6419 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6420 PyObject
*resultobj
= 0;
6421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6425 PyObject
*swig_obj
[1] ;
6427 if (!args
) SWIG_fail
;
6429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6430 if (!SWIG_IsOK(res1
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6433 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6435 result
= (bool)(arg1
)->IsOk();
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6447 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6448 PyObject
*resultobj
= 0;
6449 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6453 PyObject
*swig_obj
[1] ;
6455 if (!args
) SWIG_fail
;
6457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6458 if (!SWIG_IsOK(res1
)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6461 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6463 result
= (int)(arg1
)->GetWidth();
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_From_int(static_cast< int >(result
));
6473 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6474 PyObject
*resultobj
= 0;
6475 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6479 PyObject
*swig_obj
[1] ;
6481 if (!args
) SWIG_fail
;
6483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6484 if (!SWIG_IsOK(res1
)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6487 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6489 result
= (int)(arg1
)->GetHeight();
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_From_int(static_cast< int >(result
));
6499 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6500 PyObject
*resultobj
= 0;
6501 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6513 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6515 result
= (int)(arg1
)->GetDepth();
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_From_int(static_cast< int >(result
));
6525 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6526 PyObject
*resultobj
= 0;
6527 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6531 PyObject
*swig_obj
[1] ;
6533 if (!args
) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6539 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6541 result
= wxBitmap_GetSize(arg1
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6551 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6552 PyObject
*resultobj
= 0;
6553 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6554 SwigValueWrapper
<wxImage
> result
;
6557 PyObject
*swig_obj
[1] ;
6559 if (!args
) SWIG_fail
;
6561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6562 if (!SWIG_IsOK(res1
)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6565 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6567 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6577 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6578 PyObject
*resultobj
= 0;
6579 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6580 wxMask
*result
= 0 ;
6583 PyObject
*swig_obj
[1] ;
6585 if (!args
) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6591 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6593 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6603 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6606 wxMask
*arg2
= (wxMask
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 char * kwnames
[] = {
6613 (char *) "self",(char *) "mask", NULL
6616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6622 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6623 if (!SWIG_IsOK(res2
)) {
6624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6627 (arg1
)->SetMask(arg2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_Py_Void();
6637 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
= 0;
6639 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6640 wxColour
*arg2
= 0 ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6646 char * kwnames
[] = {
6647 (char *) "self",(char *) "colour", NULL
6650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6655 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6661 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_Py_Void();
6671 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
= 0;
6673 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6675 SwigValueWrapper
<wxBitmap
> result
;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 char * kwnames
[] = {
6682 (char *) "self",(char *) "rect", NULL
6685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6687 if (!SWIG_IsOK(res1
)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6690 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6693 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6696 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6706 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
= 0;
6708 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6709 wxString
*arg2
= 0 ;
6711 wxPalette
*arg4
= (wxPalette
*) NULL
;
6715 bool temp2
= false ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6722 PyObject
* obj2
= 0 ;
6723 PyObject
* obj3
= 0 ;
6724 char * kwnames
[] = {
6725 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6733 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6735 arg2
= wxString_in_helper(obj1
);
6736 if (arg2
== NULL
) SWIG_fail
;
6739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6740 if (!SWIG_IsOK(ecode3
)) {
6741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6743 arg3
= static_cast< wxBitmapType
>(val3
);
6745 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6746 if (!SWIG_IsOK(res4
)) {
6747 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6749 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6752 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6772 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
= 0;
6774 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6775 wxString
*arg2
= 0 ;
6780 bool temp2
= false ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 PyObject
* obj2
= 0 ;
6786 char * kwnames
[] = {
6787 (char *) "self",(char *) "name",(char *) "type", NULL
6790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6792 if (!SWIG_IsOK(res1
)) {
6793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6795 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6797 arg2
= wxString_in_helper(obj1
);
6798 if (arg2
== NULL
) SWIG_fail
;
6801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6802 if (!SWIG_IsOK(ecode3
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6805 arg3
= static_cast< wxBitmapType
>(val3
);
6807 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6827 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6828 PyObject
*resultobj
= 0;
6829 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6830 wxPalette
*result
= 0 ;
6833 PyObject
*swig_obj
[1] ;
6835 if (!args
) SWIG_fail
;
6837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6838 if (!SWIG_IsOK(res1
)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6841 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6843 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6853 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
= 0;
6855 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "icon", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",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_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6873 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6875 if (!SWIG_IsOK(res2
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6881 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6883 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6895 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
= 0;
6897 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6905 char * kwnames
[] = {
6906 (char *) "self",(char *) "height", NULL
6909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6911 if (!SWIG_IsOK(res1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6914 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6916 if (!SWIG_IsOK(ecode2
)) {
6917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6919 arg2
= static_cast< int >(val2
);
6921 (arg1
)->SetHeight(arg2
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_Py_Void();
6931 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
= 0;
6933 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6940 PyObject
* obj1
= 0 ;
6941 char * kwnames
[] = {
6942 (char *) "self",(char *) "width", NULL
6945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6947 if (!SWIG_IsOK(res1
)) {
6948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6950 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6952 if (!SWIG_IsOK(ecode2
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6955 arg2
= static_cast< int >(val2
);
6957 (arg1
)->SetWidth(arg2
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= SWIG_Py_Void();
6967 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
= 0;
6969 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6977 char * kwnames
[] = {
6978 (char *) "self",(char *) "depth", NULL
6981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6986 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6988 if (!SWIG_IsOK(ecode2
)) {
6989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6991 arg2
= static_cast< int >(val2
);
6993 (arg1
)->SetDepth(arg2
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_Py_Void();
7003 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
= 0;
7005 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7012 char * kwnames
[] = {
7013 (char *) "self",(char *) "size", NULL
7016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7018 if (!SWIG_IsOK(res1
)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7021 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7024 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7027 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_Py_Void();
7037 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
= 0;
7039 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 char * kwnames
[] = {
7048 (char *) "self",(char *) "data", NULL
7051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7056 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7058 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7062 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_Py_Void();
7072 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
= 0;
7074 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7082 char * kwnames
[] = {
7083 (char *) "self",(char *) "data", NULL
7086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7088 if (!SWIG_IsOK(res1
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7091 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7093 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7097 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_Py_Void();
7107 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
= 0;
7109 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7110 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7118 char * kwnames
[] = {
7119 (char *) "self",(char *) "other", NULL
7122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7127 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7129 if (!SWIG_IsOK(res2
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7132 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7134 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7146 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
= 0;
7148 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7149 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7157 char * kwnames
[] = {
7158 (char *) "self",(char *) "other", NULL
7161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7168 if (!SWIG_IsOK(res2
)) {
7169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7171 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7173 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7185 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7188 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7189 return SWIG_Py_Void();
7192 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7193 return SWIG_Python_InitShadowInstance(args
);
7196 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
= 0;
7204 wxBitmap
*result
= 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 PyObject
* obj2
= 0 ;
7214 PyObject
* obj3
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7221 if (!SWIG_IsOK(ecode1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7224 arg1
= static_cast< int >(val1
);
7225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7226 if (!SWIG_IsOK(ecode2
)) {
7227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7229 arg2
= static_cast< int >(val2
);
7231 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7235 if (obj3
!= Py_None
) {
7236 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7241 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7251 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
= 0;
7257 wxBitmap
*result
= 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7265 PyObject
* obj2
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "width",(char *) "height",(char *) "data", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7272 if (!SWIG_IsOK(ecode1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7275 arg1
= static_cast< int >(val1
);
7276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7277 if (!SWIG_IsOK(ecode2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7280 arg2
= static_cast< int >(val2
);
7282 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7286 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7296 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= 0;
7302 wxBitmap
*result
= 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 PyObject
* obj2
= 0 ;
7311 char * kwnames
[] = {
7312 (char *) "width",(char *) "height",(char *) "data", NULL
7315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7317 if (!SWIG_IsOK(ecode1
)) {
7318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7320 arg1
= static_cast< int >(val1
);
7321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7322 if (!SWIG_IsOK(ecode2
)) {
7323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7325 arg2
= static_cast< int >(val2
);
7327 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7331 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7341 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7342 PyObject
*resultobj
= 0;
7343 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7347 PyObject
*swig_obj
[1] ;
7349 if (!args
) SWIG_fail
;
7351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7352 if (!SWIG_IsOK(res1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7355 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7357 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7367 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7368 PyObject
*resultobj
= 0;
7369 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7373 PyObject
*swig_obj
[1] ;
7375 if (!args
) SWIG_fail
;
7377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7378 if (!SWIG_IsOK(res1
)) {
7379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7381 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7383 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_From_int(static_cast< int >(result
));
7393 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7394 PyObject
*resultobj
= 0;
7395 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7399 PyObject
*swig_obj
[1] ;
7401 if (!args
) SWIG_fail
;
7403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7404 if (!SWIG_IsOK(res1
)) {
7405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7407 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7409 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_From_int(static_cast< int >(result
));
7419 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 PyObject
*resultobj
= 0;
7421 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7425 PyObject
*swig_obj
[1] ;
7427 if (!args
) SWIG_fail
;
7429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7430 if (!SWIG_IsOK(res1
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7433 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7435 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7445 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7446 PyObject
*resultobj
= 0;
7447 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7451 PyObject
*swig_obj
[1] ;
7453 if (!args
) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7459 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7461 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= SWIG_From_int(static_cast< int >(result
));
7471 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7474 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7475 return SWIG_Py_Void();
7478 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7479 PyObject
*resultobj
= 0;
7480 wxBitmap
*arg1
= 0 ;
7481 wxNativePixelData
*result
= 0 ;
7485 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7487 if (!SWIG_IsOK(res1
)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7493 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7495 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7505 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7506 PyObject
*resultobj
= 0;
7507 wxBitmap
*arg1
= 0 ;
7509 wxNativePixelData
*result
= 0 ;
7514 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7522 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7525 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7528 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7538 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7539 PyObject
*resultobj
= 0;
7540 wxBitmap
*arg1
= 0 ;
7543 wxNativePixelData
*result
= 0 ;
7549 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7551 if (!SWIG_IsOK(res1
)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7557 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7560 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7564 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7567 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7577 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7581 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7584 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7587 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7590 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7594 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7599 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7600 PyObject
*resultobj
= 0;
7601 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7604 PyObject
*swig_obj
[1] ;
7606 if (!args
) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7612 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_Py_Void();
7625 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 PyObject
*resultobj
= 0;
7627 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7628 wxNativePixelData_Accessor result
;
7631 PyObject
*swig_obj
[1] ;
7633 if (!args
) SWIG_fail
;
7635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7636 if (!SWIG_IsOK(res1
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7639 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7641 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7651 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7652 PyObject
*resultobj
= 0;
7653 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7656 PyObject
*swig_obj
[1] ;
7658 if (!args
) SWIG_fail
;
7660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7661 if (!SWIG_IsOK(res1
)) {
7662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7664 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_Py_Void();
7676 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7677 PyObject
*resultobj
= 0;
7678 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7682 PyObject
*swig_obj
[1] ;
7684 if (!args
) SWIG_fail
;
7686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7687 if (!SWIG_IsOK(res1
)) {
7688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7690 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7692 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7704 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7707 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7708 return SWIG_Py_Void();
7711 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7712 return SWIG_Python_InitShadowInstance(args
);
7715 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7716 PyObject
*resultobj
= 0;
7717 wxNativePixelData
*arg1
= 0 ;
7718 wxNativePixelData_Accessor
*result
= 0 ;
7722 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7730 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7732 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7742 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7743 PyObject
*resultobj
= 0;
7744 wxBitmap
*arg1
= 0 ;
7745 wxNativePixelData
*arg2
= 0 ;
7746 wxNativePixelData_Accessor
*result
= 0 ;
7752 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7754 if (!SWIG_IsOK(res1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7760 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7761 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7762 if (!SWIG_IsOK(res2
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7768 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7770 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7780 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7781 PyObject
*resultobj
= 0;
7782 wxNativePixelData_Accessor
*result
= 0 ;
7784 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7786 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7796 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7800 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7803 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7806 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7809 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7813 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7818 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7819 PyObject
*resultobj
= 0;
7820 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7823 PyObject
*swig_obj
[1] ;
7825 if (!args
) SWIG_fail
;
7827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7828 if (!SWIG_IsOK(res1
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7831 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_Py_Void();
7844 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
= 0;
7846 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7847 wxNativePixelData
*arg2
= 0 ;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 char * kwnames
[] = {
7855 (char *) "self",(char *) "data", NULL
7858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7860 if (!SWIG_IsOK(res1
)) {
7861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7863 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7865 if (!SWIG_IsOK(res2
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7871 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7873 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_Py_Void();
7883 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7884 PyObject
*resultobj
= 0;
7885 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7889 PyObject
*swig_obj
[1] ;
7891 if (!args
) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7897 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7899 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7900 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7911 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7912 PyObject
*resultobj
= 0;
7913 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7916 PyObject
*swig_obj
[1] ;
7918 if (!args
) SWIG_fail
;
7920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7921 if (!SWIG_IsOK(res1
)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7924 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7926 wxNativePixelData_Accessor_nextPixel(arg1
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_Py_Void();
7936 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7939 wxNativePixelData
*arg2
= 0 ;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 PyObject
* obj2
= 0 ;
7953 PyObject
* obj3
= 0 ;
7954 char * kwnames
[] = {
7955 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7960 if (!SWIG_IsOK(res1
)) {
7961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7963 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7965 if (!SWIG_IsOK(res2
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7971 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7973 if (!SWIG_IsOK(ecode3
)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7976 arg3
= static_cast< int >(val3
);
7977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7978 if (!SWIG_IsOK(ecode4
)) {
7979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7981 arg4
= static_cast< int >(val4
);
7983 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_Py_Void();
7993 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
= 0;
7995 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7996 wxNativePixelData
*arg2
= 0 ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8007 char * kwnames
[] = {
8008 (char *) "self",(char *) "data",(char *) "x", NULL
8011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8016 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8018 if (!SWIG_IsOK(res2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8024 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8026 if (!SWIG_IsOK(ecode3
)) {
8027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8029 arg3
= static_cast< int >(val3
);
8031 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= SWIG_Py_Void();
8041 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
= 0;
8043 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8044 wxNativePixelData
*arg2
= 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8055 char * kwnames
[] = {
8056 (char *) "self",(char *) "data",(char *) "y", NULL
8059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8061 if (!SWIG_IsOK(res1
)) {
8062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8064 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8066 if (!SWIG_IsOK(res2
)) {
8067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8072 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8074 if (!SWIG_IsOK(ecode3
)) {
8075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8077 arg3
= static_cast< int >(val3
);
8079 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_Py_Void();
8089 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8092 wxNativePixelData
*arg2
= 0 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8105 PyObject
* obj2
= 0 ;
8106 PyObject
* obj3
= 0 ;
8107 char * kwnames
[] = {
8108 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8113 if (!SWIG_IsOK(res1
)) {
8114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8116 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8118 if (!SWIG_IsOK(res2
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8124 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8126 if (!SWIG_IsOK(ecode3
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8129 arg3
= static_cast< int >(val3
);
8130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8131 if (!SWIG_IsOK(ecode4
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8134 arg4
= static_cast< int >(val4
);
8136 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_Py_Void();
8146 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= 0;
8148 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8154 unsigned char val2
;
8156 unsigned char val3
;
8158 unsigned char val4
;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8162 PyObject
* obj2
= 0 ;
8163 PyObject
* obj3
= 0 ;
8164 char * kwnames
[] = {
8165 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8173 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8174 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8175 if (!SWIG_IsOK(ecode2
)) {
8176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8178 arg2
= static_cast< byte
>(val2
);
8179 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8180 if (!SWIG_IsOK(ecode3
)) {
8181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8183 arg3
= static_cast< byte
>(val3
);
8184 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8185 if (!SWIG_IsOK(ecode4
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8188 arg4
= static_cast< byte
>(val4
);
8190 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_Py_Void();
8200 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 PyObject
*resultobj
= 0;
8202 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8203 PyObject
*result
= 0 ;
8206 PyObject
*swig_obj
[1] ;
8208 if (!args
) SWIG_fail
;
8210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8211 if (!SWIG_IsOK(res1
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8214 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8216 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8226 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8229 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8230 return SWIG_Py_Void();
8233 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8234 return SWIG_Python_InitShadowInstance(args
);
8237 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8238 PyObject
*resultobj
= 0;
8239 wxBitmap
*arg1
= 0 ;
8240 wxAlphaPixelData
*result
= 0 ;
8244 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8246 if (!SWIG_IsOK(res1
)) {
8247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8252 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8254 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8264 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8265 PyObject
*resultobj
= 0;
8266 wxBitmap
*arg1
= 0 ;
8268 wxAlphaPixelData
*result
= 0 ;
8273 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8281 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8284 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8287 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8297 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8298 PyObject
*resultobj
= 0;
8299 wxBitmap
*arg1
= 0 ;
8302 wxAlphaPixelData
*result
= 0 ;
8308 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8310 if (!SWIG_IsOK(res1
)) {
8311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8316 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8319 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8323 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8326 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8336 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8340 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8343 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8346 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8349 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8353 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8358 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8359 PyObject
*resultobj
= 0;
8360 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8363 PyObject
*swig_obj
[1] ;
8365 if (!args
) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8371 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_Py_Void();
8384 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 PyObject
*resultobj
= 0;
8386 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8387 wxAlphaPixelData_Accessor result
;
8390 PyObject
*swig_obj
[1] ;
8392 if (!args
) SWIG_fail
;
8394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8395 if (!SWIG_IsOK(res1
)) {
8396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8398 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8400 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8410 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8411 PyObject
*resultobj
= 0;
8412 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8415 PyObject
*swig_obj
[1] ;
8417 if (!args
) SWIG_fail
;
8419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8420 if (!SWIG_IsOK(res1
)) {
8421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8423 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_Py_Void();
8435 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8436 PyObject
*resultobj
= 0;
8437 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8441 PyObject
*swig_obj
[1] ;
8443 if (!args
) SWIG_fail
;
8445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8446 if (!SWIG_IsOK(res1
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8449 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8451 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8463 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8466 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8467 return SWIG_Py_Void();
8470 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8471 return SWIG_Python_InitShadowInstance(args
);
8474 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8475 PyObject
*resultobj
= 0;
8476 wxAlphaPixelData
*arg1
= 0 ;
8477 wxAlphaPixelData_Accessor
*result
= 0 ;
8481 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8483 if (!SWIG_IsOK(res1
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8489 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8491 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8501 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8502 PyObject
*resultobj
= 0;
8503 wxBitmap
*arg1
= 0 ;
8504 wxAlphaPixelData
*arg2
= 0 ;
8505 wxAlphaPixelData_Accessor
*result
= 0 ;
8511 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8519 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8520 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8521 if (!SWIG_IsOK(res2
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8527 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8529 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8539 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8540 PyObject
*resultobj
= 0;
8541 wxAlphaPixelData_Accessor
*result
= 0 ;
8543 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8545 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8555 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8559 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8562 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8565 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8568 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8572 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8577 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8578 PyObject
*resultobj
= 0;
8579 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8582 PyObject
*swig_obj
[1] ;
8584 if (!args
) SWIG_fail
;
8586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8587 if (!SWIG_IsOK(res1
)) {
8588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8590 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_Py_Void();
8603 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
= 0;
8605 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8606 wxAlphaPixelData
*arg2
= 0 ;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8613 char * kwnames
[] = {
8614 (char *) "self",(char *) "data", NULL
8617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8622 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8624 if (!SWIG_IsOK(res2
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8630 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8632 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_Py_Void();
8642 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8643 PyObject
*resultobj
= 0;
8644 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8648 PyObject
*swig_obj
[1] ;
8650 if (!args
) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8656 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8658 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8659 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8670 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8671 PyObject
*resultobj
= 0;
8672 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8675 PyObject
*swig_obj
[1] ;
8677 if (!args
) SWIG_fail
;
8679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8680 if (!SWIG_IsOK(res1
)) {
8681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8683 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8685 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= SWIG_Py_Void();
8695 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
= 0;
8697 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8698 wxAlphaPixelData
*arg2
= 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8711 PyObject
* obj2
= 0 ;
8712 PyObject
* obj3
= 0 ;
8713 char * kwnames
[] = {
8714 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8719 if (!SWIG_IsOK(res1
)) {
8720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8722 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8724 if (!SWIG_IsOK(res2
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8730 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8732 if (!SWIG_IsOK(ecode3
)) {
8733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8735 arg3
= static_cast< int >(val3
);
8736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8737 if (!SWIG_IsOK(ecode4
)) {
8738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8740 arg4
= static_cast< int >(val4
);
8742 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= SWIG_Py_Void();
8752 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
= 0;
8754 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8755 wxAlphaPixelData
*arg2
= 0 ;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8765 PyObject
* obj2
= 0 ;
8766 char * kwnames
[] = {
8767 (char *) "self",(char *) "data",(char *) "x", NULL
8770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8772 if (!SWIG_IsOK(res1
)) {
8773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8775 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8777 if (!SWIG_IsOK(res2
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8783 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8785 if (!SWIG_IsOK(ecode3
)) {
8786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8788 arg3
= static_cast< int >(val3
);
8790 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_Py_Void();
8800 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= 0;
8802 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8803 wxAlphaPixelData
*arg2
= 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8814 char * kwnames
[] = {
8815 (char *) "self",(char *) "data",(char *) "y", NULL
8818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8820 if (!SWIG_IsOK(res1
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8823 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8825 if (!SWIG_IsOK(res2
)) {
8826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8831 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8833 if (!SWIG_IsOK(ecode3
)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8836 arg3
= static_cast< int >(val3
);
8838 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_Py_Void();
8848 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
= 0;
8850 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8851 wxAlphaPixelData
*arg2
= 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8865 PyObject
* obj3
= 0 ;
8866 char * kwnames
[] = {
8867 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8875 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8877 if (!SWIG_IsOK(res2
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8883 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8885 if (!SWIG_IsOK(ecode3
)) {
8886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8888 arg3
= static_cast< int >(val3
);
8889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8890 if (!SWIG_IsOK(ecode4
)) {
8891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8893 arg4
= static_cast< int >(val4
);
8895 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8905 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8914 unsigned char val2
;
8916 unsigned char val3
;
8918 unsigned char val4
;
8920 unsigned char val5
;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8924 PyObject
* obj2
= 0 ;
8925 PyObject
* obj3
= 0 ;
8926 PyObject
* obj4
= 0 ;
8927 char * kwnames
[] = {
8928 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8933 if (!SWIG_IsOK(res1
)) {
8934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8936 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8937 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8938 if (!SWIG_IsOK(ecode2
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8941 arg2
= static_cast< byte
>(val2
);
8942 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8943 if (!SWIG_IsOK(ecode3
)) {
8944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8946 arg3
= static_cast< byte
>(val3
);
8947 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8948 if (!SWIG_IsOK(ecode4
)) {
8949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8951 arg4
= static_cast< byte
>(val4
);
8952 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8953 if (!SWIG_IsOK(ecode5
)) {
8954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8956 arg5
= static_cast< byte
>(val5
);
8958 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= SWIG_Py_Void();
8968 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8969 PyObject
*resultobj
= 0;
8970 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8971 PyObject
*result
= 0 ;
8974 PyObject
*swig_obj
[1] ;
8976 if (!args
) SWIG_fail
;
8978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8979 if (!SWIG_IsOK(res1
)) {
8980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8982 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8984 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8994 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8997 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8998 return SWIG_Py_Void();
9001 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9002 return SWIG_Python_InitShadowInstance(args
);
9005 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
= 0;
9007 wxBitmap
*arg1
= 0 ;
9008 wxColour
const &arg2_defvalue
= wxNullColour
;
9009 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9010 wxMask
*result
= 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 char * kwnames
[] = {
9017 (char *) "bitmap",(char *) "colour", NULL
9020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9028 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9036 if (!wxPyCheckForApp()) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9049 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9050 PyObject
*resultobj
= 0;
9051 wxMask
*arg1
= (wxMask
*) 0 ;
9054 PyObject
*swig_obj
[1] ;
9056 if (!args
) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9062 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= SWIG_Py_Void();
9075 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9078 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9079 return SWIG_Py_Void();
9082 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9083 return SWIG_Python_InitShadowInstance(args
);
9086 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxString
*arg1
= 0 ;
9090 int arg3
= (int) -1 ;
9091 int arg4
= (int) -1 ;
9092 wxIcon
*result
= 0 ;
9093 bool temp1
= false ;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9102 PyObject
* obj2
= 0 ;
9103 PyObject
* obj3
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9110 arg1
= wxString_in_helper(obj0
);
9111 if (arg1
== NULL
) SWIG_fail
;
9114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9115 if (!SWIG_IsOK(ecode2
)) {
9116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9118 arg2
= static_cast< wxBitmapType
>(val2
);
9120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9121 if (!SWIG_IsOK(ecode3
)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9124 arg3
= static_cast< int >(val3
);
9127 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9128 if (!SWIG_IsOK(ecode4
)) {
9129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9131 arg4
= static_cast< int >(val4
);
9134 if (!wxPyCheckForApp()) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9155 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9156 PyObject
*resultobj
= 0;
9157 wxIcon
*arg1
= (wxIcon
*) 0 ;
9160 PyObject
*swig_obj
[1] ;
9162 if (!args
) SWIG_fail
;
9164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9165 if (!SWIG_IsOK(res1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9168 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_Py_Void();
9183 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9184 PyObject
*resultobj
= 0;
9185 wxIcon
*result
= 0 ;
9187 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9189 if (!wxPyCheckForApp()) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (wxIcon
*)new wxIcon();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9202 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
= 0;
9204 wxIconLocation
*arg1
= 0 ;
9205 wxIcon
*result
= 0 ;
9208 PyObject
* obj0
= 0 ;
9209 char * kwnames
[] = {
9210 (char *) "loc", NULL
9213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9214 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9215 if (!SWIG_IsOK(res1
)) {
9216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9221 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9223 if (!wxPyCheckForApp()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9236 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxBitmap
*arg1
= 0 ;
9239 wxIcon
*result
= 0 ;
9242 PyObject
* obj0
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "bmp", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9255 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9257 if (!wxPyCheckForApp()) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9270 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
= 0;
9272 PyObject
*arg1
= (PyObject
*) 0 ;
9273 wxIcon
*result
= 0 ;
9274 PyObject
* obj0
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "listOfStrings", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9282 if (!wxPyCheckForApp()) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxIcon
*)new_wxIcon(arg1
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9295 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9296 PyObject
*resultobj
= 0;
9297 wxIcon
*arg1
= (wxIcon
*) 0 ;
9301 PyObject
*swig_obj
[1] ;
9303 if (!args
) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9309 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (bool)(arg1
)->IsOk();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9325 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9326 PyObject
*resultobj
= 0;
9327 wxIcon
*arg1
= (wxIcon
*) 0 ;
9331 PyObject
*swig_obj
[1] ;
9333 if (!args
) SWIG_fail
;
9335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9336 if (!SWIG_IsOK(res1
)) {
9337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9339 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (int)(arg1
)->GetWidth();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_From_int(static_cast< int >(result
));
9353 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9354 PyObject
*resultobj
= 0;
9355 wxIcon
*arg1
= (wxIcon
*) 0 ;
9359 PyObject
*swig_obj
[1] ;
9361 if (!args
) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9367 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (int)(arg1
)->GetHeight();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_From_int(static_cast< int >(result
));
9381 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9382 PyObject
*resultobj
= 0;
9383 wxIcon
*arg1
= (wxIcon
*) 0 ;
9387 PyObject
*swig_obj
[1] ;
9389 if (!args
) SWIG_fail
;
9391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9392 if (!SWIG_IsOK(res1
)) {
9393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9395 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (int)(arg1
)->GetDepth();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_From_int(static_cast< int >(result
));
9409 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
= 0;
9411 wxIcon
*arg1
= (wxIcon
*) 0 ;
9417 PyObject
* obj0
= 0 ;
9418 PyObject
* obj1
= 0 ;
9419 char * kwnames
[] = {
9420 (char *) "self",(char *) "w", NULL
9423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9425 if (!SWIG_IsOK(res1
)) {
9426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9428 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9430 if (!SWIG_IsOK(ecode2
)) {
9431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9433 arg2
= static_cast< int >(val2
);
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 (arg1
)->SetWidth(arg2
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_Py_Void();
9447 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxIcon
*arg1
= (wxIcon
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9457 char * kwnames
[] = {
9458 (char *) "self",(char *) "h", NULL
9461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9463 if (!SWIG_IsOK(res1
)) {
9464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9466 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9468 if (!SWIG_IsOK(ecode2
)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9471 arg2
= static_cast< int >(val2
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 (arg1
)->SetHeight(arg2
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_Py_Void();
9485 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
= 0;
9487 wxIcon
*arg1
= (wxIcon
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 char * kwnames
[] = {
9496 (char *) "self",(char *) "d", NULL
9499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9501 if (!SWIG_IsOK(res1
)) {
9502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9504 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9506 if (!SWIG_IsOK(ecode2
)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9509 arg2
= static_cast< int >(val2
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 (arg1
)->SetDepth(arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_Py_Void();
9523 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
= 0;
9525 wxIcon
*arg1
= (wxIcon
*) 0 ;
9526 wxBitmap
*arg2
= 0 ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9533 char * kwnames
[] = {
9534 (char *) "self",(char *) "bmp", NULL
9537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9539 if (!SWIG_IsOK(res1
)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9542 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9544 if (!SWIG_IsOK(res2
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9550 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_Py_Void();
9564 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9567 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9568 return SWIG_Py_Void();
9571 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9572 return SWIG_Python_InitShadowInstance(args
);
9575 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
= 0;
9577 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9578 int arg2
= (int) 0 ;
9579 wxIconLocation
*result
= 0 ;
9580 bool temp1
= false ;
9583 PyObject
* obj0
= 0 ;
9584 PyObject
* obj1
= 0 ;
9585 char * kwnames
[] = {
9586 (char *) "filename",(char *) "num", NULL
9589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9592 arg1
= wxString_in_helper(obj0
);
9593 if (arg1
== NULL
) SWIG_fail
;
9598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9599 if (!SWIG_IsOK(ecode2
)) {
9600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9602 arg2
= static_cast< int >(val2
);
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9625 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9626 PyObject
*resultobj
= 0;
9627 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9630 PyObject
*swig_obj
[1] ;
9632 if (!args
) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9638 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_Py_Void();
9653 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9654 PyObject
*resultobj
= 0;
9655 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9659 PyObject
*swig_obj
[1] ;
9661 if (!args
) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9667 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9683 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
= 0;
9685 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9686 wxString
*arg2
= 0 ;
9689 bool temp2
= false ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 char * kwnames
[] = {
9693 (char *) "self",(char *) "filename", NULL
9696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9698 if (!SWIG_IsOK(res1
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9701 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9703 arg2
= wxString_in_helper(obj1
);
9704 if (arg2
== NULL
) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetFileName((wxString
const &)*arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_Py_Void();
9728 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9729 PyObject
*resultobj
= 0;
9730 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9731 wxString
*result
= 0 ;
9734 PyObject
*swig_obj
[1] ;
9736 if (!args
) SWIG_fail
;
9738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9739 if (!SWIG_IsOK(res1
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9742 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9747 result
= (wxString
*) &_result_ref
;
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9756 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9765 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
= 0;
9767 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9775 char * kwnames
[] = {
9776 (char *) "self",(char *) "num", NULL
9779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9781 if (!SWIG_IsOK(res1
)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9784 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9786 if (!SWIG_IsOK(ecode2
)) {
9787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9789 arg2
= static_cast< int >(val2
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 wxIconLocation_SetIndex(arg1
,arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_Py_Void();
9803 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9804 PyObject
*resultobj
= 0;
9805 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9809 PyObject
*swig_obj
[1] ;
9811 if (!args
) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9817 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (int)wxIconLocation_GetIndex(arg1
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_From_int(static_cast< int >(result
));
9831 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9834 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9835 return SWIG_Py_Void();
9838 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9839 return SWIG_Python_InitShadowInstance(args
);
9842 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9843 PyObject
*resultobj
= 0;
9844 wxIconBundle
*result
= 0 ;
9846 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (wxIconBundle
*)new wxIconBundle();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9860 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxString
*arg1
= 0 ;
9864 wxIconBundle
*result
= 0 ;
9865 bool temp1
= false ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 char * kwnames
[] = {
9871 (char *) "file",(char *) "type", NULL
9874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9876 arg1
= wxString_in_helper(obj0
);
9877 if (arg1
== NULL
) SWIG_fail
;
9880 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9881 if (!SWIG_IsOK(ecode2
)) {
9882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9884 arg2
= static_cast< long >(val2
);
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9906 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9909 wxIconBundle
*result
= 0 ;
9912 PyObject
* obj0
= 0 ;
9913 char * kwnames
[] = {
9914 (char *) "icon", NULL
9917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9918 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9919 if (!SWIG_IsOK(res1
)) {
9920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9925 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9939 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9940 PyObject
*resultobj
= 0;
9941 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9944 PyObject
*swig_obj
[1] ;
9946 if (!args
) SWIG_fail
;
9948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9949 if (!SWIG_IsOK(res1
)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9952 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_Py_Void();
9967 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
= 0;
9969 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9977 char * kwnames
[] = {
9978 (char *) "self",(char *) "icon", NULL
9981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9983 if (!SWIG_IsOK(res1
)) {
9984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9986 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9988 if (!SWIG_IsOK(res2
)) {
9989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9994 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_Py_Void();
10008 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
= 0;
10010 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10011 wxString
*arg2
= 0 ;
10015 bool temp2
= false ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 PyObject
* obj2
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "file",(char *) "type", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10030 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10032 arg2
= wxString_in_helper(obj1
);
10033 if (arg2
== NULL
) SWIG_fail
;
10036 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10037 if (!SWIG_IsOK(ecode3
)) {
10038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10040 arg3
= static_cast< long >(val3
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_Py_Void();
10062 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
= 0;
10064 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10066 wxIcon
*result
= 0 ;
10070 PyObject
* obj0
= 0 ;
10071 PyObject
* obj1
= 0 ;
10072 char * kwnames
[] = {
10073 (char *) "self",(char *) "size", NULL
10076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10078 if (!SWIG_IsOK(res1
)) {
10079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10081 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10084 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10090 result
= (wxIcon
*) &_result_ref
;
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 wxIcon
* resultptr
= new wxIcon(*result
);
10097 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10105 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10108 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10109 return SWIG_Py_Void();
10112 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 return SWIG_Python_InitShadowInstance(args
);
10116 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
= 0;
10118 wxString
*arg1
= 0 ;
10120 int arg3
= (int) 0 ;
10121 int arg4
= (int) 0 ;
10122 wxCursor
*result
= 0 ;
10123 bool temp1
= false ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 PyObject
* obj2
= 0 ;
10133 PyObject
* obj3
= 0 ;
10134 char * kwnames
[] = {
10135 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10140 arg1
= wxString_in_helper(obj0
);
10141 if (arg1
== NULL
) SWIG_fail
;
10144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10145 if (!SWIG_IsOK(ecode2
)) {
10146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10148 arg2
= static_cast< long >(val2
);
10150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10151 if (!SWIG_IsOK(ecode3
)) {
10152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10154 arg3
= static_cast< int >(val3
);
10157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10158 if (!SWIG_IsOK(ecode4
)) {
10159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10161 arg4
= static_cast< int >(val4
);
10164 if (!wxPyCheckForApp()) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10185 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10186 PyObject
*resultobj
= 0;
10187 wxCursor
*arg1
= (wxCursor
*) 0 ;
10190 PyObject
*swig_obj
[1] ;
10192 if (!args
) SWIG_fail
;
10193 swig_obj
[0] = args
;
10194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10195 if (!SWIG_IsOK(res1
)) {
10196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10198 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_Py_Void();
10213 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= 0;
10216 wxCursor
*result
= 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "id", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10225 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10226 if (!SWIG_IsOK(ecode1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10229 arg1
= static_cast< int >(val1
);
10231 if (!wxPyCheckForApp()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (wxCursor
*)new wxCursor(arg1
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10244 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
= 0;
10246 wxImage
*arg1
= 0 ;
10247 wxCursor
*result
= 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char * kwnames
[] = {
10252 (char *) "image", NULL
10255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10256 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10257 if (!SWIG_IsOK(res1
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10263 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10265 if (!wxPyCheckForApp()) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10278 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10279 PyObject
*resultobj
= 0;
10280 wxCursor
*arg1
= (wxCursor
*) 0 ;
10284 PyObject
*swig_obj
[1] ;
10286 if (!args
) SWIG_fail
;
10287 swig_obj
[0] = args
;
10288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10289 if (!SWIG_IsOK(res1
)) {
10290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10292 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (bool)(arg1
)->IsOk();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10308 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10311 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10312 return SWIG_Py_Void();
10315 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10316 return SWIG_Python_InitShadowInstance(args
);
10319 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
= 0;
10321 int arg1
= (int) 0 ;
10322 int arg2
= (int) 0 ;
10323 int arg3
= (int) 0 ;
10324 int arg4
= (int) 0 ;
10325 wxRegion
*result
= 0 ;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 PyObject
* obj3
= 0 ;
10338 char * kwnames
[] = {
10339 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10345 if (!SWIG_IsOK(ecode1
)) {
10346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10348 arg1
= static_cast< int >(val1
);
10351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10352 if (!SWIG_IsOK(ecode2
)) {
10353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10355 arg2
= static_cast< int >(val2
);
10358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10359 if (!SWIG_IsOK(ecode3
)) {
10360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10362 arg3
= static_cast< int >(val3
);
10365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10366 if (!SWIG_IsOK(ecode4
)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10369 arg4
= static_cast< int >(val4
);
10372 if (!wxPyCheckForApp()) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10385 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
= 0;
10387 wxBitmap
*arg1
= 0 ;
10388 wxRegion
*result
= 0 ;
10391 PyObject
* obj0
= 0 ;
10392 char * kwnames
[] = {
10393 (char *) "bmp", NULL
10396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10397 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10398 if (!SWIG_IsOK(res1
)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10406 if (!wxPyCheckForApp()) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10419 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
= 0;
10421 wxBitmap
*arg1
= 0 ;
10422 wxColour
*arg2
= 0 ;
10423 int arg3
= (int) 0 ;
10424 wxRegion
*result
= 0 ;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj1
= 0 ;
10432 PyObject
* obj2
= 0 ;
10433 char * kwnames
[] = {
10434 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10438 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10439 if (!SWIG_IsOK(res1
)) {
10440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10445 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10448 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10452 if (!SWIG_IsOK(ecode3
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10455 arg3
= static_cast< int >(val3
);
10458 if (!wxPyCheckForApp()) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10471 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
= 0;
10474 wxPoint
*arg2
= (wxPoint
*) 0 ;
10475 int arg3
= (int) wxWINDING_RULE
;
10476 wxRegion
*result
= 0 ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 char * kwnames
[] = {
10482 (char *) "points",(char *) "fillStyle", NULL
10485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10487 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10488 if (arg2
== NULL
) SWIG_fail
;
10491 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10492 if (!SWIG_IsOK(ecode3
)) {
10493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10495 arg3
= static_cast< int >(val3
);
10498 if (!wxPyCheckForApp()) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10506 if (arg2
) delete [] arg2
;
10511 if (arg2
) delete [] arg2
;
10517 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 PyObject
*resultobj
= 0;
10519 wxRegion
*arg1
= (wxRegion
*) 0 ;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10530 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_Py_Void();
10545 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxRegion
*arg1
= (wxRegion
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10558 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_Py_Void();
10572 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
= 0;
10574 wxRegion
*arg1
= (wxRegion
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 PyObject
* obj2
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "self",(char *) "x",(char *) "y", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10596 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10598 if (!SWIG_IsOK(ecode2
)) {
10599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10601 arg2
= static_cast< int >(val2
);
10602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10603 if (!SWIG_IsOK(ecode3
)) {
10604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10606 arg3
= static_cast< int >(val3
);
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10622 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
= 0;
10624 wxRegion
*arg1
= (wxRegion
*) 0 ;
10627 wxRegionContain result
;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 PyObject
* obj2
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "self",(char *) "x",(char *) "y", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10646 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10648 if (!SWIG_IsOK(ecode2
)) {
10649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10651 arg2
= static_cast< int >(val2
);
10652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10653 if (!SWIG_IsOK(ecode3
)) {
10654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10656 arg3
= static_cast< int >(val3
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_From_int(static_cast< int >(result
));
10670 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
= 0;
10672 wxRegion
*arg1
= (wxRegion
*) 0 ;
10673 wxPoint
*arg2
= 0 ;
10674 wxRegionContain result
;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char * kwnames
[] = {
10681 (char *) "self",(char *) "pt", NULL
10684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10689 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_From_int(static_cast< int >(result
));
10707 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
= 0;
10709 wxRegion
*arg1
= (wxRegion
*) 0 ;
10711 wxRegionContain result
;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char * kwnames
[] = {
10718 (char *) "self",(char *) "rect", NULL
10721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10723 if (!SWIG_IsOK(res1
)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10726 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10729 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= SWIG_From_int(static_cast< int >(result
));
10744 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
= 0;
10746 wxRegion
*arg1
= (wxRegion
*) 0 ;
10751 wxRegionContain result
;
10762 PyObject
* obj0
= 0 ;
10763 PyObject
* obj1
= 0 ;
10764 PyObject
* obj2
= 0 ;
10765 PyObject
* obj3
= 0 ;
10766 PyObject
* obj4
= 0 ;
10767 char * kwnames
[] = {
10768 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10773 if (!SWIG_IsOK(res1
)) {
10774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10776 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10778 if (!SWIG_IsOK(ecode2
)) {
10779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10781 arg2
= static_cast< int >(val2
);
10782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10783 if (!SWIG_IsOK(ecode3
)) {
10784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10786 arg3
= static_cast< int >(val3
);
10787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10788 if (!SWIG_IsOK(ecode4
)) {
10789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10791 arg4
= static_cast< int >(val4
);
10792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10793 if (!SWIG_IsOK(ecode5
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10796 arg5
= static_cast< int >(val5
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_From_int(static_cast< int >(result
));
10810 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10811 PyObject
*resultobj
= 0;
10812 wxRegion
*arg1
= (wxRegion
*) 0 ;
10816 PyObject
*swig_obj
[1] ;
10818 if (!args
) SWIG_fail
;
10819 swig_obj
[0] = args
;
10820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10824 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (arg1
)->GetBox();
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10838 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
= 0;
10840 wxRegion
*arg1
= (wxRegion
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 PyObject
* obj2
= 0 ;
10859 PyObject
* obj3
= 0 ;
10860 PyObject
* obj4
= 0 ;
10861 char * kwnames
[] = {
10862 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10867 if (!SWIG_IsOK(res1
)) {
10868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10870 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10872 if (!SWIG_IsOK(ecode2
)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10875 arg2
= static_cast< int >(val2
);
10876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10877 if (!SWIG_IsOK(ecode3
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10880 arg3
= static_cast< int >(val3
);
10881 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10882 if (!SWIG_IsOK(ecode4
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10885 arg4
= static_cast< int >(val4
);
10886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10887 if (!SWIG_IsOK(ecode5
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10890 arg5
= static_cast< int >(val5
);
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10906 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= 0;
10908 wxRegion
*arg1
= (wxRegion
*) 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "rect", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10925 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10928 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10945 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
= 0;
10947 wxRegion
*arg1
= (wxRegion
*) 0 ;
10948 wxRegion
*arg2
= 0 ;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 char * kwnames
[] = {
10957 (char *) "self",(char *) "region", NULL
10960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10962 if (!SWIG_IsOK(res1
)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10965 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10967 if (!SWIG_IsOK(res2
)) {
10968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10973 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10989 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10990 PyObject
*resultobj
= 0;
10991 wxRegion
*arg1
= (wxRegion
*) 0 ;
10995 PyObject
*swig_obj
[1] ;
10997 if (!args
) SWIG_fail
;
10998 swig_obj
[0] = args
;
10999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11000 if (!SWIG_IsOK(res1
)) {
11001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11003 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (bool)(arg1
)->IsEmpty();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11019 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
= 0;
11021 wxRegion
*arg1
= (wxRegion
*) 0 ;
11022 wxRegion
*arg2
= 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 char * kwnames
[] = {
11031 (char *) "self",(char *) "region", NULL
11034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11036 if (!SWIG_IsOK(res1
)) {
11037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11039 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11041 if (!SWIG_IsOK(res2
)) {
11042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11047 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
= 0;
11065 wxRegion
*arg1
= (wxRegion
*) 0 ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 PyObject
* obj2
= 0 ;
11084 PyObject
* obj3
= 0 ;
11085 PyObject
* obj4
= 0 ;
11086 char * kwnames
[] = {
11087 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11092 if (!SWIG_IsOK(res1
)) {
11093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11095 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11097 if (!SWIG_IsOK(ecode2
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11100 arg2
= static_cast< int >(val2
);
11101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11102 if (!SWIG_IsOK(ecode3
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11105 arg3
= static_cast< int >(val3
);
11106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11107 if (!SWIG_IsOK(ecode4
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11110 arg4
= static_cast< int >(val4
);
11111 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11112 if (!SWIG_IsOK(ecode5
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11115 arg5
= static_cast< int >(val5
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11131 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
= 0;
11133 wxRegion
*arg1
= (wxRegion
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "rect", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11150 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
= 0;
11172 wxRegion
*arg1
= (wxRegion
*) 0 ;
11173 wxRegion
*arg2
= 0 ;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 char * kwnames
[] = {
11182 (char *) "self",(char *) "region", NULL
11185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11187 if (!SWIG_IsOK(res1
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11190 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11192 if (!SWIG_IsOK(res2
)) {
11193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11198 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11214 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
= 0;
11216 wxRegion
*arg1
= (wxRegion
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 PyObject
* obj1
= 0 ;
11234 PyObject
* obj2
= 0 ;
11235 PyObject
* obj3
= 0 ;
11236 PyObject
* obj4
= 0 ;
11237 char * kwnames
[] = {
11238 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11243 if (!SWIG_IsOK(res1
)) {
11244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11246 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11248 if (!SWIG_IsOK(ecode2
)) {
11249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11251 arg2
= static_cast< int >(val2
);
11252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11253 if (!SWIG_IsOK(ecode3
)) {
11254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11256 arg3
= static_cast< int >(val3
);
11257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11258 if (!SWIG_IsOK(ecode4
)) {
11259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11261 arg4
= static_cast< int >(val4
);
11262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11263 if (!SWIG_IsOK(ecode5
)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11266 arg5
= static_cast< int >(val5
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11282 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
= 0;
11284 wxRegion
*arg1
= (wxRegion
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "self",(char *) "rect", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11301 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11304 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11321 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
= 0;
11323 wxRegion
*arg1
= (wxRegion
*) 0 ;
11324 wxRegion
*arg2
= 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char * kwnames
[] = {
11333 (char *) "self",(char *) "region", NULL
11336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11338 if (!SWIG_IsOK(res1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11341 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11343 if (!SWIG_IsOK(res2
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11349 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11365 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= 0;
11367 wxRegion
*arg1
= (wxRegion
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 PyObject
* obj3
= 0 ;
11387 PyObject
* obj4
= 0 ;
11388 char * kwnames
[] = {
11389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11394 if (!SWIG_IsOK(res1
)) {
11395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11397 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11399 if (!SWIG_IsOK(ecode2
)) {
11400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11402 arg2
= static_cast< int >(val2
);
11403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11404 if (!SWIG_IsOK(ecode3
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11407 arg3
= static_cast< int >(val3
);
11408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11409 if (!SWIG_IsOK(ecode4
)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11412 arg4
= static_cast< int >(val4
);
11413 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11414 if (!SWIG_IsOK(ecode5
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11417 arg5
= static_cast< int >(val5
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11433 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= 0;
11435 wxRegion
*arg1
= (wxRegion
*) 0 ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char * kwnames
[] = {
11444 (char *) "self",(char *) "rect", NULL
11447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11449 if (!SWIG_IsOK(res1
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11452 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11455 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11472 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
= 0;
11474 wxRegion
*arg1
= (wxRegion
*) 0 ;
11475 wxRegion
*arg2
= 0 ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 char * kwnames
[] = {
11484 (char *) "self",(char *) "region", NULL
11487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11492 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11494 if (!SWIG_IsOK(res2
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11500 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11517 PyObject
*resultobj
= 0;
11518 wxRegion
*arg1
= (wxRegion
*) 0 ;
11519 SwigValueWrapper
<wxBitmap
> result
;
11522 PyObject
*swig_obj
[1] ;
11524 if (!args
) SWIG_fail
;
11525 swig_obj
[0] = args
;
11526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11527 if (!SWIG_IsOK(res1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11530 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (arg1
)->ConvertToBitmap();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11544 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
= 0;
11546 wxRegion
*arg1
= (wxRegion
*) 0 ;
11547 wxBitmap
*arg2
= 0 ;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 char * kwnames
[] = {
11556 (char *) "self",(char *) "bmp", NULL
11559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11561 if (!SWIG_IsOK(res1
)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11564 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11566 if (!SWIG_IsOK(res2
)) {
11567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11572 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11588 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
= 0;
11590 wxRegion
*arg1
= (wxRegion
*) 0 ;
11591 wxBitmap
*arg2
= 0 ;
11592 wxColour
*arg3
= 0 ;
11593 int arg4
= (int) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 PyObject
* obj2
= 0 ;
11605 PyObject
* obj3
= 0 ;
11606 char * kwnames
[] = {
11607 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11615 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11617 if (!SWIG_IsOK(res2
)) {
11618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11623 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11626 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11629 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11630 if (!SWIG_IsOK(ecode4
)) {
11631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11633 arg4
= static_cast< int >(val4
);
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11650 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11653 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11654 return SWIG_Py_Void();
11657 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11658 return SWIG_Python_InitShadowInstance(args
);
11661 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
= 0;
11663 wxRegion
*arg1
= 0 ;
11664 wxRegionIterator
*result
= 0 ;
11667 PyObject
* obj0
= 0 ;
11668 char * kwnames
[] = {
11669 (char *) "region", NULL
11672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11673 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11680 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11682 if (!wxPyCheckForApp()) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11695 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11696 PyObject
*resultobj
= 0;
11697 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11700 PyObject
*swig_obj
[1] ;
11702 if (!args
) SWIG_fail
;
11703 swig_obj
[0] = args
;
11704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11708 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_Py_Void();
11723 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11724 PyObject
*resultobj
= 0;
11725 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11729 PyObject
*swig_obj
[1] ;
11731 if (!args
) SWIG_fail
;
11732 swig_obj
[0] = args
;
11733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11734 if (!SWIG_IsOK(res1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11737 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (int)(arg1
)->GetX();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_From_int(static_cast< int >(result
));
11751 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11752 PyObject
*resultobj
= 0;
11753 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11757 PyObject
*swig_obj
[1] ;
11759 if (!args
) SWIG_fail
;
11760 swig_obj
[0] = args
;
11761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11762 if (!SWIG_IsOK(res1
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11765 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (int)(arg1
)->GetY();
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_From_int(static_cast< int >(result
));
11779 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11780 PyObject
*resultobj
= 0;
11781 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11785 PyObject
*swig_obj
[1] ;
11787 if (!args
) SWIG_fail
;
11788 swig_obj
[0] = args
;
11789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11790 if (!SWIG_IsOK(res1
)) {
11791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11793 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (int)(arg1
)->GetW();
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_From_int(static_cast< int >(result
));
11807 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 PyObject
*resultobj
= 0;
11809 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11813 PyObject
*swig_obj
[1] ;
11815 if (!args
) SWIG_fail
;
11816 swig_obj
[0] = args
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11821 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (int)(arg1
)->GetWidth();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_From_int(static_cast< int >(result
));
11835 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 PyObject
*resultobj
= 0;
11837 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11841 PyObject
*swig_obj
[1] ;
11843 if (!args
) SWIG_fail
;
11844 swig_obj
[0] = args
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11849 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (int)(arg1
)->GetH();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_From_int(static_cast< int >(result
));
11863 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 PyObject
*resultobj
= 0;
11865 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11877 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (int)(arg1
)->GetHeight();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_From_int(static_cast< int >(result
));
11891 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11892 PyObject
*resultobj
= 0;
11893 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11897 PyObject
*swig_obj
[1] ;
11899 if (!args
) SWIG_fail
;
11900 swig_obj
[0] = args
;
11901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11902 if (!SWIG_IsOK(res1
)) {
11903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11905 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (arg1
)->GetRect();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11919 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11920 PyObject
*resultobj
= 0;
11921 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11925 PyObject
*swig_obj
[1] ;
11927 if (!args
) SWIG_fail
;
11928 swig_obj
[0] = args
;
11929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11930 if (!SWIG_IsOK(res1
)) {
11931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11933 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (bool)(arg1
)->HaveRects();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11950 PyObject
*resultobj
= 0;
11951 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11954 PyObject
*swig_obj
[1] ;
11956 if (!args
) SWIG_fail
;
11957 swig_obj
[0] = args
;
11958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11962 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_Py_Void();
11976 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 PyObject
*resultobj
= 0;
11978 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11981 PyObject
*swig_obj
[1] ;
11983 if (!args
) SWIG_fail
;
11984 swig_obj
[0] = args
;
11985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11989 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 wxRegionIterator_Next(arg1
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_Py_Void();
12003 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 PyObject
*resultobj
= 0;
12005 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12017 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12033 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12036 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12037 return SWIG_Py_Void();
12040 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12041 return SWIG_Python_InitShadowInstance(args
);
12044 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12045 PyObject
*resultobj
= 0;
12046 wxNativeFontInfo
*result
= 0 ;
12048 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12062 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12063 PyObject
*resultobj
= 0;
12064 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12067 PyObject
*swig_obj
[1] ;
12069 if (!args
) SWIG_fail
;
12070 swig_obj
[0] = args
;
12071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12072 if (!SWIG_IsOK(res1
)) {
12073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12075 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_Py_Void();
12090 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12095 PyObject
*swig_obj
[1] ;
12097 if (!args
) SWIG_fail
;
12098 swig_obj
[0] = args
;
12099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12103 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_Py_Void();
12117 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
= 0;
12119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char * kwnames
[] = {
12128 (char *) "self",(char *) "font", NULL
12131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12136 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12138 if (!SWIG_IsOK(res2
)) {
12139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12144 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= SWIG_Py_Void();
12158 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12159 PyObject
*resultobj
= 0;
12160 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12164 PyObject
*swig_obj
[1] ;
12166 if (!args
) SWIG_fail
;
12167 swig_obj
[0] = args
;
12168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12172 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_From_int(static_cast< int >(result
));
12186 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12187 PyObject
*resultobj
= 0;
12188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12189 wxFontStyle result
;
12192 PyObject
*swig_obj
[1] ;
12194 if (!args
) SWIG_fail
;
12195 swig_obj
[0] = args
;
12196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12200 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= SWIG_From_int(static_cast< int >(result
));
12214 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12215 PyObject
*resultobj
= 0;
12216 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12217 wxFontWeight result
;
12220 PyObject
*swig_obj
[1] ;
12222 if (!args
) SWIG_fail
;
12223 swig_obj
[0] = args
;
12224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12225 if (!SWIG_IsOK(res1
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12228 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_From_int(static_cast< int >(result
));
12242 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12248 PyObject
*swig_obj
[1] ;
12250 if (!args
) SWIG_fail
;
12251 swig_obj
[0] = args
;
12252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12256 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12272 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12286 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12309 wxFontFamily result
;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12320 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int(static_cast< int >(result
));
12334 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12335 PyObject
*resultobj
= 0;
12336 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12337 wxFontEncoding result
;
12340 PyObject
*swig_obj
[1] ;
12342 if (!args
) SWIG_fail
;
12343 swig_obj
[0] = args
;
12344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12348 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_From_int(static_cast< int >(result
));
12362 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
= 0;
12364 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 char * kwnames
[] = {
12373 (char *) "self",(char *) "pointsize", NULL
12376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12378 if (!SWIG_IsOK(res1
)) {
12379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12381 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12383 if (!SWIG_IsOK(ecode2
)) {
12384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12386 arg2
= static_cast< int >(val2
);
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 (arg1
)->SetPointSize(arg2
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_Py_Void();
12400 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
= 0;
12402 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 char * kwnames
[] = {
12411 (char *) "self",(char *) "style", NULL
12414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12419 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12421 if (!SWIG_IsOK(ecode2
)) {
12422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12424 arg2
= static_cast< wxFontStyle
>(val2
);
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 (arg1
)->SetStyle(arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_Py_Void();
12438 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
= 0;
12440 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12441 wxFontWeight arg2
;
12446 PyObject
* obj0
= 0 ;
12447 PyObject
* obj1
= 0 ;
12448 char * kwnames
[] = {
12449 (char *) "self",(char *) "weight", NULL
12452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12457 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12459 if (!SWIG_IsOK(ecode2
)) {
12460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12462 arg2
= static_cast< wxFontWeight
>(val2
);
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->SetWeight(arg2
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_Py_Void();
12476 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
= 0;
12478 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 PyObject
* obj1
= 0 ;
12486 char * kwnames
[] = {
12487 (char *) "self",(char *) "underlined", NULL
12490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12495 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12496 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12497 if (!SWIG_IsOK(ecode2
)) {
12498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12500 arg2
= static_cast< bool >(val2
);
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 (arg1
)->SetUnderlined(arg2
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_Py_Void();
12514 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
= 0;
12516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 char * kwnames
[] = {
12524 (char *) "self",(char *) "facename", NULL
12527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12529 if (!SWIG_IsOK(res1
)) {
12530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12532 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12534 wxString
* sptr
= wxString_in_helper(obj1
);
12535 if (sptr
== NULL
) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (bool)(arg1
)->SetFaceName(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12554 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
= 0;
12556 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12557 wxFontFamily arg2
;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 char * kwnames
[] = {
12565 (char *) "self",(char *) "family", NULL
12568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12573 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12575 if (!SWIG_IsOK(ecode2
)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12578 arg2
= static_cast< wxFontFamily
>(val2
);
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 (arg1
)->SetFamily(arg2
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_Py_Void();
12592 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
= 0;
12594 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12595 wxFontEncoding arg2
;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 char * kwnames
[] = {
12603 (char *) "self",(char *) "encoding", NULL
12606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12608 if (!SWIG_IsOK(res1
)) {
12609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12611 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12613 if (!SWIG_IsOK(ecode2
)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12616 arg2
= static_cast< wxFontEncoding
>(val2
);
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 (arg1
)->SetEncoding(arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_Py_Void();
12630 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
= 0;
12632 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12633 wxString
*arg2
= 0 ;
12637 bool temp2
= false ;
12638 PyObject
* obj0
= 0 ;
12639 PyObject
* obj1
= 0 ;
12640 char * kwnames
[] = {
12641 (char *) "self",(char *) "s", NULL
12644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12646 if (!SWIG_IsOK(res1
)) {
12647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12649 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12651 arg2
= wxString_in_helper(obj1
);
12652 if (arg2
== NULL
) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12678 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12679 PyObject
*resultobj
= 0;
12680 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12684 PyObject
*swig_obj
[1] ;
12686 if (!args
) SWIG_fail
;
12687 swig_obj
[0] = args
;
12688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12689 if (!SWIG_IsOK(res1
)) {
12690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12692 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12712 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12713 PyObject
*resultobj
= 0;
12714 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12718 PyObject
*swig_obj
[1] ;
12720 if (!args
) SWIG_fail
;
12721 swig_obj
[0] = args
;
12722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12726 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= wxNativeFontInfo___str__(arg1
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12746 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
= 0;
12748 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12749 wxString
*arg2
= 0 ;
12753 bool temp2
= false ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 char * kwnames
[] = {
12757 (char *) "self",(char *) "s", NULL
12760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12765 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12767 arg2
= wxString_in_helper(obj1
);
12768 if (arg2
== NULL
) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12794 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12795 PyObject
*resultobj
= 0;
12796 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12800 PyObject
*swig_obj
[1] ;
12802 if (!args
) SWIG_fail
;
12803 swig_obj
[0] = args
;
12804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12808 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12828 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12831 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12832 return SWIG_Py_Void();
12835 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12836 return SWIG_Python_InitShadowInstance(args
);
12839 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12840 PyObject
*resultobj
= 0;
12841 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12842 wxString
*arg2
= (wxString
*) 0 ;
12845 bool temp2
= false ;
12846 PyObject
*swig_obj
[2] ;
12848 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12850 if (!SWIG_IsOK(res1
)) {
12851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12853 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12855 arg2
= wxString_in_helper(swig_obj
[1]);
12856 if (arg2
== NULL
) SWIG_fail
;
12859 if (arg1
) (arg1
)->facename
= *arg2
;
12861 resultobj
= SWIG_Py_Void();
12876 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12877 PyObject
*resultobj
= 0;
12878 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12879 wxString
*result
= 0 ;
12882 PyObject
*swig_obj
[1] ;
12884 if (!args
) SWIG_fail
;
12885 swig_obj
[0] = args
;
12886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12887 if (!SWIG_IsOK(res1
)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12890 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12891 result
= (wxString
*)& ((arg1
)->facename
);
12894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12905 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12908 wxFontEncoding arg2
;
12913 PyObject
*swig_obj
[2] ;
12915 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12917 if (!SWIG_IsOK(res1
)) {
12918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12920 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12921 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12922 if (!SWIG_IsOK(ecode2
)) {
12923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12925 arg2
= static_cast< wxFontEncoding
>(val2
);
12926 if (arg1
) (arg1
)->encoding
= arg2
;
12928 resultobj
= SWIG_Py_Void();
12935 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12936 PyObject
*resultobj
= 0;
12937 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12938 wxFontEncoding result
;
12941 PyObject
*swig_obj
[1] ;
12943 if (!args
) SWIG_fail
;
12944 swig_obj
[0] = args
;
12945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12946 if (!SWIG_IsOK(res1
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12949 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12950 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12951 resultobj
= SWIG_From_int(static_cast< int >(result
));
12958 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12959 PyObject
*resultobj
= 0;
12960 wxNativeEncodingInfo
*result
= 0 ;
12962 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12976 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12977 PyObject
*resultobj
= 0;
12978 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12981 PyObject
*swig_obj
[1] ;
12983 if (!args
) SWIG_fail
;
12984 swig_obj
[0] = args
;
12985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12986 if (!SWIG_IsOK(res1
)) {
12987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12989 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= SWIG_Py_Void();
13004 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
= 0;
13006 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13007 wxString
*arg2
= 0 ;
13011 bool temp2
= false ;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 char * kwnames
[] = {
13015 (char *) "self",(char *) "s", NULL
13018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13023 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13025 arg2
= wxString_in_helper(obj1
);
13026 if (arg2
== NULL
) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13053 PyObject
*resultobj
= 0;
13054 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13058 PyObject
*swig_obj
[1] ;
13060 if (!args
) SWIG_fail
;
13061 swig_obj
[0] = args
;
13062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13063 if (!SWIG_IsOK(res1
)) {
13064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13066 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13086 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13089 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13090 return SWIG_Py_Void();
13093 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13094 return SWIG_Python_InitShadowInstance(args
);
13097 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
= 0;
13099 wxFontEncoding arg1
;
13100 wxNativeEncodingInfo
*result
= 0 ;
13103 PyObject
* obj0
= 0 ;
13104 char * kwnames
[] = {
13105 (char *) "encoding", NULL
13108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13109 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13110 if (!SWIG_IsOK(ecode1
)) {
13111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13113 arg1
= static_cast< wxFontEncoding
>(val1
);
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13127 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxNativeEncodingInfo
*arg1
= 0 ;
13133 PyObject
* obj0
= 0 ;
13134 char * kwnames
[] = {
13135 (char *) "info", NULL
13138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13139 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13140 if (!SWIG_IsOK(res1
)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13146 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13162 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 PyObject
*resultobj
= 0;
13164 wxFontMapper
*result
= 0 ;
13166 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (wxFontMapper
*)new wxFontMapper();
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13180 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 PyObject
*resultobj
= 0;
13182 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13185 PyObject
*swig_obj
[1] ;
13187 if (!args
) SWIG_fail
;
13188 swig_obj
[0] = args
;
13189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13190 if (!SWIG_IsOK(res1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13193 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_Py_Void();
13208 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13209 PyObject
*resultobj
= 0;
13210 wxFontMapper
*result
= 0 ;
13212 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (wxFontMapper
*)wxFontMapper::Get();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13226 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
= 0;
13228 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13229 wxFontMapper
*result
= 0 ;
13232 PyObject
* obj0
= 0 ;
13233 char * kwnames
[] = {
13234 (char *) "mapper", NULL
13237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13239 if (!SWIG_IsOK(res1
)) {
13240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13242 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13256 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
= 0;
13258 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13259 wxString
*arg2
= 0 ;
13260 bool arg3
= (bool) true ;
13261 wxFontEncoding result
;
13264 bool temp2
= false ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 PyObject
* obj2
= 0 ;
13270 char * kwnames
[] = {
13271 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13276 if (!SWIG_IsOK(res1
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13279 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13281 arg2
= wxString_in_helper(obj1
);
13282 if (arg2
== NULL
) SWIG_fail
;
13286 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13287 if (!SWIG_IsOK(ecode3
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13290 arg3
= static_cast< bool >(val3
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_From_int(static_cast< int >(result
));
13313 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13317 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13331 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= 0;
13334 wxFontEncoding result
;
13337 PyObject
* obj0
= 0 ;
13338 char * kwnames
[] = {
13342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13343 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13344 if (!SWIG_IsOK(ecode1
)) {
13345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13347 arg1
= static_cast< size_t >(val1
);
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_From_int(static_cast< int >(result
));
13361 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
= 0;
13363 wxFontEncoding arg1
;
13367 PyObject
* obj0
= 0 ;
13368 char * kwnames
[] = {
13369 (char *) "encoding", NULL
13372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13374 if (!SWIG_IsOK(ecode1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13377 arg1
= static_cast< wxFontEncoding
>(val1
);
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= wxFontMapper::GetEncodingName(arg1
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13397 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
= 0;
13399 wxFontEncoding arg1
;
13403 PyObject
* obj0
= 0 ;
13404 char * kwnames
[] = {
13405 (char *) "encoding", NULL
13408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13409 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13410 if (!SWIG_IsOK(ecode1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13413 arg1
= static_cast< wxFontEncoding
>(val1
);
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 result
= wxFontMapper::GetEncodingDescription(arg1
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13433 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
= 0;
13435 wxString
*arg1
= 0 ;
13436 wxFontEncoding result
;
13437 bool temp1
= false ;
13438 PyObject
* obj0
= 0 ;
13439 char * kwnames
[] = {
13440 (char *) "name", NULL
13443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13445 arg1
= wxString_in_helper(obj0
);
13446 if (arg1
== NULL
) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_From_int(static_cast< int >(result
));
13470 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
= 0;
13472 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13473 wxString
*arg2
= 0 ;
13476 bool temp2
= false ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char * kwnames
[] = {
13480 (char *) "self",(char *) "prefix", NULL
13483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13488 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13490 arg2
= wxString_in_helper(obj1
);
13491 if (arg2
== NULL
) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_Py_Void();
13515 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 PyObject
*resultobj
= 0;
13519 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= wxFontMapper::GetDefaultConfigPath();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13539 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
= 0;
13541 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13542 wxFontEncoding arg2
;
13543 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13544 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13545 bool arg4
= (bool) true ;
13546 PyObject
*result
= 0 ;
13551 bool temp3
= false ;
13554 PyObject
* obj0
= 0 ;
13555 PyObject
* obj1
= 0 ;
13556 PyObject
* obj2
= 0 ;
13557 PyObject
* obj3
= 0 ;
13558 char * kwnames
[] = {
13559 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13564 if (!SWIG_IsOK(res1
)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13567 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13569 if (!SWIG_IsOK(ecode2
)) {
13570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13572 arg2
= static_cast< wxFontEncoding
>(val2
);
13575 arg3
= wxString_in_helper(obj2
);
13576 if (arg3
== NULL
) SWIG_fail
;
13581 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13582 if (!SWIG_IsOK(ecode4
)) {
13583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13585 arg4
= static_cast< bool >(val4
);
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
;
13608 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
= 0;
13610 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13611 wxFontEncoding arg2
;
13612 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13613 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13619 bool temp3
= false ;
13620 PyObject
* obj0
= 0 ;
13621 PyObject
* obj1
= 0 ;
13622 PyObject
* obj2
= 0 ;
13623 char * kwnames
[] = {
13624 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13629 if (!SWIG_IsOK(res1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13632 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13634 if (!SWIG_IsOK(ecode2
)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13637 arg2
= static_cast< wxFontEncoding
>(val2
);
13640 arg3
= wxString_in_helper(obj2
);
13641 if (arg3
== NULL
) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13668 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13671 wxWindow
*arg2
= (wxWindow
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 char * kwnames
[] = {
13679 (char *) "self",(char *) "parent", NULL
13682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13684 if (!SWIG_IsOK(res1
)) {
13685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13687 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13689 if (!SWIG_IsOK(res2
)) {
13690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 (arg1
)->SetDialogParent(arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_Py_Void();
13706 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
= 0;
13708 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13709 wxString
*arg2
= 0 ;
13712 bool temp2
= false ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char * kwnames
[] = {
13716 (char *) "self",(char *) "title", NULL
13719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13721 if (!SWIG_IsOK(res1
)) {
13722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13724 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13726 arg2
= wxString_in_helper(obj1
);
13727 if (arg2
== NULL
) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= SWIG_Py_Void();
13751 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13754 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13755 return SWIG_Py_Void();
13758 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13759 return SWIG_Python_InitShadowInstance(args
);
13762 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
= 0;
13768 bool arg5
= (bool) false ;
13769 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13771 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13772 wxFont
*result
= 0 ;
13783 bool temp6
= false ;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 PyObject
* obj2
= 0 ;
13789 PyObject
* obj3
= 0 ;
13790 PyObject
* obj4
= 0 ;
13791 PyObject
* obj5
= 0 ;
13792 PyObject
* obj6
= 0 ;
13793 char * kwnames
[] = {
13794 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13798 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13799 if (!SWIG_IsOK(ecode1
)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13802 arg1
= static_cast< int >(val1
);
13803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13804 if (!SWIG_IsOK(ecode2
)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13807 arg2
= static_cast< int >(val2
);
13808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13809 if (!SWIG_IsOK(ecode3
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13812 arg3
= static_cast< int >(val3
);
13813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13814 if (!SWIG_IsOK(ecode4
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13817 arg4
= static_cast< int >(val4
);
13819 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13820 if (!SWIG_IsOK(ecode5
)) {
13821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13823 arg5
= static_cast< bool >(val5
);
13827 arg6
= wxString_in_helper(obj5
);
13828 if (arg6
== NULL
) SWIG_fail
;
13833 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13834 if (!SWIG_IsOK(ecode7
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13837 arg7
= static_cast< wxFontEncoding
>(val7
);
13840 if (!wxPyCheckForApp()) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13861 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13862 PyObject
*resultobj
= 0;
13863 wxFont
*arg1
= (wxFont
*) 0 ;
13866 PyObject
*swig_obj
[1] ;
13868 if (!args
) SWIG_fail
;
13869 swig_obj
[0] = args
;
13870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13871 if (!SWIG_IsOK(res1
)) {
13872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13874 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_Py_Void();
13889 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
= 0;
13891 wxNativeFontInfo
*arg1
= 0 ;
13892 wxFont
*result
= 0 ;
13895 PyObject
* obj0
= 0 ;
13896 char * kwnames
[] = {
13897 (char *) "info", NULL
13900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13901 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13902 if (!SWIG_IsOK(res1
)) {
13903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13908 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13910 if (!wxPyCheckForApp()) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13923 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
= 0;
13925 wxString
*arg1
= 0 ;
13926 wxFont
*result
= 0 ;
13927 bool temp1
= false ;
13928 PyObject
* obj0
= 0 ;
13929 char * kwnames
[] = {
13930 (char *) "info", NULL
13933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13935 arg1
= wxString_in_helper(obj0
);
13936 if (arg1
== NULL
) SWIG_fail
;
13940 if (!wxPyCheckForApp()) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13961 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
= 0;
13964 wxFontFamily arg2
;
13965 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13966 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13967 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13968 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13969 wxFont
*result
= 0 ;
13976 bool temp4
= false ;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 PyObject
* obj2
= 0 ;
13982 PyObject
* obj3
= 0 ;
13983 PyObject
* obj4
= 0 ;
13984 char * kwnames
[] = {
13985 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13990 if (!SWIG_IsOK(ecode1
)) {
13991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13993 arg1
= static_cast< int >(val1
);
13994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13995 if (!SWIG_IsOK(ecode2
)) {
13996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13998 arg2
= static_cast< wxFontFamily
>(val2
);
14000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14001 if (!SWIG_IsOK(ecode3
)) {
14002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14004 arg3
= static_cast< int >(val3
);
14008 arg4
= wxString_in_helper(obj3
);
14009 if (arg4
== NULL
) SWIG_fail
;
14014 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14015 if (!SWIG_IsOK(ecode5
)) {
14016 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14018 arg5
= static_cast< wxFontEncoding
>(val5
);
14021 if (!wxPyCheckForApp()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14042 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
= 0;
14048 bool arg5
= (bool) false ;
14049 wxString
const &arg6_defvalue
= wxEmptyString
;
14050 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14051 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14052 wxFont
*result
= 0 ;
14062 bool temp6
= false ;
14065 PyObject
* obj0
= 0 ;
14066 PyObject
* obj1
= 0 ;
14067 PyObject
* obj2
= 0 ;
14068 PyObject
* obj3
= 0 ;
14069 PyObject
* obj4
= 0 ;
14070 PyObject
* obj5
= 0 ;
14071 PyObject
* obj6
= 0 ;
14072 char * kwnames
[] = {
14073 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14079 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14082 if (!SWIG_IsOK(ecode2
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14085 arg2
= static_cast< int >(val2
);
14086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14087 if (!SWIG_IsOK(ecode3
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14090 arg3
= static_cast< int >(val3
);
14091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14092 if (!SWIG_IsOK(ecode4
)) {
14093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14095 arg4
= static_cast< int >(val4
);
14097 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14098 if (!SWIG_IsOK(ecode5
)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14101 arg5
= static_cast< bool >(val5
);
14105 arg6
= wxString_in_helper(obj5
);
14106 if (arg6
== NULL
) SWIG_fail
;
14111 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14112 if (!SWIG_IsOK(ecode7
)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14115 arg7
= static_cast< wxFontEncoding
>(val7
);
14118 if (!wxPyCheckForApp()) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14139 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
= 0;
14142 wxFontFamily arg2
;
14143 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14144 wxString
const &arg4_defvalue
= wxEmptyString
;
14145 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14146 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14147 wxFont
*result
= 0 ;
14153 bool temp4
= false ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 PyObject
* obj2
= 0 ;
14159 PyObject
* obj3
= 0 ;
14160 PyObject
* obj4
= 0 ;
14161 char * kwnames
[] = {
14162 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14168 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14171 if (!SWIG_IsOK(ecode2
)) {
14172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14174 arg2
= static_cast< wxFontFamily
>(val2
);
14176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14177 if (!SWIG_IsOK(ecode3
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14180 arg3
= static_cast< int >(val3
);
14184 arg4
= wxString_in_helper(obj3
);
14185 if (arg4
== NULL
) SWIG_fail
;
14190 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14191 if (!SWIG_IsOK(ecode5
)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14194 arg5
= static_cast< wxFontEncoding
>(val5
);
14197 if (!wxPyCheckForApp()) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14218 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14219 PyObject
*resultobj
= 0;
14220 wxFont
*arg1
= (wxFont
*) 0 ;
14224 PyObject
*swig_obj
[1] ;
14226 if (!args
) SWIG_fail
;
14227 swig_obj
[0] = args
;
14228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14232 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
= 0;
14250 wxFont
*arg1
= (wxFont
*) 0 ;
14251 wxFont
*arg2
= (wxFont
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char * kwnames
[] = {
14260 (char *) "self",(char *) "other", NULL
14263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14265 if (!SWIG_IsOK(res1
)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14268 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14270 if (!SWIG_IsOK(res2
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14273 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14289 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= 0;
14291 wxFont
*arg1
= (wxFont
*) 0 ;
14292 wxFont
*arg2
= (wxFont
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char * kwnames
[] = {
14301 (char *) "self",(char *) "other", NULL
14304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14306 if (!SWIG_IsOK(res1
)) {
14307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14309 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14311 if (!SWIG_IsOK(res2
)) {
14312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14314 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14330 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14331 PyObject
*resultobj
= 0;
14332 wxFont
*arg1
= (wxFont
*) 0 ;
14336 PyObject
*swig_obj
[1] ;
14338 if (!args
) SWIG_fail
;
14339 swig_obj
[0] = args
;
14340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14344 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_From_int(static_cast< int >(result
));
14358 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14359 PyObject
*resultobj
= 0;
14360 wxFont
*arg1
= (wxFont
*) 0 ;
14364 PyObject
*swig_obj
[1] ;
14366 if (!args
) SWIG_fail
;
14367 swig_obj
[0] = args
;
14368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14369 if (!SWIG_IsOK(res1
)) {
14370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14372 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14386 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14387 PyObject
*resultobj
= 0;
14388 wxFont
*arg1
= (wxFont
*) 0 ;
14392 PyObject
*swig_obj
[1] ;
14394 if (!args
) SWIG_fail
;
14395 swig_obj
[0] = args
;
14396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14400 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14416 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14417 PyObject
*resultobj
= 0;
14418 wxFont
*arg1
= (wxFont
*) 0 ;
14422 PyObject
*swig_obj
[1] ;
14424 if (!args
) SWIG_fail
;
14425 swig_obj
[0] = args
;
14426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14430 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_From_int(static_cast< int >(result
));
14444 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxFont
*arg1
= (wxFont
*) 0 ;
14450 PyObject
*swig_obj
[1] ;
14452 if (!args
) SWIG_fail
;
14453 swig_obj
[0] = args
;
14454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14458 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_From_int(static_cast< int >(result
));
14472 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 PyObject
*resultobj
= 0;
14474 wxFont
*arg1
= (wxFont
*) 0 ;
14478 PyObject
*swig_obj
[1] ;
14480 if (!args
) SWIG_fail
;
14481 swig_obj
[0] = args
;
14482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14486 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_From_int(static_cast< int >(result
));
14500 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14501 PyObject
*resultobj
= 0;
14502 wxFont
*arg1
= (wxFont
*) 0 ;
14506 PyObject
*swig_obj
[1] ;
14508 if (!args
) SWIG_fail
;
14509 swig_obj
[0] = args
;
14510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14511 if (!SWIG_IsOK(res1
)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14514 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14531 PyObject
*resultobj
= 0;
14532 wxFont
*arg1
= (wxFont
*) 0 ;
14536 PyObject
*swig_obj
[1] ;
14538 if (!args
) SWIG_fail
;
14539 swig_obj
[0] = args
;
14540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14541 if (!SWIG_IsOK(res1
)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14544 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= ((wxFont
const *)arg1
)->GetFaceName();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14564 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14565 PyObject
*resultobj
= 0;
14566 wxFont
*arg1
= (wxFont
*) 0 ;
14567 wxFontEncoding result
;
14570 PyObject
*swig_obj
[1] ;
14572 if (!args
) SWIG_fail
;
14573 swig_obj
[0] = args
;
14574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14578 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= SWIG_From_int(static_cast< int >(result
));
14592 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14593 PyObject
*resultobj
= 0;
14594 wxFont
*arg1
= (wxFont
*) 0 ;
14595 wxNativeFontInfo
*result
= 0 ;
14598 PyObject
*swig_obj
[1] ;
14600 if (!args
) SWIG_fail
;
14601 swig_obj
[0] = args
;
14602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14606 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14620 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14621 PyObject
*resultobj
= 0;
14622 wxFont
*arg1
= (wxFont
*) 0 ;
14626 PyObject
*swig_obj
[1] ;
14628 if (!args
) SWIG_fail
;
14629 swig_obj
[0] = args
;
14630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14631 if (!SWIG_IsOK(res1
)) {
14632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14634 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14650 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14651 PyObject
*resultobj
= 0;
14652 wxFont
*arg1
= (wxFont
*) 0 ;
14656 PyObject
*swig_obj
[1] ;
14658 if (!args
) SWIG_fail
;
14659 swig_obj
[0] = args
;
14660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14661 if (!SWIG_IsOK(res1
)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14664 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14684 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxFont
*arg1
= (wxFont
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14698 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14718 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
= 0;
14720 wxFont
*arg1
= (wxFont
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 char * kwnames
[] = {
14729 (char *) "self",(char *) "pointSize", NULL
14732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14734 if (!SWIG_IsOK(res1
)) {
14735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14737 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14739 if (!SWIG_IsOK(ecode2
)) {
14740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14742 arg2
= static_cast< int >(val2
);
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 (arg1
)->SetPointSize(arg2
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= SWIG_Py_Void();
14756 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
= 0;
14758 wxFont
*arg1
= (wxFont
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 char * kwnames
[] = {
14766 (char *) "self",(char *) "pixelSize", NULL
14769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14774 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14777 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_Py_Void();
14792 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
= 0;
14794 wxFont
*arg1
= (wxFont
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 char * kwnames
[] = {
14803 (char *) "self",(char *) "family", NULL
14806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14808 if (!SWIG_IsOK(res1
)) {
14809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14811 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14813 if (!SWIG_IsOK(ecode2
)) {
14814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14816 arg2
= static_cast< int >(val2
);
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 (arg1
)->SetFamily(arg2
);
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= SWIG_Py_Void();
14830 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
= 0;
14832 wxFont
*arg1
= (wxFont
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 PyObject
* obj1
= 0 ;
14840 char * kwnames
[] = {
14841 (char *) "self",(char *) "style", NULL
14844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14846 if (!SWIG_IsOK(res1
)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14849 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14851 if (!SWIG_IsOK(ecode2
)) {
14852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14854 arg2
= static_cast< int >(val2
);
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 (arg1
)->SetStyle(arg2
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_Py_Void();
14868 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= 0;
14870 wxFont
*arg1
= (wxFont
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 char * kwnames
[] = {
14879 (char *) "self",(char *) "weight", NULL
14882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14889 if (!SWIG_IsOK(ecode2
)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14892 arg2
= static_cast< int >(val2
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 (arg1
)->SetWeight(arg2
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_Py_Void();
14906 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
= 0;
14908 wxFont
*arg1
= (wxFont
*) 0 ;
14909 wxString
*arg2
= 0 ;
14913 bool temp2
= false ;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 char * kwnames
[] = {
14917 (char *) "self",(char *) "faceName", NULL
14920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14922 if (!SWIG_IsOK(res1
)) {
14923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14925 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14927 arg2
= wxString_in_helper(obj1
);
14928 if (arg2
== NULL
) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14954 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
= 0;
14956 wxFont
*arg1
= (wxFont
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 char * kwnames
[] = {
14965 (char *) "self",(char *) "underlined", NULL
14968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14970 if (!SWIG_IsOK(res1
)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14973 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14974 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14975 if (!SWIG_IsOK(ecode2
)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14978 arg2
= static_cast< bool >(val2
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 (arg1
)->SetUnderlined(arg2
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_Py_Void();
14992 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
= 0;
14994 wxFont
*arg1
= (wxFont
*) 0 ;
14995 wxFontEncoding arg2
;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 char * kwnames
[] = {
15003 (char *) "self",(char *) "encoding", NULL
15006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15011 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15013 if (!SWIG_IsOK(ecode2
)) {
15014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15016 arg2
= static_cast< wxFontEncoding
>(val2
);
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 (arg1
)->SetEncoding(arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_Py_Void();
15030 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
= 0;
15032 wxFont
*arg1
= (wxFont
*) 0 ;
15033 wxNativeFontInfo
*arg2
= 0 ;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 char * kwnames
[] = {
15041 (char *) "self",(char *) "info", NULL
15044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15046 if (!SWIG_IsOK(res1
)) {
15047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15049 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15051 if (!SWIG_IsOK(res2
)) {
15052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15057 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxFont
*arg1
= (wxFont
*) 0 ;
15074 wxString
*arg2
= 0 ;
15078 bool temp2
= false ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "self",(char *) "info", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15090 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15092 arg2
= wxString_in_helper(obj1
);
15093 if (arg2
== NULL
) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15119 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= 0;
15121 wxFont
*arg1
= (wxFont
*) 0 ;
15122 wxString
*arg2
= 0 ;
15126 bool temp2
= false ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 char * kwnames
[] = {
15130 (char *) "self",(char *) "info", NULL
15133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15135 if (!SWIG_IsOK(res1
)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15138 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15167 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15168 PyObject
*resultobj
= 0;
15169 wxFont
*arg1
= (wxFont
*) 0 ;
15173 PyObject
*swig_obj
[1] ;
15175 if (!args
) SWIG_fail
;
15176 swig_obj
[0] = args
;
15177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15178 if (!SWIG_IsOK(res1
)) {
15179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15181 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15201 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15202 PyObject
*resultobj
= 0;
15203 wxFont
*arg1
= (wxFont
*) 0 ;
15207 PyObject
*swig_obj
[1] ;
15209 if (!args
) SWIG_fail
;
15210 swig_obj
[0] = args
;
15211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15212 if (!SWIG_IsOK(res1
)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15215 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= ((wxFont
const *)arg1
)->GetStyleString();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15235 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15236 PyObject
*resultobj
= 0;
15237 wxFont
*arg1
= (wxFont
*) 0 ;
15241 PyObject
*swig_obj
[1] ;
15243 if (!args
) SWIG_fail
;
15244 swig_obj
[0] = args
;
15245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15246 if (!SWIG_IsOK(res1
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15249 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= ((wxFont
const *)arg1
)->GetWeightString();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15269 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
= 0;
15271 wxFont
*arg1
= (wxFont
*) 0 ;
15272 bool arg2
= (bool) true ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char * kwnames
[] = {
15280 (char *) "self",(char *) "no", NULL
15283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15288 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15290 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15291 if (!SWIG_IsOK(ecode2
)) {
15292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15294 arg2
= static_cast< bool >(val2
);
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 (arg1
)->SetNoAntiAliasing(arg2
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= SWIG_Py_Void();
15309 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15310 PyObject
*resultobj
= 0;
15311 wxFont
*arg1
= (wxFont
*) 0 ;
15315 PyObject
*swig_obj
[1] ;
15317 if (!args
) SWIG_fail
;
15318 swig_obj
[0] = args
;
15319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15320 if (!SWIG_IsOK(res1
)) {
15321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15323 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15339 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 PyObject
*resultobj
= 0;
15341 wxFontEncoding result
;
15343 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15345 if (!wxPyCheckForApp()) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_From_int(static_cast< int >(result
));
15358 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
= 0;
15360 wxFontEncoding arg1
;
15363 PyObject
* obj0
= 0 ;
15364 char * kwnames
[] = {
15365 (char *) "encoding", NULL
15368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15370 if (!SWIG_IsOK(ecode1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15373 arg1
= static_cast< wxFontEncoding
>(val1
);
15375 if (!wxPyCheckForApp()) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 wxFont::SetDefaultEncoding(arg1
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_Py_Void();
15388 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15391 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15392 return SWIG_Py_Void();
15395 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15396 return SWIG_Python_InitShadowInstance(args
);
15399 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15400 PyObject
*resultobj
= 0;
15401 wxPyFontEnumerator
*result
= 0 ;
15403 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15405 if (!wxPyCheckForApp()) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15418 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15419 PyObject
*resultobj
= 0;
15420 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15423 PyObject
*swig_obj
[1] ;
15425 if (!args
) SWIG_fail
;
15426 swig_obj
[0] = args
;
15427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15431 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= SWIG_Py_Void();
15446 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
= 0;
15448 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15449 PyObject
*arg2
= (PyObject
*) 0 ;
15450 PyObject
*arg3
= (PyObject
*) 0 ;
15451 int arg4
= (int) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 PyObject
* obj2
= 0 ;
15459 PyObject
* obj3
= 0 ;
15460 char * kwnames
[] = {
15461 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15466 if (!SWIG_IsOK(res1
)) {
15467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15469 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15474 if (!SWIG_IsOK(ecode4
)) {
15475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15477 arg4
= static_cast< int >(val4
);
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_Py_Void();
15492 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= 0;
15494 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15495 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15496 bool arg3
= (bool) false ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 char * kwnames
[] = {
15508 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15513 if (!SWIG_IsOK(res1
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15516 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15519 if (!SWIG_IsOK(ecode2
)) {
15520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15522 arg2
= static_cast< wxFontEncoding
>(val2
);
15525 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15526 if (!SWIG_IsOK(ecode3
)) {
15527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15529 arg3
= static_cast< bool >(val3
);
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15546 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
= 0;
15548 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15549 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15550 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15554 bool temp2
= false ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 char * kwnames
[] = {
15558 (char *) "self",(char *) "facename", NULL
15561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15563 if (!SWIG_IsOK(res1
)) {
15564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15566 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15569 arg2
= wxString_in_helper(obj1
);
15570 if (arg2
== NULL
) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15597 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15598 PyObject
*resultobj
= 0;
15599 PyObject
*result
= 0 ;
15601 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= result
;
15615 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15616 PyObject
*resultobj
= 0;
15617 PyObject
*result
= 0 ;
15619 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= result
;
15633 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
= 0;
15635 wxString
*arg1
= 0 ;
15637 bool temp1
= false ;
15638 PyObject
* obj0
= 0 ;
15639 char * kwnames
[] = {
15640 (char *) "str", NULL
15643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15645 arg1
= wxString_in_helper(obj0
);
15646 if (arg1
== NULL
) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15675 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15676 return SWIG_Py_Void();
15679 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15680 return SWIG_Python_InitShadowInstance(args
);
15683 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 PyObject
*resultobj
= 0;
15685 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15691 PyObject
*swig_obj
[2] ;
15693 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15695 if (!SWIG_IsOK(res1
)) {
15696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15698 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15699 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15700 if (!SWIG_IsOK(ecode2
)) {
15701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15703 arg2
= static_cast< int >(val2
);
15704 if (arg1
) (arg1
)->Language
= arg2
;
15706 resultobj
= SWIG_Py_Void();
15713 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 PyObject
*resultobj
= 0;
15715 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15719 PyObject
*swig_obj
[1] ;
15721 if (!args
) SWIG_fail
;
15722 swig_obj
[0] = args
;
15723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15724 if (!SWIG_IsOK(res1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15727 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15728 result
= (int) ((arg1
)->Language
);
15729 resultobj
= SWIG_From_int(static_cast< int >(result
));
15736 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15737 PyObject
*resultobj
= 0;
15738 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15739 wxString
*arg2
= (wxString
*) 0 ;
15742 bool temp2
= false ;
15743 PyObject
*swig_obj
[2] ;
15745 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15747 if (!SWIG_IsOK(res1
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15750 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15752 arg2
= wxString_in_helper(swig_obj
[1]);
15753 if (arg2
== NULL
) SWIG_fail
;
15756 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15758 resultobj
= SWIG_Py_Void();
15773 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15774 PyObject
*resultobj
= 0;
15775 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15776 wxString
*result
= 0 ;
15779 PyObject
*swig_obj
[1] ;
15781 if (!args
) SWIG_fail
;
15782 swig_obj
[0] = args
;
15783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15787 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15788 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15791 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15793 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15802 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15803 PyObject
*resultobj
= 0;
15804 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15805 wxString
*arg2
= (wxString
*) 0 ;
15808 bool temp2
= false ;
15809 PyObject
*swig_obj
[2] ;
15811 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15816 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15818 arg2
= wxString_in_helper(swig_obj
[1]);
15819 if (arg2
== NULL
) SWIG_fail
;
15822 if (arg1
) (arg1
)->Description
= *arg2
;
15824 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15842 wxString
*result
= 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15853 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15854 result
= (wxString
*)& ((arg1
)->Description
);
15857 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15859 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15868 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15871 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15872 return SWIG_Py_Void();
15875 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
= 0;
15877 int arg1
= (int) -1 ;
15878 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15879 wxLocale
*result
= 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char * kwnames
[] = {
15887 (char *) "language",(char *) "flags", NULL
15890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15892 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15893 if (!SWIG_IsOK(ecode1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15896 arg1
= static_cast< int >(val1
);
15899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15900 if (!SWIG_IsOK(ecode2
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15903 arg2
= static_cast< int >(val2
);
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15918 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15919 PyObject
*resultobj
= 0;
15920 wxLocale
*arg1
= (wxLocale
*) 0 ;
15923 PyObject
*swig_obj
[1] ;
15925 if (!args
) SWIG_fail
;
15926 swig_obj
[0] = args
;
15927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15928 if (!SWIG_IsOK(res1
)) {
15929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15931 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= SWIG_Py_Void();
15946 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
= 0;
15948 wxLocale
*arg1
= (wxLocale
*) 0 ;
15949 wxString
*arg2
= 0 ;
15950 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15951 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15952 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15953 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15954 bool arg5
= (bool) true ;
15955 bool arg6
= (bool) false ;
15959 bool temp2
= false ;
15960 bool temp3
= false ;
15961 bool temp4
= false ;
15966 PyObject
* obj0
= 0 ;
15967 PyObject
* obj1
= 0 ;
15968 PyObject
* obj2
= 0 ;
15969 PyObject
* obj3
= 0 ;
15970 PyObject
* obj4
= 0 ;
15971 PyObject
* obj5
= 0 ;
15972 char * kwnames
[] = {
15973 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15978 if (!SWIG_IsOK(res1
)) {
15979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15981 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15983 arg2
= wxString_in_helper(obj1
);
15984 if (arg2
== NULL
) SWIG_fail
;
15989 arg3
= wxString_in_helper(obj2
);
15990 if (arg3
== NULL
) SWIG_fail
;
15996 arg4
= wxString_in_helper(obj3
);
15997 if (arg4
== NULL
) SWIG_fail
;
16002 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16003 if (!SWIG_IsOK(ecode5
)) {
16004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16006 arg5
= static_cast< bool >(val5
);
16009 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16010 if (!SWIG_IsOK(ecode6
)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16013 arg6
= static_cast< bool >(val6
);
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16054 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
= 0;
16056 wxLocale
*arg1
= (wxLocale
*) 0 ;
16057 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16058 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16066 PyObject
* obj0
= 0 ;
16067 PyObject
* obj1
= 0 ;
16068 PyObject
* obj2
= 0 ;
16069 char * kwnames
[] = {
16070 (char *) "self",(char *) "language",(char *) "flags", NULL
16073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16075 if (!SWIG_IsOK(res1
)) {
16076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16078 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16081 if (!SWIG_IsOK(ecode2
)) {
16082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16084 arg2
= static_cast< int >(val2
);
16087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16088 if (!SWIG_IsOK(ecode3
)) {
16089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16091 arg3
= static_cast< int >(val3
);
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16108 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16109 PyObject
*resultobj
= 0;
16112 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (int)wxLocale::GetSystemLanguage();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_From_int(static_cast< int >(result
));
16126 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16127 PyObject
*resultobj
= 0;
16128 wxFontEncoding result
;
16130 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_From_int(static_cast< int >(result
));
16144 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16145 PyObject
*resultobj
= 0;
16148 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= wxLocale::GetSystemEncodingName();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16168 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16169 PyObject
*resultobj
= 0;
16170 wxLocale
*arg1
= (wxLocale
*) 0 ;
16174 PyObject
*swig_obj
[1] ;
16176 if (!args
) SWIG_fail
;
16177 swig_obj
[0] = args
;
16178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16179 if (!SWIG_IsOK(res1
)) {
16180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16182 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16198 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16199 PyObject
*resultobj
= 0;
16200 wxLocale
*arg1
= (wxLocale
*) 0 ;
16204 PyObject
*swig_obj
[1] ;
16206 if (!args
) SWIG_fail
;
16207 swig_obj
[0] = args
;
16208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16209 if (!SWIG_IsOK(res1
)) {
16210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16212 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= ((wxLocale
const *)arg1
)->GetLocale();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16232 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16233 PyObject
*resultobj
= 0;
16234 wxLocale
*arg1
= (wxLocale
*) 0 ;
16238 PyObject
*swig_obj
[1] ;
16240 if (!args
) SWIG_fail
;
16241 swig_obj
[0] = args
;
16242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16246 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= SWIG_From_int(static_cast< int >(result
));
16260 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16261 PyObject
*resultobj
= 0;
16262 wxLocale
*arg1
= (wxLocale
*) 0 ;
16266 PyObject
*swig_obj
[1] ;
16268 if (!args
) SWIG_fail
;
16269 swig_obj
[0] = args
;
16270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16271 if (!SWIG_IsOK(res1
)) {
16272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16274 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= ((wxLocale
const *)arg1
)->GetSysName();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16294 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 PyObject
*resultobj
= 0;
16296 wxLocale
*arg1
= (wxLocale
*) 0 ;
16300 PyObject
*swig_obj
[1] ;
16302 if (!args
) SWIG_fail
;
16303 swig_obj
[0] = args
;
16304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16305 if (!SWIG_IsOK(res1
)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16308 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16328 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
= 0;
16330 wxString
*arg1
= 0 ;
16331 bool temp1
= false ;
16332 PyObject
* obj0
= 0 ;
16333 char * kwnames
[] = {
16334 (char *) "prefix", NULL
16337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16339 arg1
= wxString_in_helper(obj0
);
16340 if (arg1
== NULL
) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= SWIG_Py_Void();
16364 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
= 0;
16366 wxLocale
*arg1
= (wxLocale
*) 0 ;
16367 wxString
*arg2
= 0 ;
16371 bool temp2
= false ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char * kwnames
[] = {
16375 (char *) "self",(char *) "szDomain", NULL
16378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16380 if (!SWIG_IsOK(res1
)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16383 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16385 arg2
= wxString_in_helper(obj1
);
16386 if (arg2
== NULL
) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16412 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
= 0;
16418 PyObject
* obj0
= 0 ;
16419 char * kwnames
[] = {
16420 (char *) "lang", NULL
16423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16425 if (!SWIG_IsOK(ecode1
)) {
16426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16428 arg1
= static_cast< int >(val1
);
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (bool)wxLocale::IsAvailable(arg1
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16444 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
= 0;
16446 wxLocale
*arg1
= (wxLocale
*) 0 ;
16447 wxString
*arg2
= 0 ;
16451 bool temp2
= false ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 char * kwnames
[] = {
16455 (char *) "self",(char *) "szDomain", NULL
16458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16463 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16465 arg2
= wxString_in_helper(obj1
);
16466 if (arg2
== NULL
) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16492 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
= 0;
16495 wxLanguageInfo
*result
= 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char * kwnames
[] = {
16500 (char *) "lang", NULL
16503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16504 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16505 if (!SWIG_IsOK(ecode1
)) {
16506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16508 arg1
= static_cast< int >(val1
);
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16522 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= 0;
16528 PyObject
* obj0
= 0 ;
16529 char * kwnames
[] = {
16530 (char *) "lang", NULL
16533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16535 if (!SWIG_IsOK(ecode1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16538 arg1
= static_cast< int >(val1
);
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= wxLocale::GetLanguageName(arg1
);
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16558 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= 0;
16560 wxString
*arg1
= 0 ;
16561 wxLanguageInfo
*result
= 0 ;
16562 bool temp1
= false ;
16563 PyObject
* obj0
= 0 ;
16564 char * kwnames
[] = {
16565 (char *) "locale", NULL
16568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16570 arg1
= wxString_in_helper(obj0
);
16571 if (arg1
== NULL
) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16595 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
= 0;
16597 wxLanguageInfo
*arg1
= 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char * kwnames
[] = {
16602 (char *) "info", NULL
16605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16606 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16607 if (!SWIG_IsOK(res1
)) {
16608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16613 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= SWIG_Py_Void();
16627 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
= 0;
16629 wxLocale
*arg1
= (wxLocale
*) 0 ;
16630 wxString
*arg2
= 0 ;
16631 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16632 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16636 bool temp2
= false ;
16637 bool temp3
= false ;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 PyObject
* obj2
= 0 ;
16641 char * kwnames
[] = {
16642 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16647 if (!SWIG_IsOK(res1
)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16650 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16652 arg2
= wxString_in_helper(obj1
);
16653 if (arg2
== NULL
) SWIG_fail
;
16658 arg3
= wxString_in_helper(obj2
);
16659 if (arg3
== NULL
) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16698 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16699 PyObject
*resultobj
= 0;
16700 wxLocale
*arg1
= (wxLocale
*) 0 ;
16701 wxString
*result
= 0 ;
16704 PyObject
*swig_obj
[1] ;
16706 if (!args
) SWIG_fail
;
16707 swig_obj
[0] = args
;
16708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16709 if (!SWIG_IsOK(res1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16712 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16717 result
= (wxString
*) &_result_ref
;
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16735 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16738 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16739 return SWIG_Py_Void();
16742 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16743 return SWIG_Python_InitShadowInstance(args
);
16746 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
= 0;
16748 int arg1
= (int) -1 ;
16749 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16750 wxPyLocale
*result
= 0 ;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char * kwnames
[] = {
16758 (char *) "language",(char *) "flags", NULL
16761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16764 if (!SWIG_IsOK(ecode1
)) {
16765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16767 arg1
= static_cast< int >(val1
);
16770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16771 if (!SWIG_IsOK(ecode2
)) {
16772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16774 arg2
= static_cast< int >(val2
);
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16789 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16790 PyObject
*resultobj
= 0;
16791 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16794 PyObject
*swig_obj
[1] ;
16796 if (!args
) SWIG_fail
;
16797 swig_obj
[0] = args
;
16798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16799 if (!SWIG_IsOK(res1
)) {
16800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16802 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= SWIG_Py_Void();
16817 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
= 0;
16819 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16820 PyObject
*arg2
= (PyObject
*) 0 ;
16821 PyObject
*arg3
= (PyObject
*) 0 ;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 PyObject
* obj2
= 0 ;
16827 char * kwnames
[] = {
16828 (char *) "self",(char *) "self",(char *) "_class", NULL
16831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16833 if (!SWIG_IsOK(res1
)) {
16834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16836 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= SWIG_Py_Void();
16852 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
= 0;
16854 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16855 wxChar
*arg2
= (wxChar
*) 0 ;
16856 wxChar
*arg3
= (wxChar
*) NULL
;
16857 wxChar
*result
= 0 ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 PyObject
* obj2
= 0 ;
16867 char * kwnames
[] = {
16868 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16873 if (!SWIG_IsOK(res1
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16876 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16878 if (!SWIG_IsOK(res2
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16881 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16883 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16884 if (!SWIG_IsOK(res3
)) {
16885 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16887 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16902 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
= 0;
16904 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16905 wxChar
*arg2
= (wxChar
*) 0 ;
16906 wxChar
*arg3
= (wxChar
*) 0 ;
16908 wxChar
*arg5
= (wxChar
*) NULL
;
16909 wxChar
*result
= 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 PyObject
* obj2
= 0 ;
16923 PyObject
* obj3
= 0 ;
16924 PyObject
* obj4
= 0 ;
16925 char * kwnames
[] = {
16926 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16931 if (!SWIG_IsOK(res1
)) {
16932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16934 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16936 if (!SWIG_IsOK(res2
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16939 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16940 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16941 if (!SWIG_IsOK(res3
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16944 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16945 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16946 if (!SWIG_IsOK(ecode4
)) {
16947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16949 arg4
= static_cast< size_t >(val4
);
16951 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16952 if (!SWIG_IsOK(res5
)) {
16953 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16955 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16970 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16973 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16974 return SWIG_Py_Void();
16977 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16978 return SWIG_Python_InitShadowInstance(args
);
16981 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16982 PyObject
*resultobj
= 0;
16983 wxLocale
*result
= 0 ;
16985 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= (wxLocale
*)wxGetLocale();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16999 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17000 PyObject
*resultobj
= 0;
17001 wxString
*arg1
= 0 ;
17003 bool temp1
= false ;
17005 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17007 arg1
= wxString_in_helper(swig_obj
[0]);
17008 if (arg1
== NULL
) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= wxGetTranslation((wxString
const &)*arg1
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17038 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17039 PyObject
*resultobj
= 0;
17040 wxString
*arg1
= 0 ;
17041 wxString
*arg2
= 0 ;
17043 bool temp1
= false ;
17044 bool temp2
= false ;
17046 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17048 arg1
= wxString_in_helper(swig_obj
[0]);
17049 if (arg1
== NULL
) SWIG_fail
;
17053 arg2
= wxString_in_helper(swig_obj
[1]);
17054 if (arg2
== NULL
) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17092 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17093 PyObject
*resultobj
= 0;
17094 wxString
*arg1
= 0 ;
17095 wxString
*arg2
= 0 ;
17098 bool temp1
= false ;
17099 bool temp2
= false ;
17103 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17105 arg1
= wxString_in_helper(swig_obj
[0]);
17106 if (arg1
== NULL
) SWIG_fail
;
17110 arg2
= wxString_in_helper(swig_obj
[1]);
17111 if (arg2
== NULL
) SWIG_fail
;
17114 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17115 if (!SWIG_IsOK(ecode3
)) {
17116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17118 arg3
= static_cast< size_t >(val3
);
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17154 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17155 PyObject
*resultobj
= 0;
17156 wxString
*arg1
= 0 ;
17157 wxString
*arg2
= 0 ;
17159 wxString
*arg4
= 0 ;
17161 bool temp1
= false ;
17162 bool temp2
= false ;
17165 bool temp4
= false ;
17167 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17169 arg1
= wxString_in_helper(swig_obj
[0]);
17170 if (arg1
== NULL
) SWIG_fail
;
17174 arg2
= wxString_in_helper(swig_obj
[1]);
17175 if (arg2
== NULL
) SWIG_fail
;
17178 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17179 if (!SWIG_IsOK(ecode3
)) {
17180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17182 arg3
= static_cast< size_t >(val3
);
17184 arg4
= wxString_in_helper(swig_obj
[3]);
17185 if (arg4
== NULL
) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17231 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17235 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17238 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17241 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17244 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17247 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17251 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17256 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17257 PyObject
*resultobj
= 0;
17258 wxEncodingConverter
*result
= 0 ;
17260 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17274 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17275 PyObject
*resultobj
= 0;
17276 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17279 PyObject
*swig_obj
[1] ;
17281 if (!args
) SWIG_fail
;
17282 swig_obj
[0] = args
;
17283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17284 if (!SWIG_IsOK(res1
)) {
17285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17287 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_Py_Void();
17302 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
= 0;
17304 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17305 wxFontEncoding arg2
;
17306 wxFontEncoding arg3
;
17307 int arg4
= (int) wxCONVERT_STRICT
;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 PyObject
* obj2
= 0 ;
17320 PyObject
* obj3
= 0 ;
17321 char * kwnames
[] = {
17322 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17327 if (!SWIG_IsOK(res1
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17330 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17332 if (!SWIG_IsOK(ecode2
)) {
17333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17335 arg2
= static_cast< wxFontEncoding
>(val2
);
17336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17337 if (!SWIG_IsOK(ecode3
)) {
17338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17340 arg3
= static_cast< wxFontEncoding
>(val3
);
17342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17343 if (!SWIG_IsOK(ecode4
)) {
17344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17346 arg4
= static_cast< int >(val4
);
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17363 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
= 0;
17365 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17366 wxString
*arg2
= 0 ;
17370 bool temp2
= false ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "self",(char *) "input", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17382 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17384 arg2
= wxString_in_helper(obj1
);
17385 if (arg2
== NULL
) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17415 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
= 0;
17417 wxFontEncoding arg1
;
17418 int arg2
= (int) wxPLATFORM_CURRENT
;
17419 wxFontEncodingArray result
;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 char * kwnames
[] = {
17427 (char *) "enc",(char *) "platform", NULL
17430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17432 if (!SWIG_IsOK(ecode1
)) {
17433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17435 arg1
= static_cast< wxFontEncoding
>(val1
);
17437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17438 if (!SWIG_IsOK(ecode2
)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17441 arg2
= static_cast< int >(val2
);
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= PyList_New(0);
17451 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17452 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17453 PyList_Append(resultobj
, number
);
17463 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
= 0;
17465 wxFontEncoding arg1
;
17466 wxFontEncodingArray result
;
17469 PyObject
* obj0
= 0 ;
17470 char * kwnames
[] = {
17471 (char *) "enc", NULL
17474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17475 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17476 if (!SWIG_IsOK(ecode1
)) {
17477 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17479 arg1
= static_cast< wxFontEncoding
>(val1
);
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= PyList_New(0);
17488 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17489 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17490 PyList_Append(resultobj
, number
);
17500 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
= 0;
17502 wxFontEncoding arg1
;
17503 wxFontEncoding arg2
;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char * kwnames
[] = {
17512 (char *) "encIn",(char *) "encOut", NULL
17515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17517 if (!SWIG_IsOK(ecode1
)) {
17518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17520 arg1
= static_cast< wxFontEncoding
>(val1
);
17521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17522 if (!SWIG_IsOK(ecode2
)) {
17523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17525 arg2
= static_cast< wxFontEncoding
>(val2
);
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17541 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17544 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17545 return SWIG_Py_Void();
17548 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17549 return SWIG_Python_InitShadowInstance(args
);
17552 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17553 PyObject
*resultobj
= 0;
17554 wxDC
*arg1
= (wxDC
*) 0 ;
17557 PyObject
*swig_obj
[1] ;
17559 if (!args
) SWIG_fail
;
17560 swig_obj
[0] = args
;
17561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17562 if (!SWIG_IsOK(res1
)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_Py_Void();
17580 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
= 0;
17582 wxDC
*arg1
= (wxDC
*) 0 ;
17585 wxColour
*arg4
= 0 ;
17586 int arg5
= (int) wxFLOOD_SURFACE
;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 PyObject
* obj2
= 0 ;
17600 PyObject
* obj3
= 0 ;
17601 PyObject
* obj4
= 0 ;
17602 char * kwnames
[] = {
17603 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17608 if (!SWIG_IsOK(res1
)) {
17609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17613 if (!SWIG_IsOK(ecode2
)) {
17614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17616 arg2
= static_cast< int >(val2
);
17617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17618 if (!SWIG_IsOK(ecode3
)) {
17619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17621 arg3
= static_cast< int >(val3
);
17624 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17627 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17628 if (!SWIG_IsOK(ecode5
)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17631 arg5
= static_cast< int >(val5
);
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17648 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
= 0;
17650 wxDC
*arg1
= (wxDC
*) 0 ;
17651 wxPoint
*arg2
= 0 ;
17652 wxColour
*arg3
= 0 ;
17653 int arg4
= (int) wxFLOOD_SURFACE
;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 PyObject
* obj2
= 0 ;
17664 PyObject
* obj3
= 0 ;
17665 char * kwnames
[] = {
17666 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17671 if (!SWIG_IsOK(res1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17681 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17684 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17685 if (!SWIG_IsOK(ecode4
)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17688 arg4
= static_cast< int >(val4
);
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17705 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
= 0;
17707 wxDC
*arg1
= (wxDC
*) 0 ;
17709 wxColour
*arg3
= 0 ;
17710 wxColour
*arg4
= 0 ;
17711 wxPoint
*arg5
= 0 ;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 PyObject
* obj2
= 0 ;
17721 PyObject
* obj3
= 0 ;
17722 PyObject
* obj4
= 0 ;
17723 char * kwnames
[] = {
17724 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17735 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17739 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17743 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17747 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_Py_Void();
17762 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
= 0;
17764 wxDC
*arg1
= (wxDC
*) 0 ;
17766 wxColour
*arg3
= 0 ;
17767 wxColour
*arg4
= 0 ;
17768 wxDirection arg5
= (wxDirection
) wxEAST
;
17776 PyObject
* obj0
= 0 ;
17777 PyObject
* obj1
= 0 ;
17778 PyObject
* obj2
= 0 ;
17779 PyObject
* obj3
= 0 ;
17780 PyObject
* obj4
= 0 ;
17781 char * kwnames
[] = {
17782 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17787 if (!SWIG_IsOK(res1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17793 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17797 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17801 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17804 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17805 if (!SWIG_IsOK(ecode5
)) {
17806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17808 arg5
= static_cast< wxDirection
>(val5
);
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_Py_Void();
17823 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
= 0;
17825 wxDC
*arg1
= (wxDC
*) 0 ;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj1
= 0 ;
17837 PyObject
* obj2
= 0 ;
17838 char * kwnames
[] = {
17839 (char *) "self",(char *) "x",(char *) "y", NULL
17842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17849 if (!SWIG_IsOK(ecode2
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17852 arg2
= static_cast< int >(val2
);
17853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17854 if (!SWIG_IsOK(ecode3
)) {
17855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17857 arg3
= static_cast< int >(val3
);
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17871 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
= 0;
17873 wxDC
*arg1
= (wxDC
*) 0 ;
17874 wxPoint
*arg2
= 0 ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 char * kwnames
[] = {
17882 (char *) "self",(char *) "pt", NULL
17885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17887 if (!SWIG_IsOK(res1
)) {
17888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17893 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17908 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
= 0;
17910 wxDC
*arg1
= (wxDC
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 PyObject
* obj1
= 0 ;
17927 PyObject
* obj2
= 0 ;
17928 PyObject
* obj3
= 0 ;
17929 PyObject
* obj4
= 0 ;
17930 char * kwnames
[] = {
17931 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17936 if (!SWIG_IsOK(res1
)) {
17937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17941 if (!SWIG_IsOK(ecode2
)) {
17942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17944 arg2
= static_cast< int >(val2
);
17945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17946 if (!SWIG_IsOK(ecode3
)) {
17947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17949 arg3
= static_cast< int >(val3
);
17950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17951 if (!SWIG_IsOK(ecode4
)) {
17952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17954 arg4
= static_cast< int >(val4
);
17955 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17956 if (!SWIG_IsOK(ecode5
)) {
17957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17959 arg5
= static_cast< int >(val5
);
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_Py_Void();
17973 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
= 0;
17975 wxDC
*arg1
= (wxDC
*) 0 ;
17976 wxPoint
*arg2
= 0 ;
17977 wxPoint
*arg3
= 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 PyObject
* obj2
= 0 ;
17985 char * kwnames
[] = {
17986 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17991 if (!SWIG_IsOK(res1
)) {
17992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= SWIG_Py_Void();
18016 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= 0;
18018 wxDC
*arg1
= (wxDC
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 PyObject
* obj2
= 0 ;
18030 char * kwnames
[] = {
18031 (char *) "self",(char *) "x",(char *) "y", NULL
18034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18036 if (!SWIG_IsOK(res1
)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18041 if (!SWIG_IsOK(ecode2
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18044 arg2
= static_cast< int >(val2
);
18045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18046 if (!SWIG_IsOK(ecode3
)) {
18047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18049 arg3
= static_cast< int >(val3
);
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->CrossHair(arg2
,arg3
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_Py_Void();
18063 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
= 0;
18065 wxDC
*arg1
= (wxDC
*) 0 ;
18066 wxPoint
*arg2
= 0 ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "self",(char *) "pt", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_Py_Void();
18099 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
= 0;
18101 wxDC
*arg1
= (wxDC
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 PyObject
* obj2
= 0 ;
18125 PyObject
* obj3
= 0 ;
18126 PyObject
* obj4
= 0 ;
18127 PyObject
* obj5
= 0 ;
18128 PyObject
* obj6
= 0 ;
18129 char * kwnames
[] = {
18130 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18140 if (!SWIG_IsOK(ecode2
)) {
18141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18143 arg2
= static_cast< int >(val2
);
18144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18145 if (!SWIG_IsOK(ecode3
)) {
18146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18148 arg3
= static_cast< int >(val3
);
18149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18150 if (!SWIG_IsOK(ecode4
)) {
18151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18153 arg4
= static_cast< int >(val4
);
18154 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18155 if (!SWIG_IsOK(ecode5
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18158 arg5
= static_cast< int >(val5
);
18159 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18160 if (!SWIG_IsOK(ecode6
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18163 arg6
= static_cast< int >(val6
);
18164 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18165 if (!SWIG_IsOK(ecode7
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18168 arg7
= static_cast< int >(val7
);
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_Py_Void();
18182 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
= 0;
18184 wxDC
*arg1
= (wxDC
*) 0 ;
18185 wxPoint
*arg2
= 0 ;
18186 wxPoint
*arg3
= 0 ;
18187 wxPoint
*arg4
= 0 ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 PyObject
* obj2
= 0 ;
18196 PyObject
* obj3
= 0 ;
18197 char * kwnames
[] = {
18198 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18203 if (!SWIG_IsOK(res1
)) {
18204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18209 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= SWIG_Py_Void();
18232 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
= 0;
18234 wxDC
*arg1
= (wxDC
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 PyObject
* obj2
= 0 ;
18252 PyObject
* obj3
= 0 ;
18253 PyObject
* obj4
= 0 ;
18254 char * kwnames
[] = {
18255 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18260 if (!SWIG_IsOK(res1
)) {
18261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18265 if (!SWIG_IsOK(ecode2
)) {
18266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18268 arg2
= static_cast< int >(val2
);
18269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18270 if (!SWIG_IsOK(ecode3
)) {
18271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18273 arg3
= static_cast< int >(val3
);
18274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18275 if (!SWIG_IsOK(ecode4
)) {
18276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18278 arg4
= static_cast< int >(val4
);
18279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18280 if (!SWIG_IsOK(ecode5
)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18283 arg5
= static_cast< int >(val5
);
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_Py_Void();
18297 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
= 0;
18299 wxDC
*arg1
= (wxDC
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char * kwnames
[] = {
18307 (char *) "self",(char *) "rect", NULL
18310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18312 if (!SWIG_IsOK(res1
)) {
18313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_Py_Void();
18333 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
= 0;
18335 wxDC
*arg1
= (wxDC
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 PyObject
* obj2
= 0 ;
18359 PyObject
* obj3
= 0 ;
18360 PyObject
* obj4
= 0 ;
18361 PyObject
* obj5
= 0 ;
18362 PyObject
* obj6
= 0 ;
18363 char * kwnames
[] = {
18364 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18369 if (!SWIG_IsOK(res1
)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18374 if (!SWIG_IsOK(ecode2
)) {
18375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18377 arg2
= static_cast< int >(val2
);
18378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18379 if (!SWIG_IsOK(ecode3
)) {
18380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18382 arg3
= static_cast< int >(val3
);
18383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18384 if (!SWIG_IsOK(ecode4
)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18387 arg4
= static_cast< int >(val4
);
18388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18389 if (!SWIG_IsOK(ecode5
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18392 arg5
= static_cast< int >(val5
);
18393 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18394 if (!SWIG_IsOK(ecode6
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18397 arg6
= static_cast< double >(val6
);
18398 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18399 if (!SWIG_IsOK(ecode7
)) {
18400 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18402 arg7
= static_cast< double >(val7
);
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_Py_Void();
18416 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
= 0;
18418 wxDC
*arg1
= (wxDC
*) 0 ;
18419 wxPoint
*arg2
= 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 PyObject
* obj2
= 0 ;
18434 PyObject
* obj3
= 0 ;
18435 PyObject
* obj4
= 0 ;
18436 char * kwnames
[] = {
18437 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18442 if (!SWIG_IsOK(res1
)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18452 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18454 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18455 if (!SWIG_IsOK(ecode4
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18458 arg4
= static_cast< double >(val4
);
18459 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18460 if (!SWIG_IsOK(ecode5
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18463 arg5
= static_cast< double >(val5
);
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= SWIG_Py_Void();
18477 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
= 0;
18479 wxDC
*arg1
= (wxDC
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 PyObject
* obj2
= 0 ;
18491 char * kwnames
[] = {
18492 (char *) "self",(char *) "x",(char *) "y", NULL
18495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18502 if (!SWIG_IsOK(ecode2
)) {
18503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18505 arg2
= static_cast< int >(val2
);
18506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18507 if (!SWIG_IsOK(ecode3
)) {
18508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18510 arg3
= static_cast< int >(val3
);
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->DrawPoint(arg2
,arg3
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_Py_Void();
18524 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
= 0;
18526 wxDC
*arg1
= (wxDC
*) 0 ;
18527 wxPoint
*arg2
= 0 ;
18531 PyObject
* obj0
= 0 ;
18532 PyObject
* obj1
= 0 ;
18533 char * kwnames
[] = {
18534 (char *) "self",(char *) "pt", NULL
18537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18539 if (!SWIG_IsOK(res1
)) {
18540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= SWIG_Py_Void();
18560 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
= 0;
18562 wxDC
*arg1
= (wxDC
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 PyObject
* obj2
= 0 ;
18580 PyObject
* obj3
= 0 ;
18581 PyObject
* obj4
= 0 ;
18582 char * kwnames
[] = {
18583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18593 if (!SWIG_IsOK(ecode2
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18596 arg2
= static_cast< int >(val2
);
18597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18598 if (!SWIG_IsOK(ecode3
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18601 arg3
= static_cast< int >(val3
);
18602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18603 if (!SWIG_IsOK(ecode4
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18606 arg4
= static_cast< int >(val4
);
18607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18608 if (!SWIG_IsOK(ecode5
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18611 arg5
= static_cast< int >(val5
);
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_Py_Void();
18625 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
= 0;
18627 wxDC
*arg1
= (wxDC
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "self",(char *) "rect", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18646 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_Py_Void();
18661 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
= 0;
18663 wxDC
*arg1
= (wxDC
*) 0 ;
18664 wxPoint
*arg2
= 0 ;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 PyObject
* obj2
= 0 ;
18673 char * kwnames
[] = {
18674 (char *) "self",(char *) "pt",(char *) "sz", NULL
18677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18679 if (!SWIG_IsOK(res1
)) {
18680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18689 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_Py_Void();
18704 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
= 0;
18706 wxDC
*arg1
= (wxDC
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 PyObject
* obj2
= 0 ;
18727 PyObject
* obj3
= 0 ;
18728 PyObject
* obj4
= 0 ;
18729 PyObject
* obj5
= 0 ;
18730 char * kwnames
[] = {
18731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18736 if (!SWIG_IsOK(res1
)) {
18737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18741 if (!SWIG_IsOK(ecode2
)) {
18742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18744 arg2
= static_cast< int >(val2
);
18745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18746 if (!SWIG_IsOK(ecode3
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18749 arg3
= static_cast< int >(val3
);
18750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18751 if (!SWIG_IsOK(ecode4
)) {
18752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18754 arg4
= static_cast< int >(val4
);
18755 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18756 if (!SWIG_IsOK(ecode5
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18759 arg5
= static_cast< int >(val5
);
18760 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18761 if (!SWIG_IsOK(ecode6
)) {
18762 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18764 arg6
= static_cast< double >(val6
);
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= SWIG_Py_Void();
18778 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
= 0;
18780 wxDC
*arg1
= (wxDC
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 PyObject
* obj2
= 0 ;
18791 char * kwnames
[] = {
18792 (char *) "self",(char *) "r",(char *) "radius", NULL
18795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18797 if (!SWIG_IsOK(res1
)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18803 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18805 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18806 if (!SWIG_IsOK(ecode3
)) {
18807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18809 arg3
= static_cast< double >(val3
);
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= SWIG_Py_Void();
18823 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
= 0;
18825 wxDC
*arg1
= (wxDC
*) 0 ;
18826 wxPoint
*arg2
= 0 ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 PyObject
* obj3
= 0 ;
18839 char * kwnames
[] = {
18840 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18855 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18857 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18858 if (!SWIG_IsOK(ecode4
)) {
18859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18861 arg4
= static_cast< double >(val4
);
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= SWIG_Py_Void();
18875 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
= 0;
18877 wxDC
*arg1
= (wxDC
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 PyObject
* obj2
= 0 ;
18892 PyObject
* obj3
= 0 ;
18893 char * kwnames
[] = {
18894 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18899 if (!SWIG_IsOK(res1
)) {
18900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18904 if (!SWIG_IsOK(ecode2
)) {
18905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18907 arg2
= static_cast< int >(val2
);
18908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18909 if (!SWIG_IsOK(ecode3
)) {
18910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18912 arg3
= static_cast< int >(val3
);
18913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18914 if (!SWIG_IsOK(ecode4
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18917 arg4
= static_cast< int >(val4
);
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_Py_Void();
18931 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
= 0;
18933 wxDC
*arg1
= (wxDC
*) 0 ;
18934 wxPoint
*arg2
= 0 ;
18941 PyObject
* obj0
= 0 ;
18942 PyObject
* obj1
= 0 ;
18943 PyObject
* obj2
= 0 ;
18944 char * kwnames
[] = {
18945 (char *) "self",(char *) "pt",(char *) "radius", NULL
18948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18950 if (!SWIG_IsOK(res1
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18959 if (!SWIG_IsOK(ecode3
)) {
18960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18962 arg3
= static_cast< int >(val3
);
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= SWIG_Py_Void();
18976 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
= 0;
18978 wxDC
*arg1
= (wxDC
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 PyObject
* obj2
= 0 ;
18996 PyObject
* obj3
= 0 ;
18997 PyObject
* obj4
= 0 ;
18998 char * kwnames
[] = {
18999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19004 if (!SWIG_IsOK(res1
)) {
19005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19009 if (!SWIG_IsOK(ecode2
)) {
19010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19012 arg2
= static_cast< int >(val2
);
19013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19014 if (!SWIG_IsOK(ecode3
)) {
19015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19017 arg3
= static_cast< int >(val3
);
19018 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19019 if (!SWIG_IsOK(ecode4
)) {
19020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19022 arg4
= static_cast< int >(val4
);
19023 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19024 if (!SWIG_IsOK(ecode5
)) {
19025 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19027 arg5
= static_cast< int >(val5
);
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= SWIG_Py_Void();
19041 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
= 0;
19043 wxDC
*arg1
= (wxDC
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char * kwnames
[] = {
19051 (char *) "self",(char *) "rect", NULL
19054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19056 if (!SWIG_IsOK(res1
)) {
19057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19062 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= SWIG_Py_Void();
19077 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
= 0;
19079 wxDC
*arg1
= (wxDC
*) 0 ;
19080 wxPoint
*arg2
= 0 ;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 PyObject
* obj2
= 0 ;
19089 char * kwnames
[] = {
19090 (char *) "self",(char *) "pt",(char *) "sz", NULL
19093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19095 if (!SWIG_IsOK(res1
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19105 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= SWIG_Py_Void();
19120 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
= 0;
19122 wxDC
*arg1
= (wxDC
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 PyObject
* obj2
= 0 ;
19137 PyObject
* obj3
= 0 ;
19138 char * kwnames
[] = {
19139 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19144 if (!SWIG_IsOK(res1
)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19149 if (!SWIG_IsOK(res2
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19155 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19157 if (!SWIG_IsOK(ecode3
)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19160 arg3
= static_cast< int >(val3
);
19161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19162 if (!SWIG_IsOK(ecode4
)) {
19163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19165 arg4
= static_cast< int >(val4
);
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= SWIG_Py_Void();
19179 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
= 0;
19181 wxDC
*arg1
= (wxDC
*) 0 ;
19183 wxPoint
*arg3
= 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 PyObject
* obj2
= 0 ;
19192 char * kwnames
[] = {
19193 (char *) "self",(char *) "icon",(char *) "pt", NULL
19196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19198 if (!SWIG_IsOK(res1
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19203 if (!SWIG_IsOK(res2
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19209 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_Py_Void();
19227 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
= 0;
19229 wxDC
*arg1
= (wxDC
*) 0 ;
19230 wxBitmap
*arg2
= 0 ;
19233 bool arg5
= (bool) false ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 PyObject
* obj2
= 0 ;
19247 PyObject
* obj3
= 0 ;
19248 PyObject
* obj4
= 0 ;
19249 char * kwnames
[] = {
19250 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19255 if (!SWIG_IsOK(res1
)) {
19256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19260 if (!SWIG_IsOK(res2
)) {
19261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19266 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19268 if (!SWIG_IsOK(ecode3
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19271 arg3
= static_cast< int >(val3
);
19272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19273 if (!SWIG_IsOK(ecode4
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19276 arg4
= static_cast< int >(val4
);
19278 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19279 if (!SWIG_IsOK(ecode5
)) {
19280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19282 arg5
= static_cast< bool >(val5
);
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_Py_Void();
19297 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
= 0;
19299 wxDC
*arg1
= (wxDC
*) 0 ;
19300 wxBitmap
*arg2
= 0 ;
19301 wxPoint
*arg3
= 0 ;
19302 bool arg4
= (bool) false ;
19310 PyObject
* obj0
= 0 ;
19311 PyObject
* obj1
= 0 ;
19312 PyObject
* obj2
= 0 ;
19313 PyObject
* obj3
= 0 ;
19314 char * kwnames
[] = {
19315 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19320 if (!SWIG_IsOK(res1
)) {
19321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19325 if (!SWIG_IsOK(res2
)) {
19326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19334 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19337 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19338 if (!SWIG_IsOK(ecode4
)) {
19339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19341 arg4
= static_cast< bool >(val4
);
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= SWIG_Py_Void();
19356 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
= 0;
19358 wxDC
*arg1
= (wxDC
*) 0 ;
19359 wxString
*arg2
= 0 ;
19364 bool temp2
= false ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 PyObject
* obj2
= 0 ;
19372 PyObject
* obj3
= 0 ;
19373 char * kwnames
[] = {
19374 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19379 if (!SWIG_IsOK(res1
)) {
19380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19384 arg2
= wxString_in_helper(obj1
);
19385 if (arg2
== NULL
) SWIG_fail
;
19388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19389 if (!SWIG_IsOK(ecode3
)) {
19390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19392 arg3
= static_cast< int >(val3
);
19393 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19394 if (!SWIG_IsOK(ecode4
)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19397 arg4
= static_cast< int >(val4
);
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_Py_Void();
19419 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
= 0;
19421 wxDC
*arg1
= (wxDC
*) 0 ;
19422 wxString
*arg2
= 0 ;
19423 wxPoint
*arg3
= 0 ;
19426 bool temp2
= false ;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 PyObject
* obj2
= 0 ;
19431 char * kwnames
[] = {
19432 (char *) "self",(char *) "text",(char *) "pt", NULL
19435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19442 arg2
= wxString_in_helper(obj1
);
19443 if (arg2
== NULL
) SWIG_fail
;
19448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= SWIG_Py_Void();
19471 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
= 0;
19473 wxDC
*arg1
= (wxDC
*) 0 ;
19474 wxString
*arg2
= 0 ;
19480 bool temp2
= false ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 PyObject
* obj2
= 0 ;
19490 PyObject
* obj3
= 0 ;
19491 PyObject
* obj4
= 0 ;
19492 char * kwnames
[] = {
19493 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19498 if (!SWIG_IsOK(res1
)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19503 arg2
= wxString_in_helper(obj1
);
19504 if (arg2
== NULL
) SWIG_fail
;
19507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19508 if (!SWIG_IsOK(ecode3
)) {
19509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19511 arg3
= static_cast< int >(val3
);
19512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19513 if (!SWIG_IsOK(ecode4
)) {
19514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19516 arg4
= static_cast< int >(val4
);
19517 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19518 if (!SWIG_IsOK(ecode5
)) {
19519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19521 arg5
= static_cast< double >(val5
);
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= SWIG_Py_Void();
19543 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= 0;
19545 wxDC
*arg1
= (wxDC
*) 0 ;
19546 wxString
*arg2
= 0 ;
19547 wxPoint
*arg3
= 0 ;
19551 bool temp2
= false ;
19555 PyObject
* obj0
= 0 ;
19556 PyObject
* obj1
= 0 ;
19557 PyObject
* obj2
= 0 ;
19558 PyObject
* obj3
= 0 ;
19559 char * kwnames
[] = {
19560 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19565 if (!SWIG_IsOK(res1
)) {
19566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19570 arg2
= wxString_in_helper(obj1
);
19571 if (arg2
== NULL
) SWIG_fail
;
19576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19578 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19579 if (!SWIG_IsOK(ecode4
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19582 arg4
= static_cast< double >(val4
);
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_Py_Void();
19604 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
= 0;
19606 wxDC
*arg1
= (wxDC
*) 0 ;
19611 wxDC
*arg6
= (wxDC
*) 0 ;
19614 int arg9
= (int) wxCOPY
;
19615 bool arg10
= (bool) false ;
19616 int arg11
= (int) -1 ;
19617 int arg12
= (int) -1 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 PyObject
* obj2
= 0 ;
19646 PyObject
* obj3
= 0 ;
19647 PyObject
* obj4
= 0 ;
19648 PyObject
* obj5
= 0 ;
19649 PyObject
* obj6
= 0 ;
19650 PyObject
* obj7
= 0 ;
19651 PyObject
* obj8
= 0 ;
19652 PyObject
* obj9
= 0 ;
19653 PyObject
* obj10
= 0 ;
19654 PyObject
* obj11
= 0 ;
19655 char * kwnames
[] = {
19656 (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
19659 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
;
19660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19666 if (!SWIG_IsOK(ecode2
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19669 arg2
= static_cast< int >(val2
);
19670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19671 if (!SWIG_IsOK(ecode3
)) {
19672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19674 arg3
= static_cast< int >(val3
);
19675 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19676 if (!SWIG_IsOK(ecode4
)) {
19677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19679 arg4
= static_cast< int >(val4
);
19680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19681 if (!SWIG_IsOK(ecode5
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19684 arg5
= static_cast< int >(val5
);
19685 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19686 if (!SWIG_IsOK(res6
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19689 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19690 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19691 if (!SWIG_IsOK(ecode7
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19694 arg7
= static_cast< int >(val7
);
19695 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19696 if (!SWIG_IsOK(ecode8
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19699 arg8
= static_cast< int >(val8
);
19701 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19702 if (!SWIG_IsOK(ecode9
)) {
19703 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19705 arg9
= static_cast< int >(val9
);
19708 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19709 if (!SWIG_IsOK(ecode10
)) {
19710 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19712 arg10
= static_cast< bool >(val10
);
19715 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19716 if (!SWIG_IsOK(ecode11
)) {
19717 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19719 arg11
= static_cast< int >(val11
);
19722 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19723 if (!SWIG_IsOK(ecode12
)) {
19724 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19726 arg12
= static_cast< int >(val12
);
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19743 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
= 0;
19745 wxDC
*arg1
= (wxDC
*) 0 ;
19746 wxPoint
*arg2
= 0 ;
19748 wxDC
*arg4
= (wxDC
*) 0 ;
19749 wxPoint
*arg5
= 0 ;
19750 int arg6
= (int) wxCOPY
;
19751 bool arg7
= (bool) false ;
19752 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19753 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 PyObject
* obj2
= 0 ;
19770 PyObject
* obj3
= 0 ;
19771 PyObject
* obj4
= 0 ;
19772 PyObject
* obj5
= 0 ;
19773 PyObject
* obj6
= 0 ;
19774 PyObject
* obj7
= 0 ;
19775 char * kwnames
[] = {
19776 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19781 if (!SWIG_IsOK(res1
)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19791 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19793 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19794 if (!SWIG_IsOK(res4
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19797 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19800 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19803 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19804 if (!SWIG_IsOK(ecode6
)) {
19805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19807 arg6
= static_cast< int >(val6
);
19810 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19811 if (!SWIG_IsOK(ecode7
)) {
19812 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19814 arg7
= static_cast< bool >(val7
);
19819 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19837 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
= 0;
19839 wxDC
*arg1
= (wxDC
*) 0 ;
19840 wxRect
*arg2
= (wxRect
*) NULL
;
19841 SwigValueWrapper
<wxBitmap
> result
;
19846 PyObject
* obj0
= 0 ;
19847 PyObject
* obj1
= 0 ;
19848 char * kwnames
[] = {
19849 (char *) "self",(char *) "subrect", NULL
19852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19854 if (!SWIG_IsOK(res1
)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19860 if (!SWIG_IsOK(res2
)) {
19861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19863 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19878 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
= 0;
19880 wxDC
*arg1
= (wxDC
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 PyObject
* obj2
= 0 ;
19898 PyObject
* obj3
= 0 ;
19899 PyObject
* obj4
= 0 ;
19900 char * kwnames
[] = {
19901 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19906 if (!SWIG_IsOK(res1
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19911 if (!SWIG_IsOK(ecode2
)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19914 arg2
= static_cast< int >(val2
);
19915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19916 if (!SWIG_IsOK(ecode3
)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19919 arg3
= static_cast< int >(val3
);
19920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19921 if (!SWIG_IsOK(ecode4
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19924 arg4
= static_cast< int >(val4
);
19925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19926 if (!SWIG_IsOK(ecode5
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19929 arg5
= static_cast< int >(val5
);
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_Py_Void();
19943 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
= 0;
19945 wxDC
*arg1
= (wxDC
*) 0 ;
19946 wxPoint
*arg2
= 0 ;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 PyObject
* obj2
= 0 ;
19955 char * kwnames
[] = {
19956 (char *) "self",(char *) "pt",(char *) "sz", NULL
19959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19961 if (!SWIG_IsOK(res1
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19971 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_Py_Void();
19986 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
= 0;
19988 wxDC
*arg1
= (wxDC
*) 0 ;
19989 wxRegion
*arg2
= 0 ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char * kwnames
[] = {
19997 (char *) "self",(char *) "region", NULL
20000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20002 if (!SWIG_IsOK(res1
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20007 if (!SWIG_IsOK(res2
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20013 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_Py_Void();
20027 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= 0;
20029 wxDC
*arg1
= (wxDC
*) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 char * kwnames
[] = {
20037 (char *) "self",(char *) "rect", NULL
20040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20042 if (!SWIG_IsOK(res1
)) {
20043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20048 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= SWIG_Py_Void();
20063 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
= 0;
20065 wxDC
*arg1
= (wxDC
*) 0 ;
20067 wxPoint
*arg3
= (wxPoint
*) 0 ;
20068 int arg4
= (int) 0 ;
20069 int arg5
= (int) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 PyObject
* obj2
= 0 ;
20079 PyObject
* obj3
= 0 ;
20080 char * kwnames
[] = {
20081 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20091 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20092 if (arg3
== NULL
) SWIG_fail
;
20095 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20096 if (!SWIG_IsOK(ecode4
)) {
20097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20099 arg4
= static_cast< int >(val4
);
20102 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20103 if (!SWIG_IsOK(ecode5
)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20106 arg5
= static_cast< int >(val5
);
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_Py_Void();
20116 if (arg3
) delete [] arg3
;
20121 if (arg3
) delete [] arg3
;
20127 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
= 0;
20129 wxDC
*arg1
= (wxDC
*) 0 ;
20131 wxPoint
*arg3
= (wxPoint
*) 0 ;
20132 int arg4
= (int) 0 ;
20133 int arg5
= (int) 0 ;
20134 int arg6
= (int) wxODDEVEN_RULE
;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 PyObject
* obj2
= 0 ;
20146 PyObject
* obj3
= 0 ;
20147 PyObject
* obj4
= 0 ;
20148 char * kwnames
[] = {
20149 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20159 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20160 if (arg3
== NULL
) SWIG_fail
;
20163 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20164 if (!SWIG_IsOK(ecode4
)) {
20165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20167 arg4
= static_cast< int >(val4
);
20170 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20171 if (!SWIG_IsOK(ecode5
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20174 arg5
= static_cast< int >(val5
);
20177 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20178 if (!SWIG_IsOK(ecode6
)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20181 arg6
= static_cast< int >(val6
);
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= SWIG_Py_Void();
20191 if (arg3
) delete [] arg3
;
20196 if (arg3
) delete [] arg3
;
20202 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
= 0;
20204 wxDC
*arg1
= (wxDC
*) 0 ;
20205 wxString
*arg2
= 0 ;
20207 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20208 int arg5
= (int) -1 ;
20211 bool temp2
= false ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 PyObject
* obj2
= 0 ;
20220 PyObject
* obj3
= 0 ;
20221 PyObject
* obj4
= 0 ;
20222 char * kwnames
[] = {
20223 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20228 if (!SWIG_IsOK(res1
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20233 arg2
= wxString_in_helper(obj1
);
20234 if (arg2
== NULL
) SWIG_fail
;
20239 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20243 if (!SWIG_IsOK(ecode4
)) {
20244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20246 arg4
= static_cast< int >(val4
);
20249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20250 if (!SWIG_IsOK(ecode5
)) {
20251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20253 arg5
= static_cast< int >(val5
);
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_Py_Void();
20276 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
= 0;
20278 wxDC
*arg1
= (wxDC
*) 0 ;
20279 wxString
*arg2
= 0 ;
20280 wxBitmap
*arg3
= 0 ;
20282 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20283 int arg6
= (int) -1 ;
20287 bool temp2
= false ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 PyObject
* obj2
= 0 ;
20298 PyObject
* obj3
= 0 ;
20299 PyObject
* obj4
= 0 ;
20300 PyObject
* obj5
= 0 ;
20301 char * kwnames
[] = {
20302 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20307 if (!SWIG_IsOK(res1
)) {
20308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20312 arg2
= wxString_in_helper(obj1
);
20313 if (arg2
== NULL
) SWIG_fail
;
20316 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20317 if (!SWIG_IsOK(res3
)) {
20318 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20323 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20326 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20329 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20330 if (!SWIG_IsOK(ecode5
)) {
20331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20333 arg5
= static_cast< int >(val5
);
20336 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20337 if (!SWIG_IsOK(ecode6
)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20340 arg6
= static_cast< int >(val6
);
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20363 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
= 0;
20365 wxDC
*arg1
= (wxDC
*) 0 ;
20367 wxPoint
*arg3
= (wxPoint
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char * kwnames
[] = {
20373 (char *) "self",(char *) "points", NULL
20376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20378 if (!SWIG_IsOK(res1
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20383 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20384 if (arg3
== NULL
) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 (arg1
)->DrawSpline(arg2
,arg3
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_Py_Void();
20394 if (arg3
) delete [] arg3
;
20399 if (arg3
) delete [] arg3
;
20405 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20406 PyObject
*resultobj
= 0;
20407 wxDC
*arg1
= (wxDC
*) 0 ;
20410 PyObject
*swig_obj
[1] ;
20412 if (!args
) SWIG_fail
;
20413 swig_obj
[0] = args
;
20414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_Py_Void();
20432 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
= 0;
20434 wxDC
*arg1
= (wxDC
*) 0 ;
20435 wxString
*arg2
= 0 ;
20439 bool temp2
= false ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 char * kwnames
[] = {
20443 (char *) "self",(char *) "message", NULL
20446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20448 if (!SWIG_IsOK(res1
)) {
20449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20453 arg2
= wxString_in_helper(obj1
);
20454 if (arg2
== NULL
) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20480 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20481 PyObject
*resultobj
= 0;
20482 wxDC
*arg1
= (wxDC
*) 0 ;
20485 PyObject
*swig_obj
[1] ;
20487 if (!args
) SWIG_fail
;
20488 swig_obj
[0] = args
;
20489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20490 if (!SWIG_IsOK(res1
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_Py_Void();
20507 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20508 PyObject
*resultobj
= 0;
20509 wxDC
*arg1
= (wxDC
*) 0 ;
20512 PyObject
*swig_obj
[1] ;
20514 if (!args
) SWIG_fail
;
20515 swig_obj
[0] = args
;
20516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 (arg1
)->StartPage();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_Py_Void();
20534 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20535 PyObject
*resultobj
= 0;
20536 wxDC
*arg1
= (wxDC
*) 0 ;
20539 PyObject
*swig_obj
[1] ;
20541 if (!args
) SWIG_fail
;
20542 swig_obj
[0] = args
;
20543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20544 if (!SWIG_IsOK(res1
)) {
20545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= SWIG_Py_Void();
20561 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
= 0;
20563 wxDC
*arg1
= (wxDC
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 char * kwnames
[] = {
20572 (char *) "self",(char *) "font", NULL
20575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20582 if (!SWIG_IsOK(res2
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20588 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 (arg1
)->SetFont((wxFont
const &)*arg2
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_Py_Void();
20602 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
= 0;
20604 wxDC
*arg1
= (wxDC
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 char * kwnames
[] = {
20613 (char *) "self",(char *) "pen", NULL
20616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20618 if (!SWIG_IsOK(res1
)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20623 if (!SWIG_IsOK(res2
)) {
20624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20629 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 (arg1
)->SetPen((wxPen
const &)*arg2
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_Py_Void();
20643 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
= 0;
20645 wxDC
*arg1
= (wxDC
*) 0 ;
20646 wxBrush
*arg2
= 0 ;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char * kwnames
[] = {
20654 (char *) "self",(char *) "brush", NULL
20657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20659 if (!SWIG_IsOK(res1
)) {
20660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20664 if (!SWIG_IsOK(res2
)) {
20665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20670 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_Py_Void();
20684 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
= 0;
20686 wxDC
*arg1
= (wxDC
*) 0 ;
20687 wxBrush
*arg2
= 0 ;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 char * kwnames
[] = {
20695 (char *) "self",(char *) "brush", NULL
20698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20700 if (!SWIG_IsOK(res1
)) {
20701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20705 if (!SWIG_IsOK(res2
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20711 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_Py_Void();
20725 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
= 0;
20727 wxDC
*arg1
= (wxDC
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 char * kwnames
[] = {
20736 (char *) "self",(char *) "mode", NULL
20739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20741 if (!SWIG_IsOK(res1
)) {
20742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20746 if (!SWIG_IsOK(ecode2
)) {
20747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20749 arg2
= static_cast< int >(val2
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 (arg1
)->SetBackgroundMode(arg2
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_Py_Void();
20763 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
= 0;
20765 wxDC
*arg1
= (wxDC
*) 0 ;
20766 wxPalette
*arg2
= 0 ;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 char * kwnames
[] = {
20774 (char *) "self",(char *) "palette", NULL
20777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20784 if (!SWIG_IsOK(res2
)) {
20785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20790 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_Py_Void();
20804 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 PyObject
*resultobj
= 0;
20806 wxDC
*arg1
= (wxDC
*) 0 ;
20809 PyObject
*swig_obj
[1] ;
20811 if (!args
) SWIG_fail
;
20812 swig_obj
[0] = args
;
20813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20814 if (!SWIG_IsOK(res1
)) {
20815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 (arg1
)->DestroyClippingRegion();
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_Py_Void();
20831 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20832 PyObject
*resultobj
= 0;
20833 wxDC
*arg1
= (wxDC
*) 0 ;
20834 int *arg2
= (int *) 0 ;
20835 int *arg3
= (int *) 0 ;
20836 int *arg4
= (int *) 0 ;
20837 int *arg5
= (int *) 0 ;
20841 int res2
= SWIG_TMPOBJ
;
20843 int res3
= SWIG_TMPOBJ
;
20845 int res4
= SWIG_TMPOBJ
;
20847 int res5
= SWIG_TMPOBJ
;
20848 PyObject
*swig_obj
[1] ;
20854 if (!args
) SWIG_fail
;
20855 swig_obj
[0] = args
;
20856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20857 if (!SWIG_IsOK(res1
)) {
20858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_Py_Void();
20868 if (SWIG_IsTmpObj(res2
)) {
20869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20871 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20874 if (SWIG_IsTmpObj(res3
)) {
20875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20877 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20880 if (SWIG_IsTmpObj(res4
)) {
20881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20883 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20886 if (SWIG_IsTmpObj(res5
)) {
20887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20889 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20898 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 PyObject
*resultobj
= 0;
20900 wxDC
*arg1
= (wxDC
*) 0 ;
20904 PyObject
*swig_obj
[1] ;
20906 if (!args
) SWIG_fail
;
20907 swig_obj
[0] = args
;
20908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= wxDC_GetClippingRect(arg1
);
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20926 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20927 PyObject
*resultobj
= 0;
20928 wxDC
*arg1
= (wxDC
*) 0 ;
20932 PyObject
*swig_obj
[1] ;
20934 if (!args
) SWIG_fail
;
20935 swig_obj
[0] = args
;
20936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20937 if (!SWIG_IsOK(res1
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_From_int(static_cast< int >(result
));
20954 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20955 PyObject
*resultobj
= 0;
20956 wxDC
*arg1
= (wxDC
*) 0 ;
20960 PyObject
*swig_obj
[1] ;
20962 if (!args
) SWIG_fail
;
20963 swig_obj
[0] = args
;
20964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20965 if (!SWIG_IsOK(res1
)) {
20966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_From_int(static_cast< int >(result
));
20982 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
= 0;
20984 wxDC
*arg1
= (wxDC
*) 0 ;
20985 wxString
*arg2
= 0 ;
20986 int *arg3
= (int *) 0 ;
20987 int *arg4
= (int *) 0 ;
20990 bool temp2
= false ;
20992 int res3
= SWIG_TMPOBJ
;
20994 int res4
= SWIG_TMPOBJ
;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 char * kwnames
[] = {
20998 (char *) "self",(char *) "string", NULL
21003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21005 if (!SWIG_IsOK(res1
)) {
21006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21010 arg2
= wxString_in_helper(obj1
);
21011 if (arg2
== NULL
) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_Py_Void();
21021 if (SWIG_IsTmpObj(res3
)) {
21022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21024 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21027 if (SWIG_IsTmpObj(res4
)) {
21028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21030 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21047 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
= 0;
21049 wxDC
*arg1
= (wxDC
*) 0 ;
21050 wxString
*arg2
= 0 ;
21051 int *arg3
= (int *) 0 ;
21052 int *arg4
= (int *) 0 ;
21053 int *arg5
= (int *) 0 ;
21054 int *arg6
= (int *) 0 ;
21055 wxFont
*arg7
= (wxFont
*) NULL
;
21058 bool temp2
= false ;
21060 int res3
= SWIG_TMPOBJ
;
21062 int res4
= SWIG_TMPOBJ
;
21064 int res5
= SWIG_TMPOBJ
;
21066 int res6
= SWIG_TMPOBJ
;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 PyObject
* obj2
= 0 ;
21072 char * kwnames
[] = {
21073 (char *) "self",(char *) "string",(char *) "font", NULL
21080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21082 if (!SWIG_IsOK(res1
)) {
21083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21087 arg2
= wxString_in_helper(obj1
);
21088 if (arg2
== NULL
) SWIG_fail
;
21092 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21093 if (!SWIG_IsOK(res7
)) {
21094 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21096 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_Py_Void();
21105 if (SWIG_IsTmpObj(res3
)) {
21106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21108 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21111 if (SWIG_IsTmpObj(res4
)) {
21112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21114 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21117 if (SWIG_IsTmpObj(res5
)) {
21118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21120 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21123 if (SWIG_IsTmpObj(res6
)) {
21124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21126 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21143 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
= 0;
21145 wxDC
*arg1
= (wxDC
*) 0 ;
21146 wxString
*arg2
= 0 ;
21147 int *arg3
= (int *) 0 ;
21148 int *arg4
= (int *) 0 ;
21149 int *arg5
= (int *) 0 ;
21150 wxFont
*arg6
= (wxFont
*) NULL
;
21153 bool temp2
= false ;
21155 int res3
= SWIG_TMPOBJ
;
21157 int res4
= SWIG_TMPOBJ
;
21159 int res5
= SWIG_TMPOBJ
;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21164 PyObject
* obj2
= 0 ;
21165 char * kwnames
[] = {
21166 (char *) "self",(char *) "text",(char *) "font", NULL
21172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21174 if (!SWIG_IsOK(res1
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21179 arg2
= wxString_in_helper(obj1
);
21180 if (arg2
== NULL
) SWIG_fail
;
21184 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21185 if (!SWIG_IsOK(res6
)) {
21186 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21188 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= SWIG_Py_Void();
21197 if (SWIG_IsTmpObj(res3
)) {
21198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21200 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21203 if (SWIG_IsTmpObj(res4
)) {
21204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21206 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21209 if (SWIG_IsTmpObj(res5
)) {
21210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21212 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21229 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
= 0;
21231 wxDC
*arg1
= (wxDC
*) 0 ;
21232 wxString
*arg2
= 0 ;
21236 bool temp2
= false ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 char * kwnames
[] = {
21240 (char *) "self",(char *) "text", NULL
21243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21245 if (!SWIG_IsOK(res1
)) {
21246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21250 arg2
= wxString_in_helper(obj1
);
21251 if (arg2
== NULL
) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= wxArrayInt2PyList_helper(result
);
21277 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21278 PyObject
*resultobj
= 0;
21279 wxDC
*arg1
= (wxDC
*) 0 ;
21283 PyObject
*swig_obj
[1] ;
21285 if (!args
) SWIG_fail
;
21286 swig_obj
[0] = args
;
21287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (arg1
)->GetSize();
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21305 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21306 PyObject
*resultobj
= 0;
21307 wxDC
*arg1
= (wxDC
*) 0 ;
21308 int *arg2
= (int *) 0 ;
21309 int *arg3
= (int *) 0 ;
21313 int res2
= SWIG_TMPOBJ
;
21315 int res3
= SWIG_TMPOBJ
;
21316 PyObject
*swig_obj
[1] ;
21320 if (!args
) SWIG_fail
;
21321 swig_obj
[0] = args
;
21322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 (arg1
)->GetSize(arg2
,arg3
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= SWIG_Py_Void();
21334 if (SWIG_IsTmpObj(res2
)) {
21335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21337 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21340 if (SWIG_IsTmpObj(res3
)) {
21341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21343 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21344 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21352 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 PyObject
*resultobj
= 0;
21354 wxDC
*arg1
= (wxDC
*) 0 ;
21358 PyObject
*swig_obj
[1] ;
21360 if (!args
) SWIG_fail
;
21361 swig_obj
[0] = args
;
21362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21363 if (!SWIG_IsOK(res1
)) {
21364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21380 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21381 PyObject
*resultobj
= 0;
21382 wxDC
*arg1
= (wxDC
*) 0 ;
21383 int *arg2
= (int *) 0 ;
21384 int *arg3
= (int *) 0 ;
21388 int res2
= SWIG_TMPOBJ
;
21390 int res3
= SWIG_TMPOBJ
;
21391 PyObject
*swig_obj
[1] ;
21395 if (!args
) SWIG_fail
;
21396 swig_obj
[0] = args
;
21397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21398 if (!SWIG_IsOK(res1
)) {
21399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= SWIG_Py_Void();
21409 if (SWIG_IsTmpObj(res2
)) {
21410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21412 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21415 if (SWIG_IsTmpObj(res3
)) {
21416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21418 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21427 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
= 0;
21429 wxDC
*arg1
= (wxDC
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 PyObject
* obj1
= 0 ;
21438 char * kwnames
[] = {
21439 (char *) "self",(char *) "x", NULL
21442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21444 if (!SWIG_IsOK(res1
)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21449 if (!SWIG_IsOK(ecode2
)) {
21450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21452 arg2
= static_cast< int >(val2
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_From_int(static_cast< int >(result
));
21466 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
= 0;
21468 wxDC
*arg1
= (wxDC
*) 0 ;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj1
= 0 ;
21477 char * kwnames
[] = {
21478 (char *) "self",(char *) "y", NULL
21481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21483 if (!SWIG_IsOK(res1
)) {
21484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21488 if (!SWIG_IsOK(ecode2
)) {
21489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21491 arg2
= static_cast< int >(val2
);
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_From_int(static_cast< int >(result
));
21505 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
= 0;
21507 wxDC
*arg1
= (wxDC
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char * kwnames
[] = {
21517 (char *) "self",(char *) "x", NULL
21520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21522 if (!SWIG_IsOK(res1
)) {
21523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21527 if (!SWIG_IsOK(ecode2
)) {
21528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21530 arg2
= static_cast< int >(val2
);
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= SWIG_From_int(static_cast< int >(result
));
21544 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
= 0;
21546 wxDC
*arg1
= (wxDC
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 char * kwnames
[] = {
21556 (char *) "self",(char *) "y", NULL
21559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21561 if (!SWIG_IsOK(res1
)) {
21562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21566 if (!SWIG_IsOK(ecode2
)) {
21567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21569 arg2
= static_cast< int >(val2
);
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_From_int(static_cast< int >(result
));
21583 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
= 0;
21585 wxDC
*arg1
= (wxDC
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 char * kwnames
[] = {
21595 (char *) "self",(char *) "x", NULL
21598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21600 if (!SWIG_IsOK(res1
)) {
21601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21605 if (!SWIG_IsOK(ecode2
)) {
21606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21608 arg2
= static_cast< int >(val2
);
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_From_int(static_cast< int >(result
));
21622 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
= 0;
21624 wxDC
*arg1
= (wxDC
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 char * kwnames
[] = {
21634 (char *) "self",(char *) "y", NULL
21637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21639 if (!SWIG_IsOK(res1
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21644 if (!SWIG_IsOK(ecode2
)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21647 arg2
= static_cast< int >(val2
);
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 resultobj
= SWIG_From_int(static_cast< int >(result
));
21661 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
= 0;
21663 wxDC
*arg1
= (wxDC
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char * kwnames
[] = {
21673 (char *) "self",(char *) "x", NULL
21676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21678 if (!SWIG_IsOK(res1
)) {
21679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21683 if (!SWIG_IsOK(ecode2
)) {
21684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21686 arg2
= static_cast< int >(val2
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_From_int(static_cast< int >(result
));
21700 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
= 0;
21702 wxDC
*arg1
= (wxDC
*) 0 ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 char * kwnames
[] = {
21712 (char *) "self",(char *) "y", NULL
21715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21717 if (!SWIG_IsOK(res1
)) {
21718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21722 if (!SWIG_IsOK(ecode2
)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21725 arg2
= static_cast< int >(val2
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_From_int(static_cast< int >(result
));
21739 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21740 PyObject
*resultobj
= 0;
21741 wxDC
*arg1
= (wxDC
*) 0 ;
21745 PyObject
*swig_obj
[1] ;
21747 if (!args
) SWIG_fail
;
21748 swig_obj
[0] = args
;
21749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21750 if (!SWIG_IsOK(res1
)) {
21751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21769 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21770 PyObject
*resultobj
= 0;
21771 wxDC
*arg1
= (wxDC
*) 0 ;
21775 PyObject
*swig_obj
[1] ;
21777 if (!args
) SWIG_fail
;
21778 swig_obj
[0] = args
;
21779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21799 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21800 PyObject
*resultobj
= 0;
21801 wxDC
*arg1
= (wxDC
*) 0 ;
21805 PyObject
*swig_obj
[1] ;
21807 if (!args
) SWIG_fail
;
21808 swig_obj
[0] = args
;
21809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21810 if (!SWIG_IsOK(res1
)) {
21811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_From_int(static_cast< int >(result
));
21827 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 PyObject
*resultobj
= 0;
21829 wxDC
*arg1
= (wxDC
*) 0 ;
21833 PyObject
*swig_obj
[1] ;
21835 if (!args
) SWIG_fail
;
21836 swig_obj
[0] = args
;
21837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21838 if (!SWIG_IsOK(res1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= ((wxDC
const *)arg1
)->GetPPI();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21855 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21856 PyObject
*resultobj
= 0;
21857 wxDC
*arg1
= (wxDC
*) 0 ;
21861 PyObject
*swig_obj
[1] ;
21863 if (!args
) SWIG_fail
;
21864 swig_obj
[0] = args
;
21865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21866 if (!SWIG_IsOK(res1
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21885 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21886 PyObject
*resultobj
= 0;
21887 wxDC
*arg1
= (wxDC
*) 0 ;
21891 PyObject
*swig_obj
[1] ;
21893 if (!args
) SWIG_fail
;
21894 swig_obj
[0] = args
;
21895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21896 if (!SWIG_IsOK(res1
)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_From_int(static_cast< int >(result
));
21913 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21914 PyObject
*resultobj
= 0;
21915 wxDC
*arg1
= (wxDC
*) 0 ;
21916 wxBrush
*result
= 0 ;
21919 PyObject
*swig_obj
[1] ;
21921 if (!args
) SWIG_fail
;
21922 swig_obj
[0] = args
;
21923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21924 if (!SWIG_IsOK(res1
)) {
21925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21932 result
= (wxBrush
*) &_result_ref
;
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21938 wxBrush
* resultptr
= new wxBrush(*result
);
21939 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21947 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21948 PyObject
*resultobj
= 0;
21949 wxDC
*arg1
= (wxDC
*) 0 ;
21950 wxBrush
*result
= 0 ;
21953 PyObject
*swig_obj
[1] ;
21955 if (!args
) SWIG_fail
;
21956 swig_obj
[0] = args
;
21957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21966 result
= (wxBrush
*) &_result_ref
;
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 wxBrush
* resultptr
= new wxBrush(*result
);
21973 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21981 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21982 PyObject
*resultobj
= 0;
21983 wxDC
*arg1
= (wxDC
*) 0 ;
21984 wxFont
*result
= 0 ;
21987 PyObject
*swig_obj
[1] ;
21989 if (!args
) SWIG_fail
;
21990 swig_obj
[0] = args
;
21991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21992 if (!SWIG_IsOK(res1
)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22000 result
= (wxFont
*) &_result_ref
;
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 wxFont
* resultptr
= new wxFont(*result
);
22007 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22015 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22016 PyObject
*resultobj
= 0;
22017 wxDC
*arg1
= (wxDC
*) 0 ;
22018 wxPen
*result
= 0 ;
22021 PyObject
*swig_obj
[1] ;
22023 if (!args
) SWIG_fail
;
22024 swig_obj
[0] = args
;
22025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22026 if (!SWIG_IsOK(res1
)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22034 result
= (wxPen
*) &_result_ref
;
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 wxPen
* resultptr
= new wxPen(*result
);
22041 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22049 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22050 PyObject
*resultobj
= 0;
22051 wxDC
*arg1
= (wxDC
*) 0 ;
22052 wxColour
*result
= 0 ;
22055 PyObject
*swig_obj
[1] ;
22057 if (!args
) SWIG_fail
;
22058 swig_obj
[0] = args
;
22059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22068 result
= (wxColour
*) &_result_ref
;
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22080 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22081 PyObject
*resultobj
= 0;
22082 wxDC
*arg1
= (wxDC
*) 0 ;
22083 wxColour
*result
= 0 ;
22086 PyObject
*swig_obj
[1] ;
22088 if (!args
) SWIG_fail
;
22089 swig_obj
[0] = args
;
22090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22091 if (!SWIG_IsOK(res1
)) {
22092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22099 result
= (wxColour
*) &_result_ref
;
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22111 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
= 0;
22113 wxDC
*arg1
= (wxDC
*) 0 ;
22114 wxColour
*arg2
= 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 char * kwnames
[] = {
22121 (char *) "self",(char *) "colour", NULL
22124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22126 if (!SWIG_IsOK(res1
)) {
22127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_Py_Void();
22147 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
= 0;
22149 wxDC
*arg1
= (wxDC
*) 0 ;
22150 wxColour
*arg2
= 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 char * kwnames
[] = {
22157 (char *) "self",(char *) "colour", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22162 if (!SWIG_IsOK(res1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_Py_Void();
22183 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22184 PyObject
*resultobj
= 0;
22185 wxDC
*arg1
= (wxDC
*) 0 ;
22189 PyObject
*swig_obj
[1] ;
22191 if (!args
) SWIG_fail
;
22192 swig_obj
[0] = args
;
22193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_From_int(static_cast< int >(result
));
22211 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
= 0;
22213 wxDC
*arg1
= (wxDC
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char * kwnames
[] = {
22222 (char *) "self",(char *) "mode", NULL
22225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22232 if (!SWIG_IsOK(ecode2
)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22235 arg2
= static_cast< int >(val2
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 (arg1
)->SetMapMode(arg2
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_Py_Void();
22249 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22250 PyObject
*resultobj
= 0;
22251 wxDC
*arg1
= (wxDC
*) 0 ;
22252 double *arg2
= (double *) 0 ;
22253 double *arg3
= (double *) 0 ;
22257 int res2
= SWIG_TMPOBJ
;
22259 int res3
= SWIG_TMPOBJ
;
22260 PyObject
*swig_obj
[1] ;
22264 if (!args
) SWIG_fail
;
22265 swig_obj
[0] = args
;
22266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22267 if (!SWIG_IsOK(res1
)) {
22268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= SWIG_Py_Void();
22278 if (SWIG_IsTmpObj(res2
)) {
22279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22281 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22284 if (SWIG_IsTmpObj(res3
)) {
22285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22287 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22296 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
= 0;
22298 wxDC
*arg1
= (wxDC
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 PyObject
* obj1
= 0 ;
22309 PyObject
* obj2
= 0 ;
22310 char * kwnames
[] = {
22311 (char *) "self",(char *) "x",(char *) "y", NULL
22314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22320 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22321 if (!SWIG_IsOK(ecode2
)) {
22322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22324 arg2
= static_cast< double >(val2
);
22325 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22326 if (!SWIG_IsOK(ecode3
)) {
22327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22329 arg3
= static_cast< double >(val3
);
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 (arg1
)->SetUserScale(arg2
,arg3
);
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= SWIG_Py_Void();
22343 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22344 PyObject
*resultobj
= 0;
22345 wxDC
*arg1
= (wxDC
*) 0 ;
22346 double *arg2
= (double *) 0 ;
22347 double *arg3
= (double *) 0 ;
22351 int res2
= SWIG_TMPOBJ
;
22353 int res3
= SWIG_TMPOBJ
;
22354 PyObject
*swig_obj
[1] ;
22358 if (!args
) SWIG_fail
;
22359 swig_obj
[0] = args
;
22360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->GetLogicalScale(arg2
,arg3
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_Py_Void();
22372 if (SWIG_IsTmpObj(res2
)) {
22373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22375 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22378 if (SWIG_IsTmpObj(res3
)) {
22379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22381 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22390 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
= 0;
22392 wxDC
*arg1
= (wxDC
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 PyObject
* obj2
= 0 ;
22404 char * kwnames
[] = {
22405 (char *) "self",(char *) "x",(char *) "y", NULL
22408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22410 if (!SWIG_IsOK(res1
)) {
22411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22414 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22415 if (!SWIG_IsOK(ecode2
)) {
22416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22418 arg2
= static_cast< double >(val2
);
22419 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22420 if (!SWIG_IsOK(ecode3
)) {
22421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22423 arg3
= static_cast< double >(val3
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 (arg1
)->SetLogicalScale(arg2
,arg3
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_Py_Void();
22437 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 PyObject
*resultobj
= 0;
22439 wxDC
*arg1
= (wxDC
*) 0 ;
22443 PyObject
*swig_obj
[1] ;
22445 if (!args
) SWIG_fail
;
22446 swig_obj
[0] = args
;
22447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22465 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22466 PyObject
*resultobj
= 0;
22467 wxDC
*arg1
= (wxDC
*) 0 ;
22468 int *arg2
= (int *) 0 ;
22469 int *arg3
= (int *) 0 ;
22473 int res2
= SWIG_TMPOBJ
;
22475 int res3
= SWIG_TMPOBJ
;
22476 PyObject
*swig_obj
[1] ;
22480 if (!args
) SWIG_fail
;
22481 swig_obj
[0] = args
;
22482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22483 if (!SWIG_IsOK(res1
)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_Py_Void();
22494 if (SWIG_IsTmpObj(res2
)) {
22495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22497 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22500 if (SWIG_IsTmpObj(res3
)) {
22501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22503 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22512 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
= 0;
22514 wxDC
*arg1
= (wxDC
*) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 PyObject
* obj2
= 0 ;
22526 char * kwnames
[] = {
22527 (char *) "self",(char *) "x",(char *) "y", NULL
22530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22537 if (!SWIG_IsOK(ecode2
)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22540 arg2
= static_cast< int >(val2
);
22541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22542 if (!SWIG_IsOK(ecode3
)) {
22543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22545 arg3
= static_cast< int >(val3
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_Py_Void();
22559 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
= 0;
22561 wxDC
*arg1
= (wxDC
*) 0 ;
22562 wxPoint
*arg2
= 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 char * kwnames
[] = {
22569 (char *) "self",(char *) "point", NULL
22572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22574 if (!SWIG_IsOK(res1
)) {
22575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22588 resultobj
= SWIG_Py_Void();
22595 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22596 PyObject
*resultobj
= 0;
22597 wxDC
*arg1
= (wxDC
*) 0 ;
22601 PyObject
*swig_obj
[1] ;
22603 if (!args
) SWIG_fail
;
22604 swig_obj
[0] = args
;
22605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22606 if (!SWIG_IsOK(res1
)) {
22607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22623 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 PyObject
*resultobj
= 0;
22625 wxDC
*arg1
= (wxDC
*) 0 ;
22626 int *arg2
= (int *) 0 ;
22627 int *arg3
= (int *) 0 ;
22631 int res2
= SWIG_TMPOBJ
;
22633 int res3
= SWIG_TMPOBJ
;
22634 PyObject
*swig_obj
[1] ;
22638 if (!args
) SWIG_fail
;
22639 swig_obj
[0] = args
;
22640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_Py_Void();
22652 if (SWIG_IsTmpObj(res2
)) {
22653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22655 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22658 if (SWIG_IsTmpObj(res3
)) {
22659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22661 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22670 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
= 0;
22672 wxDC
*arg1
= (wxDC
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 PyObject
* obj2
= 0 ;
22684 char * kwnames
[] = {
22685 (char *) "self",(char *) "x",(char *) "y", NULL
22688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22695 if (!SWIG_IsOK(ecode2
)) {
22696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22698 arg2
= static_cast< int >(val2
);
22699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22700 if (!SWIG_IsOK(ecode3
)) {
22701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22703 arg3
= static_cast< int >(val3
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_Py_Void();
22717 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
= 0;
22719 wxDC
*arg1
= (wxDC
*) 0 ;
22720 wxPoint
*arg2
= 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 char * kwnames
[] = {
22727 (char *) "self",(char *) "point", NULL
22730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22732 if (!SWIG_IsOK(res1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_Py_Void();
22753 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
= 0;
22755 wxDC
*arg1
= (wxDC
*) 0 ;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22766 PyObject
* obj2
= 0 ;
22767 char * kwnames
[] = {
22768 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22777 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22778 if (!SWIG_IsOK(ecode2
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22781 arg2
= static_cast< bool >(val2
);
22782 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22783 if (!SWIG_IsOK(ecode3
)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22786 arg3
= static_cast< bool >(val3
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= SWIG_Py_Void();
22800 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22801 PyObject
*resultobj
= 0;
22802 wxDC
*arg1
= (wxDC
*) 0 ;
22806 PyObject
*swig_obj
[1] ;
22808 if (!args
) SWIG_fail
;
22809 swig_obj
[0] = args
;
22810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22811 if (!SWIG_IsOK(res1
)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_From_int(static_cast< int >(result
));
22828 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
= 0;
22830 wxDC
*arg1
= (wxDC
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char * kwnames
[] = {
22839 (char *) "self",(char *) "function", NULL
22842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22849 if (!SWIG_IsOK(ecode2
)) {
22850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22852 arg2
= static_cast< int >(val2
);
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->SetLogicalFunction(arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_Py_Void();
22866 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22867 PyObject
*resultobj
= 0;
22868 wxDC
*arg1
= (wxDC
*) 0 ;
22871 PyObject
*swig_obj
[1] ;
22873 if (!args
) SWIG_fail
;
22874 swig_obj
[0] = args
;
22875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 (arg1
)->ComputeScaleAndOrigin();
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= SWIG_Py_Void();
22893 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
= 0;
22895 wxDC
*arg1
= (wxDC
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 PyObject
* obj2
= 0 ;
22907 char * kwnames
[] = {
22908 (char *) "self",(char *) "x",(char *) "y", NULL
22911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22918 if (!SWIG_IsOK(ecode2
)) {
22919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22921 arg2
= static_cast< int >(val2
);
22922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22923 if (!SWIG_IsOK(ecode3
)) {
22924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22926 arg3
= static_cast< int >(val3
);
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_Py_Void();
22940 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
= 0;
22942 wxDC
*arg1
= (wxDC
*) 0 ;
22943 wxPoint
*arg2
= 0 ;
22947 PyObject
* obj0
= 0 ;
22948 PyObject
* obj1
= 0 ;
22949 char * kwnames
[] = {
22950 (char *) "self",(char *) "point", NULL
22953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22955 if (!SWIG_IsOK(res1
)) {
22956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxDC
*arg1
= (wxDC
*) 0 ;
22981 PyObject
*swig_obj
[1] ;
22983 if (!args
) SWIG_fail
;
22984 swig_obj
[0] = args
;
22985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->ResetBoundingBox();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_Py_Void();
23003 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23004 PyObject
*resultobj
= 0;
23005 wxDC
*arg1
= (wxDC
*) 0 ;
23009 PyObject
*swig_obj
[1] ;
23011 if (!args
) SWIG_fail
;
23012 swig_obj
[0] = args
;
23013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (int)((wxDC
const *)arg1
)->MinX();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_From_int(static_cast< int >(result
));
23031 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23032 PyObject
*resultobj
= 0;
23033 wxDC
*arg1
= (wxDC
*) 0 ;
23037 PyObject
*swig_obj
[1] ;
23039 if (!args
) SWIG_fail
;
23040 swig_obj
[0] = args
;
23041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (int)((wxDC
const *)arg1
)->MaxX();
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_From_int(static_cast< int >(result
));
23059 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23060 PyObject
*resultobj
= 0;
23061 wxDC
*arg1
= (wxDC
*) 0 ;
23065 PyObject
*swig_obj
[1] ;
23067 if (!args
) SWIG_fail
;
23068 swig_obj
[0] = args
;
23069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (int)((wxDC
const *)arg1
)->MinY();
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_From_int(static_cast< int >(result
));
23087 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxDC
*arg1
= (wxDC
*) 0 ;
23093 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (int)((wxDC
const *)arg1
)->MaxY();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_From_int(static_cast< int >(result
));
23115 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23116 PyObject
*resultobj
= 0;
23117 wxDC
*arg1
= (wxDC
*) 0 ;
23118 int *arg2
= (int *) 0 ;
23119 int *arg3
= (int *) 0 ;
23120 int *arg4
= (int *) 0 ;
23121 int *arg5
= (int *) 0 ;
23125 int res2
= SWIG_TMPOBJ
;
23127 int res3
= SWIG_TMPOBJ
;
23129 int res4
= SWIG_TMPOBJ
;
23131 int res5
= SWIG_TMPOBJ
;
23132 PyObject
*swig_obj
[1] ;
23138 if (!args
) SWIG_fail
;
23139 swig_obj
[0] = args
;
23140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23141 if (!SWIG_IsOK(res1
)) {
23142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_Py_Void();
23152 if (SWIG_IsTmpObj(res2
)) {
23153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23155 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23158 if (SWIG_IsTmpObj(res3
)) {
23159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23161 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23164 if (SWIG_IsTmpObj(res4
)) {
23165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23167 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23170 if (SWIG_IsTmpObj(res5
)) {
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23173 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23182 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23183 PyObject
*resultobj
= 0;
23184 wxDC
*arg1
= (wxDC
*) 0 ;
23185 wxLayoutDirection result
;
23188 PyObject
*swig_obj
[1] ;
23190 if (!args
) SWIG_fail
;
23191 swig_obj
[0] = args
;
23192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23193 if (!SWIG_IsOK(res1
)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_From_int(static_cast< int >(result
));
23210 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
= 0;
23212 wxDC
*arg1
= (wxDC
*) 0 ;
23213 wxLayoutDirection arg2
;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 char * kwnames
[] = {
23221 (char *) "self",(char *) "dir", NULL
23224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23226 if (!SWIG_IsOK(res1
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23231 if (!SWIG_IsOK(ecode2
)) {
23232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23234 arg2
= static_cast< wxLayoutDirection
>(val2
);
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 (arg1
)->SetLayoutDirection(arg2
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_Py_Void();
23248 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
= 0;
23250 wxDC
*arg1
= (wxDC
*) 0 ;
23251 PyObject
*arg2
= (PyObject
*) 0 ;
23252 PyObject
*arg3
= (PyObject
*) 0 ;
23253 PyObject
*arg4
= (PyObject
*) 0 ;
23254 PyObject
*result
= 0 ;
23257 PyObject
* obj0
= 0 ;
23258 PyObject
* obj1
= 0 ;
23259 PyObject
* obj2
= 0 ;
23260 PyObject
* obj3
= 0 ;
23261 char * kwnames
[] = {
23262 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23267 if (!SWIG_IsOK(res1
)) {
23268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= result
;
23287 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
= 0;
23289 wxDC
*arg1
= (wxDC
*) 0 ;
23290 PyObject
*arg2
= (PyObject
*) 0 ;
23291 PyObject
*arg3
= (PyObject
*) 0 ;
23292 PyObject
*arg4
= (PyObject
*) 0 ;
23293 PyObject
*result
= 0 ;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 PyObject
* obj2
= 0 ;
23299 PyObject
* obj3
= 0 ;
23300 char * kwnames
[] = {
23301 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23306 if (!SWIG_IsOK(res1
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23309 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= result
;
23326 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
= 0;
23328 wxDC
*arg1
= (wxDC
*) 0 ;
23329 PyObject
*arg2
= (PyObject
*) 0 ;
23330 PyObject
*arg3
= (PyObject
*) 0 ;
23331 PyObject
*arg4
= (PyObject
*) 0 ;
23332 PyObject
*result
= 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 PyObject
* obj2
= 0 ;
23338 PyObject
* obj3
= 0 ;
23339 char * kwnames
[] = {
23340 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23345 if (!SWIG_IsOK(res1
)) {
23346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= result
;
23365 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
= 0;
23367 wxDC
*arg1
= (wxDC
*) 0 ;
23368 PyObject
*arg2
= (PyObject
*) 0 ;
23369 PyObject
*arg3
= (PyObject
*) 0 ;
23370 PyObject
*arg4
= (PyObject
*) 0 ;
23371 PyObject
*result
= 0 ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 PyObject
* obj2
= 0 ;
23377 PyObject
* obj3
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= result
;
23404 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
= 0;
23406 wxDC
*arg1
= (wxDC
*) 0 ;
23407 PyObject
*arg2
= (PyObject
*) 0 ;
23408 PyObject
*arg3
= (PyObject
*) 0 ;
23409 PyObject
*arg4
= (PyObject
*) 0 ;
23410 PyObject
*result
= 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 PyObject
* obj3
= 0 ;
23417 char * kwnames
[] = {
23418 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23423 if (!SWIG_IsOK(res1
)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= result
;
23443 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
= 0;
23445 wxDC
*arg1
= (wxDC
*) 0 ;
23446 PyObject
*arg2
= (PyObject
*) 0 ;
23447 PyObject
*arg3
= (PyObject
*) 0 ;
23448 PyObject
*arg4
= (PyObject
*) 0 ;
23449 PyObject
*arg5
= (PyObject
*) 0 ;
23450 PyObject
*result
= 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 PyObject
* obj2
= 0 ;
23456 PyObject
* obj3
= 0 ;
23457 PyObject
* obj4
= 0 ;
23458 char * kwnames
[] = {
23459 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= result
;
23485 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23488 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23489 return SWIG_Py_Void();
23492 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
= 0;
23495 wxColour
*arg2
= 0 ;
23496 wxDCTextColourChanger
*result
= 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char * kwnames
[] = {
23503 (char *) "dc",(char *) "col", NULL
23506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23507 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23517 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23532 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23533 PyObject
*resultobj
= 0;
23534 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23537 PyObject
*swig_obj
[1] ;
23539 if (!args
) SWIG_fail
;
23540 swig_obj
[0] = args
;
23541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23542 if (!SWIG_IsOK(res1
)) {
23543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23545 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= SWIG_Py_Void();
23560 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23563 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23564 return SWIG_Py_Void();
23567 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23568 return SWIG_Python_InitShadowInstance(args
);
23571 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
= 0;
23575 wxDCPenChanger
*result
= 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char * kwnames
[] = {
23583 (char *) "dc",(char *) "pen", NULL
23586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23587 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23596 if (!SWIG_IsOK(res2
)) {
23597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23602 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23616 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23617 PyObject
*resultobj
= 0;
23618 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23621 PyObject
*swig_obj
[1] ;
23623 if (!args
) SWIG_fail
;
23624 swig_obj
[0] = args
;
23625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23626 if (!SWIG_IsOK(res1
)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23629 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= SWIG_Py_Void();
23644 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23647 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23648 return SWIG_Py_Void();
23651 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23652 return SWIG_Python_InitShadowInstance(args
);
23655 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
= 0;
23658 wxBrush
*arg2
= 0 ;
23659 wxDCBrushChanger
*result
= 0 ;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 char * kwnames
[] = {
23667 (char *) "dc",(char *) "brush", NULL
23670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23671 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23672 if (!SWIG_IsOK(res1
)) {
23673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23680 if (!SWIG_IsOK(res2
)) {
23681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23686 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23700 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23701 PyObject
*resultobj
= 0;
23702 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23705 PyObject
*swig_obj
[1] ;
23707 if (!args
) SWIG_fail
;
23708 swig_obj
[0] = args
;
23709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23710 if (!SWIG_IsOK(res1
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23713 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_Py_Void();
23728 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23731 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23732 return SWIG_Py_Void();
23735 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 return SWIG_Python_InitShadowInstance(args
);
23739 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23740 PyObject
*resultobj
= 0;
23742 wxRegion
*arg2
= 0 ;
23743 wxDCClipper
*result
= 0 ;
23749 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23751 if (!SWIG_IsOK(res1
)) {
23752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23758 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23759 if (!SWIG_IsOK(res2
)) {
23760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23765 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23779 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23780 PyObject
*resultobj
= 0;
23783 wxDCClipper
*result
= 0 ;
23788 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23799 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23814 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23815 PyObject
*resultobj
= 0;
23821 wxDCClipper
*result
= 0 ;
23833 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23842 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23843 if (!SWIG_IsOK(ecode2
)) {
23844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23846 arg2
= static_cast< int >(val2
);
23847 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23848 if (!SWIG_IsOK(ecode3
)) {
23849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23851 arg3
= static_cast< int >(val3
);
23852 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23853 if (!SWIG_IsOK(ecode4
)) {
23854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23856 arg4
= static_cast< int >(val4
);
23857 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23858 if (!SWIG_IsOK(ecode5
)) {
23859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23861 arg5
= static_cast< int >(val5
);
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23875 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23879 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23884 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23885 _v
= SWIG_CheckState(res
);
23887 if (!_v
) goto check_1
;
23888 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23893 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23896 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23900 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23905 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23906 PyObject
*resultobj
= 0;
23907 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23910 PyObject
*swig_obj
[1] ;
23912 if (!args
) SWIG_fail
;
23913 swig_obj
[0] = args
;
23914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23915 if (!SWIG_IsOK(res1
)) {
23916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23918 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_Py_Void();
23933 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23936 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23937 return SWIG_Py_Void();
23940 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23941 return SWIG_Python_InitShadowInstance(args
);
23944 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23945 PyObject
*resultobj
= 0;
23946 wxScreenDC
*result
= 0 ;
23948 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23950 if (!wxPyCheckForApp()) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (wxScreenDC
*)new wxScreenDC();
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23963 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
= 0;
23965 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23966 wxWindow
*arg2
= (wxWindow
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 char * kwnames
[] = {
23975 (char *) "self",(char *) "window", NULL
23978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23980 if (!SWIG_IsOK(res1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23983 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23985 if (!SWIG_IsOK(res2
)) {
23986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23988 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24004 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
= 0;
24006 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24007 wxRect
*arg2
= (wxRect
*) NULL
;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char * kwnames
[] = {
24016 (char *) "self",(char *) "rect", NULL
24019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24021 if (!SWIG_IsOK(res1
)) {
24022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24024 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24027 if (!SWIG_IsOK(res2
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24030 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24047 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 PyObject
*resultobj
= 0;
24049 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24053 PyObject
*swig_obj
[1] ;
24055 if (!args
) SWIG_fail
;
24056 swig_obj
[0] = args
;
24057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24061 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (bool)(arg1
)->EndDrawingOnTop();
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24077 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24080 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24081 return SWIG_Py_Void();
24084 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24085 return SWIG_Python_InitShadowInstance(args
);
24088 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
= 0;
24090 wxWindow
*arg1
= (wxWindow
*) 0 ;
24091 wxWindowDC
*result
= 0 ;
24094 PyObject
* obj0
= 0 ;
24095 char * kwnames
[] = {
24096 (char *) "win", NULL
24099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24106 if (!wxPyCheckForApp()) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24119 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24122 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24123 return SWIG_Py_Void();
24126 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24127 return SWIG_Python_InitShadowInstance(args
);
24130 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
= 0;
24132 wxWindow
*arg1
= (wxWindow
*) 0 ;
24133 wxClientDC
*result
= 0 ;
24136 PyObject
* obj0
= 0 ;
24137 char * kwnames
[] = {
24138 (char *) "win", NULL
24141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24146 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24148 if (!wxPyCheckForApp()) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (wxClientDC
*)new wxClientDC(arg1
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24161 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24164 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24165 return SWIG_Py_Void();
24168 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24169 return SWIG_Python_InitShadowInstance(args
);
24172 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
= 0;
24174 wxWindow
*arg1
= (wxWindow
*) 0 ;
24175 wxPaintDC
*result
= 0 ;
24178 PyObject
* obj0
= 0 ;
24179 char * kwnames
[] = {
24180 (char *) "win", NULL
24183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24185 if (!SWIG_IsOK(res1
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24190 if (!wxPyCheckForApp()) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24203 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24207 return SWIG_Py_Void();
24210 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24211 return SWIG_Python_InitShadowInstance(args
);
24214 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
= 0;
24216 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24217 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24218 wxMemoryDC
*result
= 0 ;
24221 PyObject
* obj0
= 0 ;
24222 char * kwnames
[] = {
24223 (char *) "bitmap", NULL
24226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24235 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24238 if (!wxPyCheckForApp()) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24251 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
= 0;
24253 wxDC
*arg1
= (wxDC
*) 0 ;
24254 wxMemoryDC
*result
= 0 ;
24257 PyObject
* obj0
= 0 ;
24258 char * kwnames
[] = {
24259 (char *) "oldDC", NULL
24262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24264 if (!SWIG_IsOK(res1
)) {
24265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24269 if (!wxPyCheckForApp()) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24282 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
= 0;
24284 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24285 wxBitmap
*arg2
= 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 char * kwnames
[] = {
24293 (char *) "self",(char *) "bitmap", NULL
24296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24298 if (!SWIG_IsOK(res1
)) {
24299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24301 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24303 if (!SWIG_IsOK(res2
)) {
24304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24309 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 (arg1
)->SelectObject(*arg2
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= SWIG_Py_Void();
24323 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
= 0;
24325 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24326 wxBitmap
*arg2
= 0 ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char * kwnames
[] = {
24334 (char *) "self",(char *) "bmp", NULL
24337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24339 if (!SWIG_IsOK(res1
)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24342 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24344 if (!SWIG_IsOK(res2
)) {
24345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24350 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_Py_Void();
24364 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24367 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24368 return SWIG_Py_Void();
24371 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24372 return SWIG_Python_InitShadowInstance(args
);
24375 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24376 PyObject
*resultobj
= 0;
24377 wxDC
*arg1
= (wxDC
*) 0 ;
24378 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24379 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24380 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24381 wxBufferedDC
*result
= 0 ;
24389 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24391 if (!SWIG_IsOK(res1
)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24396 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24397 if (!SWIG_IsOK(res2
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24403 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24406 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24407 if (!SWIG_IsOK(ecode3
)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24410 arg3
= static_cast< int >(val3
);
24413 if (!wxPyCheckForApp()) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24426 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24427 PyObject
*resultobj
= 0;
24428 wxDC
*arg1
= (wxDC
*) 0 ;
24430 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24431 wxBufferedDC
*result
= 0 ;
24438 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24446 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24449 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24450 if (!SWIG_IsOK(ecode3
)) {
24451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24453 arg3
= static_cast< int >(val3
);
24456 if (!wxPyCheckForApp()) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24469 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24473 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24475 if ((argc
>= 1) && (argc
<= 3)) {
24480 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24481 _v
= SWIG_CheckState(res
);
24483 if (!_v
) goto check_1
;
24485 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24489 if ((argc
>= 2) && (argc
<= 3)) {
24490 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24494 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24499 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24500 PyObject
*resultobj
= 0;
24501 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24504 PyObject
*swig_obj
[1] ;
24506 if (!args
) SWIG_fail
;
24507 swig_obj
[0] = args
;
24508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24509 if (!SWIG_IsOK(res1
)) {
24510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24512 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_Py_Void();
24527 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24528 PyObject
*resultobj
= 0;
24529 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24532 PyObject
*swig_obj
[1] ;
24534 if (!args
) SWIG_fail
;
24535 swig_obj
[0] = args
;
24536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24537 if (!SWIG_IsOK(res1
)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24540 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= SWIG_Py_Void();
24554 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
= 0;
24556 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 char * kwnames
[] = {
24565 (char *) "self",(char *) "style", NULL
24568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24570 if (!SWIG_IsOK(res1
)) {
24571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24573 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24575 if (!SWIG_IsOK(ecode2
)) {
24576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24578 arg2
= static_cast< int >(val2
);
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 (arg1
)->SetStyle(arg2
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= SWIG_Py_Void();
24592 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24593 PyObject
*resultobj
= 0;
24594 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24598 PyObject
*swig_obj
[1] ;
24600 if (!args
) SWIG_fail
;
24601 swig_obj
[0] = args
;
24602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24603 if (!SWIG_IsOK(res1
)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24606 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= SWIG_From_int(static_cast< int >(result
));
24620 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24623 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24624 return SWIG_Py_Void();
24627 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24628 return SWIG_Python_InitShadowInstance(args
);
24631 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
= 0;
24633 wxWindow
*arg1
= (wxWindow
*) 0 ;
24634 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24635 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24636 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24637 wxBufferedPaintDC
*result
= 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 char * kwnames
[] = {
24648 (char *) "window",(char *) "buffer",(char *) "style", NULL
24651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24659 if (!SWIG_IsOK(res2
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24665 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24669 if (!SWIG_IsOK(ecode3
)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24672 arg3
= static_cast< int >(val3
);
24675 if (!wxPyCheckForApp()) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24688 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24691 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24692 return SWIG_Py_Void();
24695 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24696 return SWIG_Python_InitShadowInstance(args
);
24699 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxWindow
*arg1
= (wxWindow
*) 0 ;
24702 wxAutoBufferedPaintDC
*result
= 0 ;
24705 PyObject
* obj0
= 0 ;
24706 char * kwnames
[] = {
24707 (char *) "win", NULL
24710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24712 if (!SWIG_IsOK(res1
)) {
24713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24715 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24729 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24732 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24733 return SWIG_Py_Void();
24736 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24737 return SWIG_Python_InitShadowInstance(args
);
24740 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
= 0;
24742 wxWindow
*arg1
= (wxWindow
*) 0 ;
24746 PyObject
* obj0
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "window", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24772 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
= 0;
24776 wxMirrorDC
*result
= 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char * kwnames
[] = {
24784 (char *) "dc",(char *) "mirror", NULL
24787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24788 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24789 if (!SWIG_IsOK(res1
)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24796 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24797 if (!SWIG_IsOK(ecode2
)) {
24798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24800 arg2
= static_cast< bool >(val2
);
24802 if (!wxPyCheckForApp()) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24815 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24818 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24819 return SWIG_Py_Void();
24822 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24823 return SWIG_Python_InitShadowInstance(args
);
24826 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
= 0;
24828 wxPrintData
*arg1
= 0 ;
24829 wxPostScriptDC
*result
= 0 ;
24832 PyObject
* obj0
= 0 ;
24833 char * kwnames
[] = {
24834 (char *) "printData", NULL
24837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24838 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24845 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24847 if (!wxPyCheckForApp()) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24860 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24861 PyObject
*resultobj
= 0;
24862 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24863 wxPrintData
*result
= 0 ;
24866 PyObject
*swig_obj
[1] ;
24868 if (!args
) SWIG_fail
;
24869 swig_obj
[0] = args
;
24870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24871 if (!SWIG_IsOK(res1
)) {
24872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24874 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24879 result
= (wxPrintData
*) &_result_ref
;
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24891 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= 0;
24893 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24894 wxPrintData
*arg2
= 0 ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char * kwnames
[] = {
24902 (char *) "self",(char *) "data", NULL
24905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24907 if (!SWIG_IsOK(res1
)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24910 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24912 if (!SWIG_IsOK(res2
)) {
24913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24918 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= SWIG_Py_Void();
24932 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
= 0;
24937 PyObject
* obj0
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "ppi", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24944 if (!SWIG_IsOK(ecode1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24947 arg1
= static_cast< int >(val1
);
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 wxPostScriptDC::SetResolution(arg1
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_Py_Void();
24961 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24962 PyObject
*resultobj
= 0;
24965 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (int)wxPostScriptDC::GetResolution();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_From_int(static_cast< int >(result
));
24979 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24982 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24983 return SWIG_Py_Void();
24986 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24987 return SWIG_Python_InitShadowInstance(args
);
24990 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24991 PyObject
*resultobj
= 0;
24992 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24993 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24994 wxMetaFile
*result
= 0 ;
24995 bool temp1
= false ;
24996 PyObject
* obj0
= 0 ;
24997 char * kwnames
[] = {
24998 (char *) "filename", NULL
25001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25004 arg1
= wxString_in_helper(obj0
);
25005 if (arg1
== NULL
) SWIG_fail
;
25010 if (!wxPyCheckForApp()) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25031 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25032 PyObject
*resultobj
= 0;
25033 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25036 PyObject
*swig_obj
[1] ;
25038 if (!args
) SWIG_fail
;
25039 swig_obj
[0] = args
;
25040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25041 if (!SWIG_IsOK(res1
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25044 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_Py_Void();
25059 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25060 PyObject
*resultobj
= 0;
25061 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25065 PyObject
*swig_obj
[1] ;
25067 if (!args
) SWIG_fail
;
25068 swig_obj
[0] = args
;
25069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25070 if (!SWIG_IsOK(res1
)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25073 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (bool)(arg1
)->IsOk();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25089 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
= 0;
25091 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25092 int arg2
= (int) 0 ;
25093 int arg3
= (int) 0 ;
25101 PyObject
* obj0
= 0 ;
25102 PyObject
* obj1
= 0 ;
25103 PyObject
* obj2
= 0 ;
25104 char * kwnames
[] = {
25105 (char *) "self",(char *) "width",(char *) "height", NULL
25108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25113 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25116 if (!SWIG_IsOK(ecode2
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25119 arg2
= static_cast< int >(val2
);
25122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25123 if (!SWIG_IsOK(ecode3
)) {
25124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25126 arg3
= static_cast< int >(val3
);
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25143 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 PyObject
*resultobj
= 0;
25145 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25149 PyObject
*swig_obj
[1] ;
25151 if (!args
) SWIG_fail
;
25152 swig_obj
[0] = args
;
25153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25157 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (arg1
)->GetSize();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25171 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25172 PyObject
*resultobj
= 0;
25173 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25177 PyObject
*swig_obj
[1] ;
25179 if (!args
) SWIG_fail
;
25180 swig_obj
[0] = args
;
25181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25182 if (!SWIG_IsOK(res1
)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25185 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (int)(arg1
)->GetWidth();
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_From_int(static_cast< int >(result
));
25199 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25205 PyObject
*swig_obj
[1] ;
25207 if (!args
) SWIG_fail
;
25208 swig_obj
[0] = args
;
25209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25213 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (int)(arg1
)->GetHeight();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_From_int(static_cast< int >(result
));
25227 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25230 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25231 return SWIG_Py_Void();
25234 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25235 return SWIG_Python_InitShadowInstance(args
);
25238 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
= 0;
25240 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25241 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25242 int arg2
= (int) 0 ;
25243 int arg3
= (int) 0 ;
25244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25246 wxMetaFileDC
*result
= 0 ;
25247 bool temp1
= false ;
25252 bool temp4
= false ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 PyObject
* obj2
= 0 ;
25256 PyObject
* obj3
= 0 ;
25257 char * kwnames
[] = {
25258 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25264 arg1
= wxString_in_helper(obj0
);
25265 if (arg1
== NULL
) SWIG_fail
;
25270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25271 if (!SWIG_IsOK(ecode2
)) {
25272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25274 arg2
= static_cast< int >(val2
);
25277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25278 if (!SWIG_IsOK(ecode3
)) {
25279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25281 arg3
= static_cast< int >(val3
);
25285 arg4
= wxString_in_helper(obj3
);
25286 if (arg4
== NULL
) SWIG_fail
;
25291 if (!wxPyCheckForApp()) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25320 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25321 PyObject
*resultobj
= 0;
25322 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25323 wxMetaFile
*result
= 0 ;
25326 PyObject
*swig_obj
[1] ;
25328 if (!args
) SWIG_fail
;
25329 swig_obj
[0] = args
;
25330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25334 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (wxMetaFile
*)(arg1
)->Close();
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25348 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25351 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25352 return SWIG_Py_Void();
25355 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 return SWIG_Python_InitShadowInstance(args
);
25359 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
= 0;
25361 wxPrintData
*arg1
= 0 ;
25362 wxPrinterDC
*result
= 0 ;
25365 PyObject
* obj0
= 0 ;
25366 char * kwnames
[] = {
25367 (char *) "printData", NULL
25370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25372 if (!SWIG_IsOK(res1
)) {
25373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25378 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25380 if (!wxPyCheckForApp()) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25393 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25396 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25397 return SWIG_Py_Void();
25400 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25401 return SWIG_Python_InitShadowInstance(args
);
25404 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
= 0;
25406 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25407 wxGraphicsObject
*result
= 0 ;
25410 PyObject
* obj0
= 0 ;
25411 char * kwnames
[] = {
25412 (char *) "renderer", NULL
25415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25418 if (!SWIG_IsOK(res1
)) {
25419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25421 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25424 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25434 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25435 PyObject
*resultobj
= 0;
25436 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25439 PyObject
*swig_obj
[1] ;
25441 if (!args
) SWIG_fail
;
25442 swig_obj
[0] = args
;
25443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25444 if (!SWIG_IsOK(res1
)) {
25445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25447 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_Py_Void();
25460 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25461 PyObject
*resultobj
= 0;
25462 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25466 PyObject
*swig_obj
[1] ;
25468 if (!args
) SWIG_fail
;
25469 swig_obj
[0] = args
;
25470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25474 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25476 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25477 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25488 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25489 PyObject
*resultobj
= 0;
25490 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25491 wxGraphicsRenderer
*result
= 0 ;
25494 PyObject
*swig_obj
[1] ;
25496 if (!args
) SWIG_fail
;
25497 swig_obj
[0] = args
;
25498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25499 if (!SWIG_IsOK(res1
)) {
25500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25502 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25504 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25514 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25517 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25518 return SWIG_Py_Void();
25521 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25522 return SWIG_Python_InitShadowInstance(args
);
25525 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 PyObject
*resultobj
= 0;
25527 wxGraphicsPen
*result
= 0 ;
25529 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25531 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25541 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25542 PyObject
*resultobj
= 0;
25543 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25546 PyObject
*swig_obj
[1] ;
25548 if (!args
) SWIG_fail
;
25549 swig_obj
[0] = args
;
25550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25551 if (!SWIG_IsOK(res1
)) {
25552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25554 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_Py_Void();
25567 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25570 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25571 return SWIG_Py_Void();
25574 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25575 return SWIG_Python_InitShadowInstance(args
);
25578 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25579 PyObject
*resultobj
= 0;
25580 wxGraphicsBrush
*result
= 0 ;
25582 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25584 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25594 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25595 PyObject
*resultobj
= 0;
25596 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 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_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25604 if (!SWIG_IsOK(res1
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25607 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= SWIG_Py_Void();
25620 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25623 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25624 return SWIG_Py_Void();
25627 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25628 return SWIG_Python_InitShadowInstance(args
);
25631 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25632 PyObject
*resultobj
= 0;
25633 wxGraphicsFont
*result
= 0 ;
25635 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25637 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25647 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 PyObject
*resultobj
= 0;
25649 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25652 PyObject
*swig_obj
[1] ;
25654 if (!args
) SWIG_fail
;
25655 swig_obj
[0] = args
;
25656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25657 if (!SWIG_IsOK(res1
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25660 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_Py_Void();
25673 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25676 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25677 return SWIG_Py_Void();
25680 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 return SWIG_Python_InitShadowInstance(args
);
25684 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25685 PyObject
*resultobj
= 0;
25686 wxGraphicsMatrix
*result
= 0 ;
25688 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25690 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25700 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25701 PyObject
*resultobj
= 0;
25702 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25705 PyObject
*swig_obj
[1] ;
25707 if (!args
) SWIG_fail
;
25708 swig_obj
[0] = args
;
25709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25713 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_Py_Void();
25726 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
= 0;
25728 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25729 wxGraphicsMatrix
*arg2
= 0 ;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 char * kwnames
[] = {
25737 (char *) "self",(char *) "t", NULL
25740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25742 if (!SWIG_IsOK(res1
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25745 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25747 if (!SWIG_IsOK(res2
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25753 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25755 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_Py_Void();
25765 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
= 0;
25767 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25768 wxDouble arg2
= (wxDouble
) 1.0 ;
25769 wxDouble arg3
= (wxDouble
) 0.0 ;
25770 wxDouble arg4
= (wxDouble
) 0.0 ;
25771 wxDouble arg5
= (wxDouble
) 1.0 ;
25772 wxDouble arg6
= (wxDouble
) 0.0 ;
25773 wxDouble arg7
= (wxDouble
) 0.0 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 PyObject
* obj2
= 0 ;
25791 PyObject
* obj3
= 0 ;
25792 PyObject
* obj4
= 0 ;
25793 PyObject
* obj5
= 0 ;
25794 PyObject
* obj6
= 0 ;
25795 char * kwnames
[] = {
25796 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25804 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25806 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25807 if (!SWIG_IsOK(ecode2
)) {
25808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25810 arg2
= static_cast< wxDouble
>(val2
);
25813 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25814 if (!SWIG_IsOK(ecode3
)) {
25815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25817 arg3
= static_cast< wxDouble
>(val3
);
25820 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25821 if (!SWIG_IsOK(ecode4
)) {
25822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25824 arg4
= static_cast< wxDouble
>(val4
);
25827 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25828 if (!SWIG_IsOK(ecode5
)) {
25829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25831 arg5
= static_cast< wxDouble
>(val5
);
25834 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25835 if (!SWIG_IsOK(ecode6
)) {
25836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25838 arg6
= static_cast< wxDouble
>(val6
);
25841 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25842 if (!SWIG_IsOK(ecode7
)) {
25843 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25845 arg7
= static_cast< wxDouble
>(val7
);
25848 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_Py_Void();
25858 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25859 PyObject
*resultobj
= 0;
25860 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25861 wxDouble
*arg2
= (wxDouble
*) 0 ;
25862 wxDouble
*arg3
= (wxDouble
*) 0 ;
25863 wxDouble
*arg4
= (wxDouble
*) 0 ;
25864 wxDouble
*arg5
= (wxDouble
*) 0 ;
25865 wxDouble
*arg6
= (wxDouble
*) 0 ;
25866 wxDouble
*arg7
= (wxDouble
*) 0 ;
25870 int res2
= SWIG_TMPOBJ
;
25872 int res3
= SWIG_TMPOBJ
;
25874 int res4
= SWIG_TMPOBJ
;
25876 int res5
= SWIG_TMPOBJ
;
25878 int res6
= SWIG_TMPOBJ
;
25880 int res7
= SWIG_TMPOBJ
;
25881 PyObject
*swig_obj
[1] ;
25889 if (!args
) SWIG_fail
;
25890 swig_obj
[0] = args
;
25891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25892 if (!SWIG_IsOK(res1
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25895 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25897 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_Py_Void();
25901 if (SWIG_IsTmpObj(res2
)) {
25902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25904 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25907 if (SWIG_IsTmpObj(res3
)) {
25908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25910 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25913 if (SWIG_IsTmpObj(res4
)) {
25914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25916 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25919 if (SWIG_IsTmpObj(res5
)) {
25920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25922 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25925 if (SWIG_IsTmpObj(res6
)) {
25926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25928 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25931 if (SWIG_IsTmpObj(res7
)) {
25932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25934 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25943 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25944 PyObject
*resultobj
= 0;
25945 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25948 PyObject
*swig_obj
[1] ;
25950 if (!args
) SWIG_fail
;
25951 swig_obj
[0] = args
;
25952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25956 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_Py_Void();
25968 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
= 0;
25970 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25971 wxGraphicsMatrix
*arg2
= 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char * kwnames
[] = {
25980 (char *) "self",(char *) "t", NULL
25983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25985 if (!SWIG_IsOK(res1
)) {
25986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25988 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25989 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25990 if (!SWIG_IsOK(res2
)) {
25991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25996 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25998 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26010 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26011 PyObject
*resultobj
= 0;
26012 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26016 PyObject
*swig_obj
[1] ;
26018 if (!args
) SWIG_fail
;
26019 swig_obj
[0] = args
;
26020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26021 if (!SWIG_IsOK(res1
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26024 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26026 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26027 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26038 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
= 0;
26040 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 PyObject
* obj2
= 0 ;
26052 char * kwnames
[] = {
26053 (char *) "self",(char *) "dx",(char *) "dy", NULL
26056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26058 if (!SWIG_IsOK(res1
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26061 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26062 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26063 if (!SWIG_IsOK(ecode2
)) {
26064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26066 arg2
= static_cast< wxDouble
>(val2
);
26067 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26068 if (!SWIG_IsOK(ecode3
)) {
26069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26071 arg3
= static_cast< wxDouble
>(val3
);
26073 (arg1
)->Translate(arg2
,arg3
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_Py_Void();
26083 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
= 0;
26085 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 PyObject
* obj2
= 0 ;
26097 char * kwnames
[] = {
26098 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26103 if (!SWIG_IsOK(res1
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26106 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26107 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26108 if (!SWIG_IsOK(ecode2
)) {
26109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26111 arg2
= static_cast< wxDouble
>(val2
);
26112 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26113 if (!SWIG_IsOK(ecode3
)) {
26114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26116 arg3
= static_cast< wxDouble
>(val3
);
26118 (arg1
)->Scale(arg2
,arg3
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_Py_Void();
26128 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
= 0;
26130 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char * kwnames
[] = {
26139 (char *) "self",(char *) "angle", NULL
26142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26147 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26148 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26149 if (!SWIG_IsOK(ecode2
)) {
26150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26152 arg2
= static_cast< wxDouble
>(val2
);
26154 (arg1
)->Rotate(arg2
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_Py_Void();
26164 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
= 0;
26166 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26167 wxDouble
*arg2
= (wxDouble
*) 0 ;
26168 wxDouble
*arg3
= (wxDouble
*) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 PyObject
* obj1
= 0 ;
26177 PyObject
* obj2
= 0 ;
26178 char * kwnames
[] = {
26179 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26187 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26188 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26190 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26191 if (!SWIG_IsOK(ecode
)) {
26192 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26194 temp2
= static_cast< wxDouble
>(val
);
26196 res2
= SWIG_AddTmpMask(ecode
);
26198 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26200 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26201 if (!SWIG_IsOK(ecode
)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26204 temp3
= static_cast< wxDouble
>(val
);
26206 res3
= SWIG_AddTmpMask(ecode
);
26209 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26213 if (SWIG_IsTmpObj(res2
)) {
26214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26216 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26219 if (SWIG_IsTmpObj(res3
)) {
26220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26222 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26231 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
= 0;
26233 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26234 wxDouble
*arg2
= (wxDouble
*) 0 ;
26235 wxDouble
*arg3
= (wxDouble
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 PyObject
* obj2
= 0 ;
26245 char * kwnames
[] = {
26246 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26254 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26255 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26257 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26258 if (!SWIG_IsOK(ecode
)) {
26259 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26261 temp2
= static_cast< wxDouble
>(val
);
26263 res2
= SWIG_AddTmpMask(ecode
);
26265 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26267 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26268 if (!SWIG_IsOK(ecode
)) {
26269 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26271 temp3
= static_cast< wxDouble
>(val
);
26273 res3
= SWIG_AddTmpMask(ecode
);
26276 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_Py_Void();
26280 if (SWIG_IsTmpObj(res2
)) {
26281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26283 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26286 if (SWIG_IsTmpObj(res3
)) {
26287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26289 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26298 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26299 PyObject
*resultobj
= 0;
26300 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26304 PyObject
*swig_obj
[1] ;
26306 if (!args
) SWIG_fail
;
26307 swig_obj
[0] = args
;
26308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26312 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26314 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26324 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26327 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26328 return SWIG_Py_Void();
26331 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26332 return SWIG_Python_InitShadowInstance(args
);
26335 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26336 PyObject
*resultobj
= 0;
26337 wxGraphicsPath
*result
= 0 ;
26339 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26341 if (!wxPyCheckForApp()) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26354 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26355 PyObject
*resultobj
= 0;
26356 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26359 PyObject
*swig_obj
[1] ;
26361 if (!args
) SWIG_fail
;
26362 swig_obj
[0] = args
;
26363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26364 if (!SWIG_IsOK(res1
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26367 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26380 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26381 PyObject
*resultobj
= 0;
26382 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26392 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26397 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26398 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26399 if (!SWIG_IsOK(ecode2
)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26402 arg2
= static_cast< wxDouble
>(val2
);
26403 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26404 if (!SWIG_IsOK(ecode3
)) {
26405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26407 arg3
= static_cast< wxDouble
>(val3
);
26409 (arg1
)->MoveToPoint(arg2
,arg3
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_Py_Void();
26419 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26420 PyObject
*resultobj
= 0;
26421 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26422 wxPoint2D
*arg2
= 0 ;
26427 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26429 if (!SWIG_IsOK(res1
)) {
26430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26432 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26435 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26438 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_Py_Void();
26448 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26452 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26455 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26458 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26462 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26467 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26468 PyObject
*resultobj
= 0;
26469 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26479 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26481 if (!SWIG_IsOK(res1
)) {
26482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26484 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26485 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26486 if (!SWIG_IsOK(ecode2
)) {
26487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26489 arg2
= static_cast< wxDouble
>(val2
);
26490 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26491 if (!SWIG_IsOK(ecode3
)) {
26492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26494 arg3
= static_cast< wxDouble
>(val3
);
26496 (arg1
)->AddLineToPoint(arg2
,arg3
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= SWIG_Py_Void();
26506 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26507 PyObject
*resultobj
= 0;
26508 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26509 wxPoint2D
*arg2
= 0 ;
26514 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26516 if (!SWIG_IsOK(res1
)) {
26517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26519 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26522 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26525 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= SWIG_Py_Void();
26535 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26539 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26542 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26545 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26549 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26554 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26555 PyObject
*resultobj
= 0;
26556 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26578 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26583 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26584 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26585 if (!SWIG_IsOK(ecode2
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26588 arg2
= static_cast< wxDouble
>(val2
);
26589 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26590 if (!SWIG_IsOK(ecode3
)) {
26591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26593 arg3
= static_cast< wxDouble
>(val3
);
26594 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26595 if (!SWIG_IsOK(ecode4
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26598 arg4
= static_cast< wxDouble
>(val4
);
26599 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26600 if (!SWIG_IsOK(ecode5
)) {
26601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26603 arg5
= static_cast< wxDouble
>(val5
);
26604 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26605 if (!SWIG_IsOK(ecode6
)) {
26606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26608 arg6
= static_cast< wxDouble
>(val6
);
26609 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26610 if (!SWIG_IsOK(ecode7
)) {
26611 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26613 arg7
= static_cast< wxDouble
>(val7
);
26615 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_Py_Void();
26625 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26626 PyObject
*resultobj
= 0;
26627 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26628 wxPoint2D
*arg2
= 0 ;
26629 wxPoint2D
*arg3
= 0 ;
26630 wxPoint2D
*arg4
= 0 ;
26637 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26642 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26645 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26649 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26653 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26656 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= SWIG_Py_Void();
26666 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26670 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26673 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26676 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26680 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26685 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
= 0;
26687 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26688 wxGraphicsPath
*arg2
= 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char * kwnames
[] = {
26696 (char *) "self",(char *) "path", NULL
26699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26704 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26706 if (!SWIG_IsOK(res2
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26712 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26714 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= SWIG_Py_Void();
26724 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26725 PyObject
*resultobj
= 0;
26726 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26729 PyObject
*swig_obj
[1] ;
26731 if (!args
) SWIG_fail
;
26732 swig_obj
[0] = args
;
26733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26734 if (!SWIG_IsOK(res1
)) {
26735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26737 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26739 (arg1
)->CloseSubpath();
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= SWIG_Py_Void();
26749 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 PyObject
*resultobj
= 0;
26751 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26755 PyObject
*swig_obj
[1] ;
26757 if (!args
) SWIG_fail
;
26758 swig_obj
[0] = args
;
26759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26763 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26765 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26775 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26776 PyObject
*resultobj
= 0;
26777 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26783 bool arg7
= (bool) true ;
26799 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
26800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26804 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26805 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26806 if (!SWIG_IsOK(ecode2
)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26809 arg2
= static_cast< wxDouble
>(val2
);
26810 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26811 if (!SWIG_IsOK(ecode3
)) {
26812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26814 arg3
= static_cast< wxDouble
>(val3
);
26815 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26816 if (!SWIG_IsOK(ecode4
)) {
26817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26819 arg4
= static_cast< wxDouble
>(val4
);
26820 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26821 if (!SWIG_IsOK(ecode5
)) {
26822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26824 arg5
= static_cast< wxDouble
>(val5
);
26825 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26826 if (!SWIG_IsOK(ecode6
)) {
26827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26829 arg6
= static_cast< wxDouble
>(val6
);
26831 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26832 if (!SWIG_IsOK(ecode7
)) {
26833 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26835 arg7
= static_cast< bool >(val7
);
26838 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= SWIG_Py_Void();
26848 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26849 PyObject
*resultobj
= 0;
26850 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26851 wxPoint2D
*arg2
= 0 ;
26855 bool arg6
= (bool) true ;
26868 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
26869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26870 if (!SWIG_IsOK(res1
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26873 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26876 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26878 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26879 if (!SWIG_IsOK(ecode3
)) {
26880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26882 arg3
= static_cast< wxDouble
>(val3
);
26883 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26884 if (!SWIG_IsOK(ecode4
)) {
26885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26887 arg4
= static_cast< wxDouble
>(val4
);
26888 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26889 if (!SWIG_IsOK(ecode5
)) {
26890 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26892 arg5
= static_cast< wxDouble
>(val5
);
26894 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26895 if (!SWIG_IsOK(ecode6
)) {
26896 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26898 arg6
= static_cast< bool >(val6
);
26901 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= SWIG_Py_Void();
26911 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26915 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26917 if ((argc
>= 5) && (argc
<= 6)) {
26921 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
26924 if (!_v
) goto check_1
;
26928 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
26929 _v
= SWIG_CheckState(res
);
26932 if (!_v
) goto check_1
;
26934 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26938 if ((argc
>= 6) && (argc
<= 7)) {
26939 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26943 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26948 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
= 0;
26950 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26965 PyObject
* obj0
= 0 ;
26966 PyObject
* obj1
= 0 ;
26967 PyObject
* obj2
= 0 ;
26968 PyObject
* obj3
= 0 ;
26969 PyObject
* obj4
= 0 ;
26970 char * kwnames
[] = {
26971 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26979 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26980 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26981 if (!SWIG_IsOK(ecode2
)) {
26982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26984 arg2
= static_cast< wxDouble
>(val2
);
26985 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26986 if (!SWIG_IsOK(ecode3
)) {
26987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26989 arg3
= static_cast< wxDouble
>(val3
);
26990 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26991 if (!SWIG_IsOK(ecode4
)) {
26992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26994 arg4
= static_cast< wxDouble
>(val4
);
26995 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26996 if (!SWIG_IsOK(ecode5
)) {
26997 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26999 arg5
= static_cast< wxDouble
>(val5
);
27001 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= SWIG_Py_Void();
27011 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
= 0;
27013 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 PyObject
* obj2
= 0 ;
27031 PyObject
* obj3
= 0 ;
27032 PyObject
* obj4
= 0 ;
27033 char * kwnames
[] = {
27034 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27039 if (!SWIG_IsOK(res1
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27042 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27043 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27044 if (!SWIG_IsOK(ecode2
)) {
27045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27047 arg2
= static_cast< wxDouble
>(val2
);
27048 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27049 if (!SWIG_IsOK(ecode3
)) {
27050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27052 arg3
= static_cast< wxDouble
>(val3
);
27053 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27054 if (!SWIG_IsOK(ecode4
)) {
27055 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27057 arg4
= static_cast< wxDouble
>(val4
);
27058 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27059 if (!SWIG_IsOK(ecode5
)) {
27060 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27062 arg5
= static_cast< wxDouble
>(val5
);
27064 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_Py_Void();
27074 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
= 0;
27076 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 PyObject
* obj2
= 0 ;
27091 PyObject
* obj3
= 0 ;
27092 char * kwnames
[] = {
27093 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27101 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27102 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27103 if (!SWIG_IsOK(ecode2
)) {
27104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27106 arg2
= static_cast< wxDouble
>(val2
);
27107 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27108 if (!SWIG_IsOK(ecode3
)) {
27109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27111 arg3
= static_cast< wxDouble
>(val3
);
27112 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27113 if (!SWIG_IsOK(ecode4
)) {
27114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27116 arg4
= static_cast< wxDouble
>(val4
);
27118 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= SWIG_Py_Void();
27128 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
= 0;
27130 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 PyObject
* obj2
= 0 ;
27151 PyObject
* obj3
= 0 ;
27152 PyObject
* obj4
= 0 ;
27153 PyObject
* obj5
= 0 ;
27154 char * kwnames
[] = {
27155 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27160 if (!SWIG_IsOK(res1
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27163 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27164 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27165 if (!SWIG_IsOK(ecode2
)) {
27166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27168 arg2
= static_cast< wxDouble
>(val2
);
27169 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27170 if (!SWIG_IsOK(ecode3
)) {
27171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27173 arg3
= static_cast< wxDouble
>(val3
);
27174 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27175 if (!SWIG_IsOK(ecode4
)) {
27176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27178 arg4
= static_cast< wxDouble
>(val4
);
27179 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27180 if (!SWIG_IsOK(ecode5
)) {
27181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27183 arg5
= static_cast< wxDouble
>(val5
);
27184 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27185 if (!SWIG_IsOK(ecode6
)) {
27186 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27188 arg6
= static_cast< wxDouble
>(val6
);
27190 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= SWIG_Py_Void();
27200 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
= 0;
27202 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27217 PyObject
* obj0
= 0 ;
27218 PyObject
* obj1
= 0 ;
27219 PyObject
* obj2
= 0 ;
27220 PyObject
* obj3
= 0 ;
27221 PyObject
* obj4
= 0 ;
27222 char * kwnames
[] = {
27223 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27228 if (!SWIG_IsOK(res1
)) {
27229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27231 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27232 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27233 if (!SWIG_IsOK(ecode2
)) {
27234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27236 arg2
= static_cast< wxDouble
>(val2
);
27237 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27238 if (!SWIG_IsOK(ecode3
)) {
27239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27241 arg3
= static_cast< wxDouble
>(val3
);
27242 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27243 if (!SWIG_IsOK(ecode4
)) {
27244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27246 arg4
= static_cast< wxDouble
>(val4
);
27247 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27248 if (!SWIG_IsOK(ecode5
)) {
27249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27251 arg5
= static_cast< wxDouble
>(val5
);
27253 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_Py_Void();
27263 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
= 0;
27265 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 PyObject
* obj5
= 0 ;
27289 char * kwnames
[] = {
27290 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27298 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27299 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27300 if (!SWIG_IsOK(ecode2
)) {
27301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27303 arg2
= static_cast< wxDouble
>(val2
);
27304 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27305 if (!SWIG_IsOK(ecode3
)) {
27306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27308 arg3
= static_cast< wxDouble
>(val3
);
27309 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27310 if (!SWIG_IsOK(ecode4
)) {
27311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27313 arg4
= static_cast< wxDouble
>(val4
);
27314 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27315 if (!SWIG_IsOK(ecode5
)) {
27316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27318 arg5
= static_cast< wxDouble
>(val5
);
27319 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27320 if (!SWIG_IsOK(ecode6
)) {
27321 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27323 arg6
= static_cast< wxDouble
>(val6
);
27325 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 resultobj
= SWIG_Py_Void();
27335 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27336 PyObject
*resultobj
= 0;
27337 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27341 PyObject
*swig_obj
[1] ;
27343 if (!args
) SWIG_fail
;
27344 swig_obj
[0] = args
;
27345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27346 if (!SWIG_IsOK(res1
)) {
27347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27349 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27351 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27361 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
= 0;
27363 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27364 void *arg2
= (void *) 0 ;
27368 PyObject
* obj0
= 0 ;
27369 PyObject
* obj1
= 0 ;
27370 char * kwnames
[] = {
27371 (char *) "self",(char *) "p", NULL
27374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27376 if (!SWIG_IsOK(res1
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27379 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27380 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27381 if (!SWIG_IsOK(res2
)) {
27382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27385 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= SWIG_Py_Void();
27395 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
= 0;
27397 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27398 wxGraphicsMatrix
*arg2
= 0 ;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 char * kwnames
[] = {
27406 (char *) "self",(char *) "matrix", NULL
27409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27411 if (!SWIG_IsOK(res1
)) {
27412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27414 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27416 if (!SWIG_IsOK(res2
)) {
27417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27422 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27424 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_Py_Void();
27434 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27435 PyObject
*resultobj
= 0;
27436 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27440 PyObject
*swig_obj
[1] ;
27442 if (!args
) SWIG_fail
;
27443 swig_obj
[0] = args
;
27444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27445 if (!SWIG_IsOK(res1
)) {
27446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27448 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27450 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27460 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27461 PyObject
*resultobj
= 0;
27462 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27465 int arg4
= (int) wxODDEVEN_RULE
;
27476 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27481 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27482 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27483 if (!SWIG_IsOK(ecode2
)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27486 arg2
= static_cast< wxDouble
>(val2
);
27487 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27488 if (!SWIG_IsOK(ecode3
)) {
27489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27491 arg3
= static_cast< wxDouble
>(val3
);
27493 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27494 if (!SWIG_IsOK(ecode4
)) {
27495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27497 arg4
= static_cast< int >(val4
);
27500 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27512 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27513 PyObject
*resultobj
= 0;
27514 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27515 wxPoint2D
*arg2
= 0 ;
27516 int arg3
= (int) wxODDEVEN_RULE
;
27524 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27526 if (!SWIG_IsOK(res1
)) {
27527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27529 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27532 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27535 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27536 if (!SWIG_IsOK(ecode3
)) {
27537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27539 arg3
= static_cast< int >(val3
);
27542 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27554 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27558 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27560 if ((argc
>= 2) && (argc
<= 3)) {
27564 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27567 if (!_v
) goto check_1
;
27571 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27572 _v
= SWIG_CheckState(res
);
27575 if (!_v
) goto check_1
;
27577 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27581 if ((argc
>= 3) && (argc
<= 4)) {
27582 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27586 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27591 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27594 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27595 return SWIG_Py_Void();
27598 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27599 return SWIG_Python_InitShadowInstance(args
);
27602 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27603 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27608 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27609 PyObject
*pyobj
= 0;
27611 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27616 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27617 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27622 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27623 PyObject
*pyobj
= 0;
27625 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27630 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27631 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27636 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27637 PyObject
*pyobj
= 0;
27639 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27644 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27645 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27650 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27651 PyObject
*pyobj
= 0;
27653 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27658 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27659 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27664 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27665 PyObject
*pyobj
= 0;
27667 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27672 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27677 PyObject
*swig_obj
[1] ;
27679 if (!args
) SWIG_fail
;
27680 swig_obj
[0] = args
;
27681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27685 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= SWIG_Py_Void();
27698 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27699 PyObject
*resultobj
= 0;
27700 wxWindowDC
*arg1
= 0 ;
27701 wxGraphicsContext
*result
= 0 ;
27705 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27707 if (!SWIG_IsOK(res1
)) {
27708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27713 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27715 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27725 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27726 PyObject
*resultobj
= 0;
27727 wxWindow
*arg1
= (wxWindow
*) 0 ;
27728 wxGraphicsContext
*result
= 0 ;
27732 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27739 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27749 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27753 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27758 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27759 _v
= SWIG_CheckState(res
);
27761 if (!_v
) goto check_1
;
27762 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27767 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27771 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27776 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27777 PyObject
*resultobj
= 0;
27778 wxGraphicsContext
*result
= 0 ;
27780 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27782 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27792 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
= 0;
27794 void *arg1
= (void *) 0 ;
27795 wxGraphicsContext
*result
= 0 ;
27797 PyObject
* obj0
= 0 ;
27798 char * kwnames
[] = {
27799 (char *) "context", NULL
27802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27803 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27808 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27818 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
= 0;
27820 void *arg1
= (void *) 0 ;
27821 wxGraphicsContext
*result
= 0 ;
27823 PyObject
* obj0
= 0 ;
27824 char * kwnames
[] = {
27825 (char *) "window", NULL
27828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27829 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27830 if (!SWIG_IsOK(res1
)) {
27831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27834 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27844 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27845 PyObject
*resultobj
= 0;
27846 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27847 wxGraphicsPath result
;
27850 PyObject
*swig_obj
[1] ;
27852 if (!args
) SWIG_fail
;
27853 swig_obj
[0] = args
;
27854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27855 if (!SWIG_IsOK(res1
)) {
27856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27858 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27860 result
= (arg1
)->CreatePath();
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27870 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
= 0;
27872 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27874 wxGraphicsPen result
;
27879 PyObject
* obj0
= 0 ;
27880 PyObject
* obj1
= 0 ;
27881 char * kwnames
[] = {
27882 (char *) "self",(char *) "pen", NULL
27885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27887 if (!SWIG_IsOK(res1
)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27890 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27892 if (!SWIG_IsOK(res2
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27898 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27900 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27910 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
= 0;
27912 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27913 wxBrush
*arg2
= 0 ;
27914 wxGraphicsBrush result
;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 char * kwnames
[] = {
27922 (char *) "self",(char *) "brush", NULL
27925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27930 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27932 if (!SWIG_IsOK(res2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27938 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27940 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27950 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
= 0;
27952 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27957 wxColour
*arg6
= 0 ;
27958 wxColour
*arg7
= 0 ;
27959 wxGraphicsBrush result
;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 PyObject
* obj2
= 0 ;
27975 PyObject
* obj3
= 0 ;
27976 PyObject
* obj4
= 0 ;
27977 PyObject
* obj5
= 0 ;
27978 PyObject
* obj6
= 0 ;
27979 char * kwnames
[] = {
27980 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27988 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27989 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27990 if (!SWIG_IsOK(ecode2
)) {
27991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27993 arg2
= static_cast< wxDouble
>(val2
);
27994 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27995 if (!SWIG_IsOK(ecode3
)) {
27996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27998 arg3
= static_cast< wxDouble
>(val3
);
27999 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28000 if (!SWIG_IsOK(ecode4
)) {
28001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28003 arg4
= static_cast< wxDouble
>(val4
);
28004 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28005 if (!SWIG_IsOK(ecode5
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28008 arg5
= static_cast< wxDouble
>(val5
);
28011 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28015 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28018 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28021 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28028 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
= 0;
28030 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28036 wxColour
*arg7
= 0 ;
28037 wxColour
*arg8
= 0 ;
28038 wxGraphicsBrush result
;
28053 PyObject
* obj0
= 0 ;
28054 PyObject
* obj1
= 0 ;
28055 PyObject
* obj2
= 0 ;
28056 PyObject
* obj3
= 0 ;
28057 PyObject
* obj4
= 0 ;
28058 PyObject
* obj5
= 0 ;
28059 PyObject
* obj6
= 0 ;
28060 PyObject
* obj7
= 0 ;
28061 char * kwnames
[] = {
28062 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28070 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28071 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28072 if (!SWIG_IsOK(ecode2
)) {
28073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28075 arg2
= static_cast< wxDouble
>(val2
);
28076 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28077 if (!SWIG_IsOK(ecode3
)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28080 arg3
= static_cast< wxDouble
>(val3
);
28081 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28082 if (!SWIG_IsOK(ecode4
)) {
28083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28085 arg4
= static_cast< wxDouble
>(val4
);
28086 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28087 if (!SWIG_IsOK(ecode5
)) {
28088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28090 arg5
= static_cast< wxDouble
>(val5
);
28091 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28092 if (!SWIG_IsOK(ecode6
)) {
28093 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28095 arg6
= static_cast< wxDouble
>(val6
);
28098 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28102 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28105 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28115 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
= 0;
28117 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28119 wxColour
const &arg3_defvalue
= *wxBLACK
;
28120 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28121 wxGraphicsFont result
;
28127 PyObject
* obj0
= 0 ;
28128 PyObject
* obj1
= 0 ;
28129 PyObject
* obj2
= 0 ;
28130 char * kwnames
[] = {
28131 (char *) "self",(char *) "font",(char *) "col", NULL
28134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28139 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28141 if (!SWIG_IsOK(res2
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28147 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28151 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28155 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28165 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
= 0;
28167 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28168 wxDouble arg2
= (wxDouble
) 1.0 ;
28169 wxDouble arg3
= (wxDouble
) 0.0 ;
28170 wxDouble arg4
= (wxDouble
) 0.0 ;
28171 wxDouble arg5
= (wxDouble
) 1.0 ;
28172 wxDouble arg6
= (wxDouble
) 0.0 ;
28173 wxDouble arg7
= (wxDouble
) 0.0 ;
28174 wxGraphicsMatrix result
;
28189 PyObject
* obj0
= 0 ;
28190 PyObject
* obj1
= 0 ;
28191 PyObject
* obj2
= 0 ;
28192 PyObject
* obj3
= 0 ;
28193 PyObject
* obj4
= 0 ;
28194 PyObject
* obj5
= 0 ;
28195 PyObject
* obj6
= 0 ;
28196 char * kwnames
[] = {
28197 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28205 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28207 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28208 if (!SWIG_IsOK(ecode2
)) {
28209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28211 arg2
= static_cast< wxDouble
>(val2
);
28214 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28215 if (!SWIG_IsOK(ecode3
)) {
28216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28218 arg3
= static_cast< wxDouble
>(val3
);
28221 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28222 if (!SWIG_IsOK(ecode4
)) {
28223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28225 arg4
= static_cast< wxDouble
>(val4
);
28228 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28229 if (!SWIG_IsOK(ecode5
)) {
28230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28232 arg5
= static_cast< wxDouble
>(val5
);
28235 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28236 if (!SWIG_IsOK(ecode6
)) {
28237 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28239 arg6
= static_cast< wxDouble
>(val6
);
28242 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28243 if (!SWIG_IsOK(ecode7
)) {
28244 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28246 arg7
= static_cast< wxDouble
>(val7
);
28249 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28259 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28260 PyObject
*resultobj
= 0;
28261 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28264 PyObject
*swig_obj
[1] ;
28266 if (!args
) SWIG_fail
;
28267 swig_obj
[0] = args
;
28268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28269 if (!SWIG_IsOK(res1
)) {
28270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28272 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28274 (arg1
)->PushState();
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_Py_Void();
28284 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28289 PyObject
*swig_obj
[1] ;
28291 if (!args
) SWIG_fail
;
28292 swig_obj
[0] = args
;
28293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28294 if (!SWIG_IsOK(res1
)) {
28295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28297 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28299 (arg1
)->PopState();
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= SWIG_Py_Void();
28309 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
= 0;
28311 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28312 wxRegion
*arg2
= 0 ;
28317 PyObject
* obj0
= 0 ;
28318 PyObject
* obj1
= 0 ;
28319 char * kwnames
[] = {
28320 (char *) "self",(char *) "region", NULL
28323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28325 if (!SWIG_IsOK(res1
)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28328 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28329 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28330 if (!SWIG_IsOK(res2
)) {
28331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28336 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28338 (arg1
)->Clip((wxRegion
const &)*arg2
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= SWIG_Py_Void();
28348 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
= 0;
28350 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 PyObject
* obj2
= 0 ;
28368 PyObject
* obj3
= 0 ;
28369 PyObject
* obj4
= 0 ;
28370 char * kwnames
[] = {
28371 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28376 if (!SWIG_IsOK(res1
)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28379 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28380 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28381 if (!SWIG_IsOK(ecode2
)) {
28382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28384 arg2
= static_cast< wxDouble
>(val2
);
28385 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28386 if (!SWIG_IsOK(ecode3
)) {
28387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28389 arg3
= static_cast< wxDouble
>(val3
);
28390 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28391 if (!SWIG_IsOK(ecode4
)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28394 arg4
= static_cast< wxDouble
>(val4
);
28395 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28396 if (!SWIG_IsOK(ecode5
)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28399 arg5
= static_cast< wxDouble
>(val5
);
28401 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= SWIG_Py_Void();
28411 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28412 PyObject
*resultobj
= 0;
28413 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28416 PyObject
*swig_obj
[1] ;
28418 if (!args
) SWIG_fail
;
28419 swig_obj
[0] = args
;
28420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28424 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28426 (arg1
)->ResetClip();
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= SWIG_Py_Void();
28436 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28437 PyObject
*resultobj
= 0;
28438 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28442 PyObject
*swig_obj
[1] ;
28444 if (!args
) SWIG_fail
;
28445 swig_obj
[0] = args
;
28446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28447 if (!SWIG_IsOK(res1
)) {
28448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28450 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28452 result
= (void *)(arg1
)->GetNativeContext();
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28462 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28463 PyObject
*resultobj
= 0;
28464 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28468 PyObject
*swig_obj
[1] ;
28470 if (!args
) SWIG_fail
;
28471 swig_obj
[0] = args
;
28472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28473 if (!SWIG_IsOK(res1
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28476 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28478 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= SWIG_From_int(static_cast< int >(result
));
28488 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
= 0;
28490 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28497 PyObject
* obj0
= 0 ;
28498 PyObject
* obj1
= 0 ;
28499 char * kwnames
[] = {
28500 (char *) "self",(char *) "function", NULL
28503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28508 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28510 if (!SWIG_IsOK(ecode2
)) {
28511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28513 arg2
= static_cast< int >(val2
);
28515 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28527 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
= 0;
28529 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28538 PyObject
* obj0
= 0 ;
28539 PyObject
* obj1
= 0 ;
28540 PyObject
* obj2
= 0 ;
28541 char * kwnames
[] = {
28542 (char *) "self",(char *) "dx",(char *) "dy", NULL
28545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28547 if (!SWIG_IsOK(res1
)) {
28548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28550 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28551 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28552 if (!SWIG_IsOK(ecode2
)) {
28553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28555 arg2
= static_cast< wxDouble
>(val2
);
28556 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28557 if (!SWIG_IsOK(ecode3
)) {
28558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28560 arg3
= static_cast< wxDouble
>(val3
);
28562 (arg1
)->Translate(arg2
,arg3
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_Py_Void();
28572 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
= 0;
28574 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 PyObject
* obj2
= 0 ;
28586 char * kwnames
[] = {
28587 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28592 if (!SWIG_IsOK(res1
)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28595 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28596 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28597 if (!SWIG_IsOK(ecode2
)) {
28598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28600 arg2
= static_cast< wxDouble
>(val2
);
28601 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28602 if (!SWIG_IsOK(ecode3
)) {
28603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28605 arg3
= static_cast< wxDouble
>(val3
);
28607 (arg1
)->Scale(arg2
,arg3
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= SWIG_Py_Void();
28617 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28618 PyObject
*resultobj
= 0;
28619 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28625 PyObject
* obj0
= 0 ;
28626 PyObject
* obj1
= 0 ;
28627 char * kwnames
[] = {
28628 (char *) "self",(char *) "angle", NULL
28631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28633 if (!SWIG_IsOK(res1
)) {
28634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28636 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28637 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28638 if (!SWIG_IsOK(ecode2
)) {
28639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28641 arg2
= static_cast< wxDouble
>(val2
);
28643 (arg1
)->Rotate(arg2
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28653 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
= 0;
28655 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28656 wxGraphicsMatrix
*arg2
= 0 ;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 char * kwnames
[] = {
28664 (char *) "self",(char *) "matrix", NULL
28667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28669 if (!SWIG_IsOK(res1
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28672 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28674 if (!SWIG_IsOK(res2
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28680 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28682 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= SWIG_Py_Void();
28692 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
= 0;
28694 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28695 wxGraphicsMatrix
*arg2
= 0 ;
28700 PyObject
* obj0
= 0 ;
28701 PyObject
* obj1
= 0 ;
28702 char * kwnames
[] = {
28703 (char *) "self",(char *) "matrix", NULL
28706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28708 if (!SWIG_IsOK(res1
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28711 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28713 if (!SWIG_IsOK(res2
)) {
28714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28719 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28721 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= SWIG_Py_Void();
28731 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28732 PyObject
*resultobj
= 0;
28733 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28734 wxGraphicsMatrix result
;
28737 PyObject
*swig_obj
[1] ;
28739 if (!args
) SWIG_fail
;
28740 swig_obj
[0] = args
;
28741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28742 if (!SWIG_IsOK(res1
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28745 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28747 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28757 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28758 PyObject
*resultobj
= 0;
28759 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28760 wxGraphicsPen
*arg2
= 0 ;
28766 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28768 if (!SWIG_IsOK(res1
)) {
28769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28771 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28772 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28773 if (!SWIG_IsOK(res2
)) {
28774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28779 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28781 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28784 resultobj
= SWIG_Py_Void();
28791 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28792 PyObject
*resultobj
= 0;
28793 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28800 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28802 if (!SWIG_IsOK(res1
)) {
28803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28805 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28806 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28807 if (!SWIG_IsOK(res2
)) {
28808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28813 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28815 (arg1
)->SetPen((wxPen
const &)*arg2
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= SWIG_Py_Void();
28825 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28829 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28834 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28835 _v
= SWIG_CheckState(res
);
28837 if (!_v
) goto check_1
;
28838 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28843 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28847 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28852 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28853 PyObject
*resultobj
= 0;
28854 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28855 wxGraphicsBrush
*arg2
= 0 ;
28861 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28863 if (!SWIG_IsOK(res1
)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28866 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28867 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28868 if (!SWIG_IsOK(res2
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28874 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28876 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_Py_Void();
28886 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28887 PyObject
*resultobj
= 0;
28888 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28889 wxBrush
*arg2
= 0 ;
28895 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28897 if (!SWIG_IsOK(res1
)) {
28898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28900 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28901 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28902 if (!SWIG_IsOK(res2
)) {
28903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28908 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28910 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_Py_Void();
28920 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28924 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28929 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28930 _v
= SWIG_CheckState(res
);
28932 if (!_v
) goto check_1
;
28933 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28938 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28942 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28947 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28948 PyObject
*resultobj
= 0;
28949 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28950 wxGraphicsFont
*arg2
= 0 ;
28956 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28958 if (!SWIG_IsOK(res1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28961 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28962 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28963 if (!SWIG_IsOK(res2
)) {
28964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28969 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28971 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28974 resultobj
= SWIG_Py_Void();
28981 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28982 PyObject
*resultobj
= 0;
28983 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28985 wxColour
const &arg3_defvalue
= *wxBLACK
;
28986 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28993 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28995 if (!SWIG_IsOK(res1
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28998 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28999 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29000 if (!SWIG_IsOK(res2
)) {
29001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29006 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29010 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29014 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_Py_Void();
29024 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29028 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29033 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29034 _v
= SWIG_CheckState(res
);
29036 if (!_v
) goto check_1
;
29037 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29041 if ((argc
>= 2) && (argc
<= 3)) {
29042 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29046 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29051 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
= 0;
29053 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29054 wxGraphicsPath
*arg2
= 0 ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 char * kwnames
[] = {
29062 (char *) "self",(char *) "path", NULL
29065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29067 if (!SWIG_IsOK(res1
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29070 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29072 if (!SWIG_IsOK(res2
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29078 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29080 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= SWIG_Py_Void();
29090 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
= 0;
29092 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29093 wxGraphicsPath
*arg2
= 0 ;
29094 int arg3
= (int) wxODDEVEN_RULE
;
29101 PyObject
* obj0
= 0 ;
29102 PyObject
* obj1
= 0 ;
29103 PyObject
* obj2
= 0 ;
29104 char * kwnames
[] = {
29105 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29110 if (!SWIG_IsOK(res1
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29113 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29115 if (!SWIG_IsOK(res2
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29121 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29124 if (!SWIG_IsOK(ecode3
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29127 arg3
= static_cast< int >(val3
);
29130 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= SWIG_Py_Void();
29140 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
= 0;
29142 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29143 wxGraphicsPath
*arg2
= 0 ;
29144 int arg3
= (int) wxODDEVEN_RULE
;
29151 PyObject
* obj0
= 0 ;
29152 PyObject
* obj1
= 0 ;
29153 PyObject
* obj2
= 0 ;
29154 char * kwnames
[] = {
29155 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29160 if (!SWIG_IsOK(res1
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29163 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29165 if (!SWIG_IsOK(res2
)) {
29166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29171 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29174 if (!SWIG_IsOK(ecode3
)) {
29175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29177 arg3
= static_cast< int >(val3
);
29180 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_Py_Void();
29190 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
= 0;
29192 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29193 wxString
*arg2
= 0 ;
29196 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29197 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29200 bool temp2
= false ;
29207 PyObject
* obj0
= 0 ;
29208 PyObject
* obj1
= 0 ;
29209 PyObject
* obj2
= 0 ;
29210 PyObject
* obj3
= 0 ;
29211 PyObject
* obj4
= 0 ;
29212 char * kwnames
[] = {
29213 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29218 if (!SWIG_IsOK(res1
)) {
29219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29221 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29223 arg2
= wxString_in_helper(obj1
);
29224 if (arg2
== NULL
) SWIG_fail
;
29227 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29228 if (!SWIG_IsOK(ecode3
)) {
29229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29231 arg3
= static_cast< wxDouble
>(val3
);
29232 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29233 if (!SWIG_IsOK(ecode4
)) {
29234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29236 arg4
= static_cast< wxDouble
>(val4
);
29238 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29239 if (!SWIG_IsOK(res5
)) {
29240 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29245 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29248 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 resultobj
= SWIG_Py_Void();
29266 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
= 0;
29268 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29269 wxString
*arg2
= 0 ;
29273 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29274 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29277 bool temp2
= false ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 PyObject
* obj2
= 0 ;
29289 PyObject
* obj3
= 0 ;
29290 PyObject
* obj4
= 0 ;
29291 PyObject
* obj5
= 0 ;
29292 char * kwnames
[] = {
29293 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29301 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29303 arg2
= wxString_in_helper(obj1
);
29304 if (arg2
== NULL
) SWIG_fail
;
29307 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29308 if (!SWIG_IsOK(ecode3
)) {
29309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29311 arg3
= static_cast< wxDouble
>(val3
);
29312 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29313 if (!SWIG_IsOK(ecode4
)) {
29314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29316 arg4
= static_cast< wxDouble
>(val4
);
29317 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29318 if (!SWIG_IsOK(ecode5
)) {
29319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29321 arg5
= static_cast< wxDouble
>(val5
);
29323 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29324 if (!SWIG_IsOK(res6
)) {
29325 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29330 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29333 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= SWIG_Py_Void();
29351 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29354 wxString
*arg2
= 0 ;
29355 wxDouble
*arg3
= (wxDouble
*) 0 ;
29356 wxDouble
*arg4
= (wxDouble
*) 0 ;
29357 wxDouble
*arg5
= (wxDouble
*) 0 ;
29358 wxDouble
*arg6
= (wxDouble
*) 0 ;
29361 bool temp2
= false ;
29363 int res3
= SWIG_TMPOBJ
;
29365 int res4
= SWIG_TMPOBJ
;
29367 int res5
= SWIG_TMPOBJ
;
29369 int res6
= SWIG_TMPOBJ
;
29370 PyObject
* obj0
= 0 ;
29371 PyObject
* obj1
= 0 ;
29372 char * kwnames
[] = {
29373 (char *) "self",(char *) "text", NULL
29380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29382 if (!SWIG_IsOK(res1
)) {
29383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29385 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29387 arg2
= wxString_in_helper(obj1
);
29388 if (arg2
== NULL
) SWIG_fail
;
29392 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= SWIG_Py_Void();
29396 if (SWIG_IsTmpObj(res3
)) {
29397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29399 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29402 if (SWIG_IsTmpObj(res4
)) {
29403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29405 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29408 if (SWIG_IsTmpObj(res5
)) {
29409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29411 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29414 if (SWIG_IsTmpObj(res6
)) {
29415 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29417 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29418 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29434 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29435 PyObject
*resultobj
= 0;
29436 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29437 wxString
*arg2
= 0 ;
29438 PyObject
*result
= 0 ;
29441 bool temp2
= false ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char * kwnames
[] = {
29445 (char *) "self",(char *) "text", NULL
29448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29453 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29455 arg2
= wxString_in_helper(obj1
);
29456 if (arg2
== NULL
) SWIG_fail
;
29460 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= result
;
29478 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
= 0;
29480 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29481 wxString
*arg2
= 0 ;
29482 wxArrayDouble result
;
29485 bool temp2
= false ;
29486 PyObject
* obj0
= 0 ;
29487 PyObject
* obj1
= 0 ;
29488 char * kwnames
[] = {
29489 (char *) "self",(char *) "text", NULL
29492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29494 if (!SWIG_IsOK(res1
)) {
29495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29497 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29499 arg2
= wxString_in_helper(obj1
);
29500 if (arg2
== NULL
) SWIG_fail
;
29504 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29508 resultobj
= wxArrayDouble2PyList_helper(result
);
29524 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
= 0;
29526 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29527 wxBitmap
*arg2
= 0 ;
29544 PyObject
* obj0
= 0 ;
29545 PyObject
* obj1
= 0 ;
29546 PyObject
* obj2
= 0 ;
29547 PyObject
* obj3
= 0 ;
29548 PyObject
* obj4
= 0 ;
29549 PyObject
* obj5
= 0 ;
29550 char * kwnames
[] = {
29551 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29559 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29561 if (!SWIG_IsOK(res2
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29567 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29568 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29569 if (!SWIG_IsOK(ecode3
)) {
29570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29572 arg3
= static_cast< wxDouble
>(val3
);
29573 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29574 if (!SWIG_IsOK(ecode4
)) {
29575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29577 arg4
= static_cast< wxDouble
>(val4
);
29578 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29579 if (!SWIG_IsOK(ecode5
)) {
29580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29582 arg5
= static_cast< wxDouble
>(val5
);
29583 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29584 if (!SWIG_IsOK(ecode6
)) {
29585 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29587 arg6
= static_cast< wxDouble
>(val6
);
29589 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_Py_Void();
29599 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29600 PyObject
*resultobj
= 0;
29601 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 PyObject
* obj2
= 0 ;
29622 PyObject
* obj3
= 0 ;
29623 PyObject
* obj4
= 0 ;
29624 PyObject
* obj5
= 0 ;
29625 char * kwnames
[] = {
29626 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29631 if (!SWIG_IsOK(res1
)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29634 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29636 if (!SWIG_IsOK(res2
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29642 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29643 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29644 if (!SWIG_IsOK(ecode3
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29647 arg3
= static_cast< wxDouble
>(val3
);
29648 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29649 if (!SWIG_IsOK(ecode4
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29652 arg4
= static_cast< wxDouble
>(val4
);
29653 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29654 if (!SWIG_IsOK(ecode5
)) {
29655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29657 arg5
= static_cast< wxDouble
>(val5
);
29658 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29659 if (!SWIG_IsOK(ecode6
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29662 arg6
= static_cast< wxDouble
>(val6
);
29664 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29665 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= SWIG_Py_Void();
29674 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29675 PyObject
*resultobj
= 0;
29676 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29691 PyObject
* obj0
= 0 ;
29692 PyObject
* obj1
= 0 ;
29693 PyObject
* obj2
= 0 ;
29694 PyObject
* obj3
= 0 ;
29695 PyObject
* obj4
= 0 ;
29696 char * kwnames
[] = {
29697 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29702 if (!SWIG_IsOK(res1
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29705 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29706 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29707 if (!SWIG_IsOK(ecode2
)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29710 arg2
= static_cast< wxDouble
>(val2
);
29711 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29712 if (!SWIG_IsOK(ecode3
)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29715 arg3
= static_cast< wxDouble
>(val3
);
29716 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29717 if (!SWIG_IsOK(ecode4
)) {
29718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29720 arg4
= static_cast< wxDouble
>(val4
);
29721 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29722 if (!SWIG_IsOK(ecode5
)) {
29723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29725 arg5
= static_cast< wxDouble
>(val5
);
29727 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= SWIG_Py_Void();
29737 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
= 0;
29739 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29741 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29744 PyObject
* obj0
= 0 ;
29745 PyObject
* obj1
= 0 ;
29746 char * kwnames
[] = {
29747 (char *) "self",(char *) "points", NULL
29750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29752 if (!SWIG_IsOK(res1
)) {
29753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29755 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29757 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29758 if (arg3
== NULL
) SWIG_fail
;
29761 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29762 if (PyErr_Occurred()) SWIG_fail
;
29764 resultobj
= SWIG_Py_Void();
29766 if (arg3
) delete [] arg3
;
29771 if (arg3
) delete [] arg3
;
29777 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
= 0;
29779 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29780 PyObject
*arg2
= (PyObject
*) 0 ;
29781 PyObject
*arg3
= (PyObject
*) 0 ;
29784 PyObject
* obj0
= 0 ;
29785 PyObject
* obj1
= 0 ;
29786 PyObject
* obj2
= 0 ;
29787 char * kwnames
[] = {
29788 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29793 if (!SWIG_IsOK(res1
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29796 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29800 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29803 resultobj
= SWIG_Py_Void();
29810 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
= 0;
29812 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29814 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29815 int arg4
= (int) wxODDEVEN_RULE
;
29820 PyObject
* obj0
= 0 ;
29821 PyObject
* obj1
= 0 ;
29822 PyObject
* obj2
= 0 ;
29823 char * kwnames
[] = {
29824 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29829 if (!SWIG_IsOK(res1
)) {
29830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29832 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29834 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29835 if (arg3
== NULL
) SWIG_fail
;
29838 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29839 if (!SWIG_IsOK(ecode4
)) {
29840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29842 arg4
= static_cast< int >(val4
);
29845 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= SWIG_Py_Void();
29850 if (arg3
) delete [] arg3
;
29855 if (arg3
) delete [] arg3
;
29861 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29862 PyObject
*resultobj
= 0;
29863 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 PyObject
* obj2
= 0 ;
29881 PyObject
* obj3
= 0 ;
29882 PyObject
* obj4
= 0 ;
29883 char * kwnames
[] = {
29884 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29889 if (!SWIG_IsOK(res1
)) {
29890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29892 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29893 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29894 if (!SWIG_IsOK(ecode2
)) {
29895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29897 arg2
= static_cast< wxDouble
>(val2
);
29898 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29899 if (!SWIG_IsOK(ecode3
)) {
29900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29902 arg3
= static_cast< wxDouble
>(val3
);
29903 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29904 if (!SWIG_IsOK(ecode4
)) {
29905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29907 arg4
= static_cast< wxDouble
>(val4
);
29908 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29909 if (!SWIG_IsOK(ecode5
)) {
29910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29912 arg5
= static_cast< wxDouble
>(val5
);
29914 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_Py_Void();
29924 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
= 0;
29926 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 PyObject
* obj2
= 0 ;
29944 PyObject
* obj3
= 0 ;
29945 PyObject
* obj4
= 0 ;
29946 char * kwnames
[] = {
29947 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29952 if (!SWIG_IsOK(res1
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29955 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29956 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29957 if (!SWIG_IsOK(ecode2
)) {
29958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29960 arg2
= static_cast< wxDouble
>(val2
);
29961 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29962 if (!SWIG_IsOK(ecode3
)) {
29963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29965 arg3
= static_cast< wxDouble
>(val3
);
29966 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29967 if (!SWIG_IsOK(ecode4
)) {
29968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29970 arg4
= static_cast< wxDouble
>(val4
);
29971 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29972 if (!SWIG_IsOK(ecode5
)) {
29973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29975 arg5
= static_cast< wxDouble
>(val5
);
29977 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_Py_Void();
29987 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
= 0;
29989 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30007 PyObject
* obj0
= 0 ;
30008 PyObject
* obj1
= 0 ;
30009 PyObject
* obj2
= 0 ;
30010 PyObject
* obj3
= 0 ;
30011 PyObject
* obj4
= 0 ;
30012 PyObject
* obj5
= 0 ;
30013 char * kwnames
[] = {
30014 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30019 if (!SWIG_IsOK(res1
)) {
30020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30022 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30023 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30024 if (!SWIG_IsOK(ecode2
)) {
30025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30027 arg2
= static_cast< wxDouble
>(val2
);
30028 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30029 if (!SWIG_IsOK(ecode3
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30032 arg3
= static_cast< wxDouble
>(val3
);
30033 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30034 if (!SWIG_IsOK(ecode4
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30037 arg4
= static_cast< wxDouble
>(val4
);
30038 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30039 if (!SWIG_IsOK(ecode5
)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30042 arg5
= static_cast< wxDouble
>(val5
);
30043 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30044 if (!SWIG_IsOK(ecode6
)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30047 arg6
= static_cast< wxDouble
>(val6
);
30049 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= SWIG_Py_Void();
30059 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30060 PyObject
*resultobj
= 0;
30061 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30065 PyObject
*swig_obj
[1] ;
30067 if (!args
) SWIG_fail
;
30068 swig_obj
[0] = args
;
30069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30070 if (!SWIG_IsOK(res1
)) {
30071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30073 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30075 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30076 if (PyErr_Occurred()) SWIG_fail
;
30079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30087 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30090 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30091 return SWIG_Py_Void();
30094 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30095 PyObject
*resultobj
= 0;
30096 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30099 PyObject
*swig_obj
[1] ;
30101 if (!args
) SWIG_fail
;
30102 swig_obj
[0] = args
;
30103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30104 if (!SWIG_IsOK(res1
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30107 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_Py_Void();
30120 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30121 PyObject
*resultobj
= 0;
30122 wxGraphicsRenderer
*result
= 0 ;
30124 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30126 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30127 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30136 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30137 PyObject
*resultobj
= 0;
30138 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30139 wxWindowDC
*arg2
= 0 ;
30140 wxGraphicsContext
*result
= 0 ;
30146 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30148 if (!SWIG_IsOK(res1
)) {
30149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30151 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30152 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30153 if (!SWIG_IsOK(res2
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30159 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30161 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30171 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30172 PyObject
*resultobj
= 0;
30173 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30174 wxWindow
*arg2
= (wxWindow
*) 0 ;
30175 wxGraphicsContext
*result
= 0 ;
30181 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30186 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30187 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30188 if (!SWIG_IsOK(res2
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30193 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30203 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30207 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30212 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30213 _v
= SWIG_CheckState(res
);
30215 if (!_v
) goto check_1
;
30216 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30221 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30225 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30230 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30231 PyObject
*resultobj
= 0;
30232 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30233 wxGraphicsContext
*result
= 0 ;
30236 PyObject
*swig_obj
[1] ;
30238 if (!args
) SWIG_fail
;
30239 swig_obj
[0] = args
;
30240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30241 if (!SWIG_IsOK(res1
)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30244 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30246 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30247 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30256 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
= 0;
30258 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30259 void *arg2
= (void *) 0 ;
30260 wxGraphicsContext
*result
= 0 ;
30264 PyObject
* obj0
= 0 ;
30265 PyObject
* obj1
= 0 ;
30266 char * kwnames
[] = {
30267 (char *) "self",(char *) "context", NULL
30270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30275 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30276 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30277 if (!SWIG_IsOK(res2
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30281 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30291 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
= 0;
30293 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30294 void *arg2
= (void *) 0 ;
30295 wxGraphicsContext
*result
= 0 ;
30299 PyObject
* obj0
= 0 ;
30300 PyObject
* obj1
= 0 ;
30301 char * kwnames
[] = {
30302 (char *) "self",(char *) "window", NULL
30305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30307 if (!SWIG_IsOK(res1
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30310 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30311 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30312 if (!SWIG_IsOK(res2
)) {
30313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30316 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30326 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30327 PyObject
*resultobj
= 0;
30328 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30329 wxGraphicsPath result
;
30332 PyObject
*swig_obj
[1] ;
30334 if (!args
) SWIG_fail
;
30335 swig_obj
[0] = args
;
30336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30337 if (!SWIG_IsOK(res1
)) {
30338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30340 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30342 result
= (arg1
)->CreatePath();
30343 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30352 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
= 0;
30354 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30355 wxDouble arg2
= (wxDouble
) 1.0 ;
30356 wxDouble arg3
= (wxDouble
) 0.0 ;
30357 wxDouble arg4
= (wxDouble
) 0.0 ;
30358 wxDouble arg5
= (wxDouble
) 1.0 ;
30359 wxDouble arg6
= (wxDouble
) 0.0 ;
30360 wxDouble arg7
= (wxDouble
) 0.0 ;
30361 wxGraphicsMatrix result
;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 PyObject
* obj2
= 0 ;
30379 PyObject
* obj3
= 0 ;
30380 PyObject
* obj4
= 0 ;
30381 PyObject
* obj5
= 0 ;
30382 PyObject
* obj6
= 0 ;
30383 char * kwnames
[] = {
30384 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30392 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30394 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30395 if (!SWIG_IsOK(ecode2
)) {
30396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30398 arg2
= static_cast< wxDouble
>(val2
);
30401 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30402 if (!SWIG_IsOK(ecode3
)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30405 arg3
= static_cast< wxDouble
>(val3
);
30408 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30409 if (!SWIG_IsOK(ecode4
)) {
30410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30412 arg4
= static_cast< wxDouble
>(val4
);
30415 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30416 if (!SWIG_IsOK(ecode5
)) {
30417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30419 arg5
= static_cast< wxDouble
>(val5
);
30422 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30423 if (!SWIG_IsOK(ecode6
)) {
30424 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30426 arg6
= static_cast< wxDouble
>(val6
);
30429 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30430 if (!SWIG_IsOK(ecode7
)) {
30431 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30433 arg7
= static_cast< wxDouble
>(val7
);
30436 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30437 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30446 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30447 PyObject
*resultobj
= 0;
30448 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30450 wxGraphicsPen result
;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 char * kwnames
[] = {
30458 (char *) "self",(char *) "pen", NULL
30461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30463 if (!SWIG_IsOK(res1
)) {
30464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30466 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30468 if (!SWIG_IsOK(res2
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30474 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30476 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30486 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
= 0;
30488 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30489 wxBrush
*arg2
= 0 ;
30490 wxGraphicsBrush result
;
30495 PyObject
* obj0
= 0 ;
30496 PyObject
* obj1
= 0 ;
30497 char * kwnames
[] = {
30498 (char *) "self",(char *) "brush", NULL
30501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30503 if (!SWIG_IsOK(res1
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30506 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30508 if (!SWIG_IsOK(res2
)) {
30509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30514 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30516 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30526 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30533 wxColour
*arg6
= 0 ;
30534 wxColour
*arg7
= 0 ;
30535 wxGraphicsBrush result
;
30548 PyObject
* obj0
= 0 ;
30549 PyObject
* obj1
= 0 ;
30550 PyObject
* obj2
= 0 ;
30551 PyObject
* obj3
= 0 ;
30552 PyObject
* obj4
= 0 ;
30553 PyObject
* obj5
= 0 ;
30554 PyObject
* obj6
= 0 ;
30555 char * kwnames
[] = {
30556 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30561 if (!SWIG_IsOK(res1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30564 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30565 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30566 if (!SWIG_IsOK(ecode2
)) {
30567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30569 arg2
= static_cast< wxDouble
>(val2
);
30570 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30571 if (!SWIG_IsOK(ecode3
)) {
30572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30574 arg3
= static_cast< wxDouble
>(val3
);
30575 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30576 if (!SWIG_IsOK(ecode4
)) {
30577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30579 arg4
= static_cast< wxDouble
>(val4
);
30580 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30581 if (!SWIG_IsOK(ecode5
)) {
30582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30584 arg5
= static_cast< wxDouble
>(val5
);
30587 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30591 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30594 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30604 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
= 0;
30606 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30612 wxColour
*arg7
= 0 ;
30613 wxColour
*arg8
= 0 ;
30614 wxGraphicsBrush result
;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 PyObject
* obj2
= 0 ;
30632 PyObject
* obj3
= 0 ;
30633 PyObject
* obj4
= 0 ;
30634 PyObject
* obj5
= 0 ;
30635 PyObject
* obj6
= 0 ;
30636 PyObject
* obj7
= 0 ;
30637 char * kwnames
[] = {
30638 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30643 if (!SWIG_IsOK(res1
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30646 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30647 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30648 if (!SWIG_IsOK(ecode2
)) {
30649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30651 arg2
= static_cast< wxDouble
>(val2
);
30652 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30653 if (!SWIG_IsOK(ecode3
)) {
30654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30656 arg3
= static_cast< wxDouble
>(val3
);
30657 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30658 if (!SWIG_IsOK(ecode4
)) {
30659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30661 arg4
= static_cast< wxDouble
>(val4
);
30662 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30663 if (!SWIG_IsOK(ecode5
)) {
30664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30666 arg5
= static_cast< wxDouble
>(val5
);
30667 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30668 if (!SWIG_IsOK(ecode6
)) {
30669 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30671 arg6
= static_cast< wxDouble
>(val6
);
30674 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30678 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30681 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30691 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
= 0;
30693 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30695 wxColour
const &arg3_defvalue
= *wxBLACK
;
30696 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30697 wxGraphicsFont result
;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 char * kwnames
[] = {
30707 (char *) "self",(char *) "font",(char *) "col", NULL
30710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30712 if (!SWIG_IsOK(res1
)) {
30713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30715 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30717 if (!SWIG_IsOK(res2
)) {
30718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30723 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30727 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30731 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30734 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30741 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30744 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30745 return SWIG_Py_Void();
30748 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30749 PyObject
*resultobj
= 0;
30750 wxWindowDC
*arg1
= 0 ;
30751 wxGCDC
*result
= 0 ;
30755 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30757 if (!SWIG_IsOK(res1
)) {
30758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30763 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30765 if (!wxPyCheckForApp()) SWIG_fail
;
30766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30767 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30768 wxPyEndAllowThreads(__tstate
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30778 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30779 PyObject
*resultobj
= 0;
30780 wxWindow
*arg1
= (wxWindow
*) 0 ;
30781 wxGCDC
*result
= 0 ;
30785 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30787 if (!SWIG_IsOK(res1
)) {
30788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30792 if (!wxPyCheckForApp()) SWIG_fail
;
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 result
= (wxGCDC
*)new wxGCDC(arg1
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30805 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30809 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30814 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30815 _v
= SWIG_CheckState(res
);
30817 if (!_v
) goto check_1
;
30818 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30823 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30827 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30832 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 PyObject
*resultobj
= 0;
30834 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30837 PyObject
*swig_obj
[1] ;
30839 if (!args
) SWIG_fail
;
30840 swig_obj
[0] = args
;
30841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30842 if (!SWIG_IsOK(res1
)) {
30843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30845 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= SWIG_Py_Void();
30858 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30859 PyObject
*resultobj
= 0;
30860 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30861 wxGraphicsContext
*result
= 0 ;
30864 PyObject
*swig_obj
[1] ;
30866 if (!args
) SWIG_fail
;
30867 swig_obj
[0] = args
;
30868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30869 if (!SWIG_IsOK(res1
)) {
30870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30872 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30874 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30884 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30885 PyObject
*resultobj
= 0;
30886 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30887 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30892 PyObject
* obj0
= 0 ;
30893 PyObject
* obj1
= 0 ;
30894 char * kwnames
[] = {
30895 (char *) "self",(char *) "ctx", NULL
30898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30903 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30905 if (!SWIG_IsOK(res2
)) {
30906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30908 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30910 (arg1
)->SetGraphicsContext(arg2
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_Py_Void();
30920 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30923 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30924 return SWIG_Py_Void();
30927 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30928 return SWIG_Python_InitShadowInstance(args
);
30931 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30932 PyObject
*resultobj
= 0;
30933 wxOverlay
*result
= 0 ;
30935 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (wxOverlay
*)new wxOverlay();
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30949 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30950 PyObject
*resultobj
= 0;
30951 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30954 PyObject
*swig_obj
[1] ;
30956 if (!args
) SWIG_fail
;
30957 swig_obj
[0] = args
;
30958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30962 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= SWIG_Py_Void();
30977 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30978 PyObject
*resultobj
= 0;
30979 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30982 PyObject
*swig_obj
[1] ;
30984 if (!args
) SWIG_fail
;
30985 swig_obj
[0] = args
;
30986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30987 if (!SWIG_IsOK(res1
)) {
30988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30990 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= SWIG_Py_Void();
31004 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31007 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31008 return SWIG_Py_Void();
31011 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31012 return SWIG_Python_InitShadowInstance(args
);
31015 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31016 PyObject
*resultobj
= 0;
31017 wxOverlay
*arg1
= 0 ;
31018 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31023 wxDCOverlay
*result
= 0 ;
31037 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31039 if (!SWIG_IsOK(res1
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31045 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31046 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31047 if (!SWIG_IsOK(res2
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31050 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31051 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31052 if (!SWIG_IsOK(ecode3
)) {
31053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31055 arg3
= static_cast< int >(val3
);
31056 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31057 if (!SWIG_IsOK(ecode4
)) {
31058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31060 arg4
= static_cast< int >(val4
);
31061 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31062 if (!SWIG_IsOK(ecode5
)) {
31063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31065 arg5
= static_cast< int >(val5
);
31066 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31067 if (!SWIG_IsOK(ecode6
)) {
31068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31070 arg6
= static_cast< int >(val6
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31084 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31085 PyObject
*resultobj
= 0;
31086 wxOverlay
*arg1
= 0 ;
31087 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31088 wxDCOverlay
*result
= 0 ;
31094 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31096 if (!SWIG_IsOK(res1
)) {
31097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31102 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31103 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31104 if (!SWIG_IsOK(res2
)) {
31105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31107 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31121 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31125 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31128 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31131 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31135 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31140 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31141 PyObject
*resultobj
= 0;
31142 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31145 PyObject
*swig_obj
[1] ;
31147 if (!args
) SWIG_fail
;
31148 swig_obj
[0] = args
;
31149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31150 if (!SWIG_IsOK(res1
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31153 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= SWIG_Py_Void();
31168 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31169 PyObject
*resultobj
= 0;
31170 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31173 PyObject
*swig_obj
[1] ;
31175 if (!args
) SWIG_fail
;
31176 swig_obj
[0] = args
;
31177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31178 if (!SWIG_IsOK(res1
)) {
31179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31181 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= SWIG_Py_Void();
31195 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31198 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31199 return SWIG_Py_Void();
31202 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31203 return SWIG_Python_InitShadowInstance(args
);
31206 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31207 PyObject
*resultobj
= 0;
31210 int arg3
= (int) true ;
31211 int arg4
= (int) 1 ;
31212 wxImageList
*result
= 0 ;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 PyObject
* obj2
= 0 ;
31224 PyObject
* obj3
= 0 ;
31225 char * kwnames
[] = {
31226 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31231 if (!SWIG_IsOK(ecode1
)) {
31232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31234 arg1
= static_cast< int >(val1
);
31235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31236 if (!SWIG_IsOK(ecode2
)) {
31237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31239 arg2
= static_cast< int >(val2
);
31241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31242 if (!SWIG_IsOK(ecode3
)) {
31243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31245 arg3
= static_cast< int >(val3
);
31248 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31249 if (!SWIG_IsOK(ecode4
)) {
31250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31252 arg4
= static_cast< int >(val4
);
31255 if (!wxPyCheckForApp()) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31268 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31269 PyObject
*resultobj
= 0;
31270 wxImageList
*arg1
= (wxImageList
*) 0 ;
31273 PyObject
*swig_obj
[1] ;
31275 if (!args
) SWIG_fail
;
31276 swig_obj
[0] = args
;
31277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31278 if (!SWIG_IsOK(res1
)) {
31279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31281 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= SWIG_Py_Void();
31296 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
= 0;
31298 wxImageList
*arg1
= (wxImageList
*) 0 ;
31299 wxBitmap
*arg2
= 0 ;
31300 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31301 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31309 PyObject
* obj0
= 0 ;
31310 PyObject
* obj1
= 0 ;
31311 PyObject
* obj2
= 0 ;
31312 char * kwnames
[] = {
31313 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31318 if (!SWIG_IsOK(res1
)) {
31319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31321 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31323 if (!SWIG_IsOK(res2
)) {
31324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31329 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31331 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31332 if (!SWIG_IsOK(res3
)) {
31333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31338 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_From_int(static_cast< int >(result
));
31353 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
= 0;
31355 wxImageList
*arg1
= (wxImageList
*) 0 ;
31356 wxBitmap
*arg2
= 0 ;
31357 wxColour
*arg3
= 0 ;
31364 PyObject
* obj0
= 0 ;
31365 PyObject
* obj1
= 0 ;
31366 PyObject
* obj2
= 0 ;
31367 char * kwnames
[] = {
31368 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31373 if (!SWIG_IsOK(res1
)) {
31374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31376 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31378 if (!SWIG_IsOK(res2
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31384 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31387 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31391 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31392 wxPyEndAllowThreads(__tstate
);
31393 if (PyErr_Occurred()) SWIG_fail
;
31395 resultobj
= SWIG_From_int(static_cast< int >(result
));
31402 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31403 PyObject
*resultobj
= 0;
31404 wxImageList
*arg1
= (wxImageList
*) 0 ;
31411 PyObject
* obj0
= 0 ;
31412 PyObject
* obj1
= 0 ;
31413 char * kwnames
[] = {
31414 (char *) "self",(char *) "icon", NULL
31417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31419 if (!SWIG_IsOK(res1
)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31422 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31424 if (!SWIG_IsOK(res2
)) {
31425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31430 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= SWIG_From_int(static_cast< int >(result
));
31444 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
= 0;
31446 wxImageList
*arg1
= (wxImageList
*) 0 ;
31448 SwigValueWrapper
<wxBitmap
> result
;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 char * kwnames
[] = {
31456 (char *) "self",(char *) "index", NULL
31459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31461 if (!SWIG_IsOK(res1
)) {
31462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31464 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31466 if (!SWIG_IsOK(ecode2
)) {
31467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31469 arg2
= static_cast< int >(val2
);
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31483 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
= 0;
31485 wxImageList
*arg1
= (wxImageList
*) 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 char * kwnames
[] = {
31495 (char *) "self",(char *) "index", NULL
31498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31500 if (!SWIG_IsOK(res1
)) {
31501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31503 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31505 if (!SWIG_IsOK(ecode2
)) {
31506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31508 arg2
= static_cast< int >(val2
);
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31512 wxPyEndAllowThreads(__tstate
);
31513 if (PyErr_Occurred()) SWIG_fail
;
31515 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31522 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= 0;
31524 wxImageList
*arg1
= (wxImageList
*) 0 ;
31526 wxBitmap
*arg3
= 0 ;
31527 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31528 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31538 PyObject
* obj0
= 0 ;
31539 PyObject
* obj1
= 0 ;
31540 PyObject
* obj2
= 0 ;
31541 PyObject
* obj3
= 0 ;
31542 char * kwnames
[] = {
31543 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31548 if (!SWIG_IsOK(res1
)) {
31549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31551 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31553 if (!SWIG_IsOK(ecode2
)) {
31554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31556 arg2
= static_cast< int >(val2
);
31557 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31558 if (!SWIG_IsOK(res3
)) {
31559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31564 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31566 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31567 if (!SWIG_IsOK(res4
)) {
31568 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31573 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31577 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31590 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
= 0;
31592 wxImageList
*arg1
= (wxImageList
*) 0 ;
31597 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31598 bool arg7
= (bool) (bool)false ;
31614 PyObject
* obj0
= 0 ;
31615 PyObject
* obj1
= 0 ;
31616 PyObject
* obj2
= 0 ;
31617 PyObject
* obj3
= 0 ;
31618 PyObject
* obj4
= 0 ;
31619 PyObject
* obj5
= 0 ;
31620 PyObject
* obj6
= 0 ;
31621 char * kwnames
[] = {
31622 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31627 if (!SWIG_IsOK(res1
)) {
31628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31630 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31632 if (!SWIG_IsOK(ecode2
)) {
31633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31635 arg2
= static_cast< int >(val2
);
31636 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31637 if (!SWIG_IsOK(res3
)) {
31638 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31643 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31645 if (!SWIG_IsOK(ecode4
)) {
31646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31648 arg4
= static_cast< int >(val4
);
31649 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31650 if (!SWIG_IsOK(ecode5
)) {
31651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31653 arg5
= static_cast< int >(val5
);
31655 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31656 if (!SWIG_IsOK(ecode6
)) {
31657 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31659 arg6
= static_cast< int >(val6
);
31662 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31663 if (!SWIG_IsOK(ecode7
)) {
31664 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31666 arg7
= static_cast< bool >(val7
);
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31670 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31671 wxPyEndAllowThreads(__tstate
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31683 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31684 PyObject
*resultobj
= 0;
31685 wxImageList
*arg1
= (wxImageList
*) 0 ;
31689 PyObject
*swig_obj
[1] ;
31691 if (!args
) SWIG_fail
;
31692 swig_obj
[0] = args
;
31693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31694 if (!SWIG_IsOK(res1
)) {
31695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31697 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 result
= (int)(arg1
)->GetImageCount();
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31704 resultobj
= SWIG_From_int(static_cast< int >(result
));
31711 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31712 PyObject
*resultobj
= 0;
31713 wxImageList
*arg1
= (wxImageList
*) 0 ;
31720 PyObject
* obj0
= 0 ;
31721 PyObject
* obj1
= 0 ;
31722 char * kwnames
[] = {
31723 (char *) "self",(char *) "index", NULL
31726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31728 if (!SWIG_IsOK(res1
)) {
31729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31731 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31733 if (!SWIG_IsOK(ecode2
)) {
31734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31736 arg2
= static_cast< int >(val2
);
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= (bool)(arg1
)->Remove(arg2
);
31740 wxPyEndAllowThreads(__tstate
);
31741 if (PyErr_Occurred()) SWIG_fail
;
31744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31752 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31753 PyObject
*resultobj
= 0;
31754 wxImageList
*arg1
= (wxImageList
*) 0 ;
31758 PyObject
*swig_obj
[1] ;
31760 if (!args
) SWIG_fail
;
31761 swig_obj
[0] = args
;
31762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31763 if (!SWIG_IsOK(res1
)) {
31764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31766 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 result
= (bool)(arg1
)->RemoveAll();
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31782 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31783 PyObject
*resultobj
= 0;
31784 wxImageList
*arg1
= (wxImageList
*) 0 ;
31793 int res3
= SWIG_TMPOBJ
;
31795 int res4
= SWIG_TMPOBJ
;
31796 PyObject
* obj0
= 0 ;
31797 PyObject
* obj1
= 0 ;
31798 char * kwnames
[] = {
31799 (char *) "self",(char *) "index", NULL
31804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31806 if (!SWIG_IsOK(res1
)) {
31807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31809 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31811 if (!SWIG_IsOK(ecode2
)) {
31812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31814 arg2
= static_cast< int >(val2
);
31816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31817 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 resultobj
= SWIG_Py_Void();
31822 if (SWIG_IsTmpObj(res3
)) {
31823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31825 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31828 if (SWIG_IsTmpObj(res4
)) {
31829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31831 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31840 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31843 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31844 return SWIG_Py_Void();
31847 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31848 return SWIG_Python_InitShadowInstance(args
);
31851 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31852 PyObject
*resultobj
= 0;
31853 wxStockGDI
*result
= 0 ;
31855 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31858 result
= (wxStockGDI
*)new wxStockGDI();
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31869 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31870 PyObject
*resultobj
= 0;
31871 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31874 PyObject
*swig_obj
[1] ;
31876 if (!args
) SWIG_fail
;
31877 swig_obj
[0] = args
;
31878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31879 if (!SWIG_IsOK(res1
)) {
31880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31882 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31890 resultobj
= SWIG_Py_Void();
31897 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31898 PyObject
*resultobj
= 0;
31900 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 wxStockGDI::DeleteAll();
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= SWIG_Py_Void();
31914 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31915 PyObject
*resultobj
= 0;
31916 wxStockGDI
*result
= 0 ;
31918 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31922 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31923 result
= (wxStockGDI
*) &_result_ref
;
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31935 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
= 0;
31937 wxStockGDI::Item arg1
;
31938 wxBrush
*result
= 0 ;
31941 PyObject
* obj0
= 0 ;
31942 char * kwnames
[] = {
31943 (char *) "item", NULL
31946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31948 if (!SWIG_IsOK(ecode1
)) {
31949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31951 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31965 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
= 0;
31967 wxStockGDI::Item arg1
;
31968 wxColour
*result
= 0 ;
31971 PyObject
* obj0
= 0 ;
31972 char * kwnames
[] = {
31973 (char *) "item", NULL
31976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31977 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31978 if (!SWIG_IsOK(ecode1
)) {
31979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31981 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31984 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31985 wxPyEndAllowThreads(__tstate
);
31986 if (PyErr_Occurred()) SWIG_fail
;
31988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31995 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31996 PyObject
*resultobj
= 0;
31997 wxStockGDI::Item arg1
;
31998 wxCursor
*result
= 0 ;
32001 PyObject
* obj0
= 0 ;
32002 char * kwnames
[] = {
32003 (char *) "item", NULL
32006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32008 if (!SWIG_IsOK(ecode1
)) {
32009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32011 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32025 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32026 PyObject
*resultobj
= 0;
32027 wxStockGDI::Item arg1
;
32028 wxPen
*result
= 0 ;
32031 PyObject
* obj0
= 0 ;
32032 char * kwnames
[] = {
32033 (char *) "item", NULL
32036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32038 if (!SWIG_IsOK(ecode1
)) {
32039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32041 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32045 wxPyEndAllowThreads(__tstate
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32055 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32056 PyObject
*resultobj
= 0;
32057 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32058 wxStockGDI::Item arg2
;
32059 wxFont
*result
= 0 ;
32064 PyObject
* obj0
= 0 ;
32065 PyObject
* obj1
= 0 ;
32066 char * kwnames
[] = {
32067 (char *) "self",(char *) "item", NULL
32070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32072 if (!SWIG_IsOK(res1
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32075 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32077 if (!SWIG_IsOK(ecode2
)) {
32078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32080 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32083 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32094 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32097 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32098 return SWIG_Py_Void();
32101 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32102 return SWIG_Python_InitShadowInstance(args
);
32105 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32106 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32111 SWIGINTERN PyObject
*NullBitmap_get(void) {
32112 PyObject
*pyobj
= 0;
32114 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32119 SWIGINTERN
int NullIcon_set(PyObject
*) {
32120 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32125 SWIGINTERN PyObject
*NullIcon_get(void) {
32126 PyObject
*pyobj
= 0;
32128 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32133 SWIGINTERN
int NullCursor_set(PyObject
*) {
32134 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32139 SWIGINTERN PyObject
*NullCursor_get(void) {
32140 PyObject
*pyobj
= 0;
32142 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32147 SWIGINTERN
int NullPen_set(PyObject
*) {
32148 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32153 SWIGINTERN PyObject
*NullPen_get(void) {
32154 PyObject
*pyobj
= 0;
32156 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32161 SWIGINTERN
int NullBrush_set(PyObject
*) {
32162 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32167 SWIGINTERN PyObject
*NullBrush_get(void) {
32168 PyObject
*pyobj
= 0;
32170 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32175 SWIGINTERN
int NullPalette_set(PyObject
*) {
32176 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32181 SWIGINTERN PyObject
*NullPalette_get(void) {
32182 PyObject
*pyobj
= 0;
32184 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32189 SWIGINTERN
int NullFont_set(PyObject
*) {
32190 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32195 SWIGINTERN PyObject
*NullFont_get(void) {
32196 PyObject
*pyobj
= 0;
32198 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32203 SWIGINTERN
int NullColour_set(PyObject
*) {
32204 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32209 SWIGINTERN PyObject
*NullColour_get(void) {
32210 PyObject
*pyobj
= 0;
32212 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32217 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32218 PyObject
*resultobj
= 0;
32219 wxGDIObjListBase
*result
= 0 ;
32221 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32235 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32236 PyObject
*resultobj
= 0;
32237 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32240 PyObject
*swig_obj
[1] ;
32242 if (!args
) SWIG_fail
;
32243 swig_obj
[0] = args
;
32244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32245 if (!SWIG_IsOK(res1
)) {
32246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32248 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 wxPyEndAllowThreads(__tstate
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32256 resultobj
= SWIG_Py_Void();
32263 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32266 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32267 return SWIG_Py_Void();
32270 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32271 return SWIG_Python_InitShadowInstance(args
);
32274 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32275 PyObject
*resultobj
= 0;
32276 wxPenList
*arg1
= (wxPenList
*) 0 ;
32277 wxColour
*arg2
= 0 ;
32280 wxPen
*result
= 0 ;
32288 PyObject
* obj0
= 0 ;
32289 PyObject
* obj1
= 0 ;
32290 PyObject
* obj2
= 0 ;
32291 PyObject
* obj3
= 0 ;
32292 char * kwnames
[] = {
32293 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32298 if (!SWIG_IsOK(res1
)) {
32299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32301 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32307 if (!SWIG_IsOK(ecode3
)) {
32308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32310 arg3
= static_cast< int >(val3
);
32311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32312 if (!SWIG_IsOK(ecode4
)) {
32313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32315 arg4
= static_cast< int >(val4
);
32317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32318 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32319 wxPyEndAllowThreads(__tstate
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32329 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32330 PyObject
*resultobj
= 0;
32331 wxPenList
*arg1
= (wxPenList
*) 0 ;
32332 wxPen
*arg2
= (wxPen
*) 0 ;
32337 PyObject
* obj0
= 0 ;
32338 PyObject
* obj1
= 0 ;
32339 char * kwnames
[] = {
32340 (char *) "self",(char *) "pen", NULL
32343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32345 if (!SWIG_IsOK(res1
)) {
32346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32348 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32350 if (!SWIG_IsOK(res2
)) {
32351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32353 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32356 (arg1
)->AddPen(arg2
);
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32360 resultobj
= SWIG_Py_Void();
32367 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32368 PyObject
*resultobj
= 0;
32369 wxPenList
*arg1
= (wxPenList
*) 0 ;
32370 wxPen
*arg2
= (wxPen
*) 0 ;
32375 PyObject
* obj0
= 0 ;
32376 PyObject
* obj1
= 0 ;
32377 char * kwnames
[] = {
32378 (char *) "self",(char *) "pen", NULL
32381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32383 if (!SWIG_IsOK(res1
)) {
32384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32386 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32388 if (!SWIG_IsOK(res2
)) {
32389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32391 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 (arg1
)->RemovePen(arg2
);
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= SWIG_Py_Void();
32405 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32409 return SWIG_Py_Void();
32412 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
= 0;
32414 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32415 wxColour
*arg2
= 0 ;
32416 int arg3
= (int) wxSOLID
;
32417 wxBrush
*result
= 0 ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 PyObject
* obj2
= 0 ;
32426 char * kwnames
[] = {
32427 (char *) "self",(char *) "colour",(char *) "style", NULL
32430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32435 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32442 if (!SWIG_IsOK(ecode3
)) {
32443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32445 arg3
= static_cast< int >(val3
);
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32460 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32461 PyObject
*resultobj
= 0;
32462 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32463 wxBrush
*arg2
= (wxBrush
*) 0 ;
32468 PyObject
* obj0
= 0 ;
32469 PyObject
* obj1
= 0 ;
32470 char * kwnames
[] = {
32471 (char *) "self",(char *) "brush", NULL
32474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32476 if (!SWIG_IsOK(res1
)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32479 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32481 if (!SWIG_IsOK(res2
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32484 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 (arg1
)->AddBrush(arg2
);
32488 wxPyEndAllowThreads(__tstate
);
32489 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= SWIG_Py_Void();
32498 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32499 PyObject
*resultobj
= 0;
32500 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32501 wxBrush
*arg2
= (wxBrush
*) 0 ;
32506 PyObject
* obj0
= 0 ;
32507 PyObject
* obj1
= 0 ;
32508 char * kwnames
[] = {
32509 (char *) "self",(char *) "brush", NULL
32512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32514 if (!SWIG_IsOK(res1
)) {
32515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32517 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32519 if (!SWIG_IsOK(res2
)) {
32520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32522 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32525 (arg1
)->RemoveBrush(arg2
);
32526 wxPyEndAllowThreads(__tstate
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 resultobj
= SWIG_Py_Void();
32536 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32539 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32540 return SWIG_Py_Void();
32543 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
= 0;
32545 wxFontList
*arg1
= (wxFontList
*) 0 ;
32550 bool arg6
= (bool) false ;
32551 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32553 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32554 wxFont
*result
= 0 ;
32567 bool temp7
= false ;
32570 PyObject
* obj0
= 0 ;
32571 PyObject
* obj1
= 0 ;
32572 PyObject
* obj2
= 0 ;
32573 PyObject
* obj3
= 0 ;
32574 PyObject
* obj4
= 0 ;
32575 PyObject
* obj5
= 0 ;
32576 PyObject
* obj6
= 0 ;
32577 PyObject
* obj7
= 0 ;
32578 char * kwnames
[] = {
32579 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32584 if (!SWIG_IsOK(res1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32587 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32589 if (!SWIG_IsOK(ecode2
)) {
32590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32592 arg2
= static_cast< int >(val2
);
32593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32594 if (!SWIG_IsOK(ecode3
)) {
32595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32597 arg3
= static_cast< int >(val3
);
32598 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32599 if (!SWIG_IsOK(ecode4
)) {
32600 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32602 arg4
= static_cast< int >(val4
);
32603 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32604 if (!SWIG_IsOK(ecode5
)) {
32605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32607 arg5
= static_cast< int >(val5
);
32609 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32610 if (!SWIG_IsOK(ecode6
)) {
32611 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32613 arg6
= static_cast< bool >(val6
);
32617 arg7
= wxString_in_helper(obj6
);
32618 if (arg7
== NULL
) SWIG_fail
;
32623 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32624 if (!SWIG_IsOK(ecode8
)) {
32625 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32627 arg8
= static_cast< wxFontEncoding
>(val8
);
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32650 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32651 PyObject
*resultobj
= 0;
32652 wxFontList
*arg1
= (wxFontList
*) 0 ;
32653 wxFont
*arg2
= (wxFont
*) 0 ;
32658 PyObject
* obj0
= 0 ;
32659 PyObject
* obj1
= 0 ;
32660 char * kwnames
[] = {
32661 (char *) "self",(char *) "font", NULL
32664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32666 if (!SWIG_IsOK(res1
)) {
32667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32669 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32670 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32671 if (!SWIG_IsOK(res2
)) {
32672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32674 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32677 (arg1
)->AddFont(arg2
);
32678 wxPyEndAllowThreads(__tstate
);
32679 if (PyErr_Occurred()) SWIG_fail
;
32681 resultobj
= SWIG_Py_Void();
32688 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32689 PyObject
*resultobj
= 0;
32690 wxFontList
*arg1
= (wxFontList
*) 0 ;
32691 wxFont
*arg2
= (wxFont
*) 0 ;
32696 PyObject
* obj0
= 0 ;
32697 PyObject
* obj1
= 0 ;
32698 char * kwnames
[] = {
32699 (char *) "self",(char *) "font", NULL
32702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32704 if (!SWIG_IsOK(res1
)) {
32705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32707 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32709 if (!SWIG_IsOK(res2
)) {
32710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32712 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 (arg1
)->RemoveFont(arg2
);
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= SWIG_Py_Void();
32726 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32729 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32730 return SWIG_Py_Void();
32733 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32734 PyObject
*resultobj
= 0;
32735 wxColourDatabase
*result
= 0 ;
32737 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32739 if (!wxPyCheckForApp()) SWIG_fail
;
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 result
= (wxColourDatabase
*)new wxColourDatabase();
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32752 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32753 PyObject
*resultobj
= 0;
32754 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32757 PyObject
*swig_obj
[1] ;
32759 if (!args
) SWIG_fail
;
32760 swig_obj
[0] = args
;
32761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32765 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= SWIG_Py_Void();
32780 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32781 PyObject
*resultobj
= 0;
32782 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32783 wxString
*arg2
= 0 ;
32787 bool temp2
= false ;
32788 PyObject
* obj0
= 0 ;
32789 PyObject
* obj1
= 0 ;
32790 char * kwnames
[] = {
32791 (char *) "self",(char *) "name", NULL
32794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32796 if (!SWIG_IsOK(res1
)) {
32797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32799 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32801 arg2
= wxString_in_helper(obj1
);
32802 if (arg2
== NULL
) SWIG_fail
;
32806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32807 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32808 wxPyEndAllowThreads(__tstate
);
32809 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32826 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32827 PyObject
*resultobj
= 0;
32828 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32829 wxColour
*arg2
= 0 ;
32834 PyObject
* obj0
= 0 ;
32835 PyObject
* obj1
= 0 ;
32836 char * kwnames
[] = {
32837 (char *) "self",(char *) "colour", NULL
32840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32842 if (!SWIG_IsOK(res1
)) {
32843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32845 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32848 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32869 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32870 PyObject
*resultobj
= 0;
32871 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32872 wxString
*arg2
= 0 ;
32873 wxColour
*arg3
= 0 ;
32876 bool temp2
= false ;
32878 PyObject
* obj0
= 0 ;
32879 PyObject
* obj1
= 0 ;
32880 PyObject
* obj2
= 0 ;
32881 char * kwnames
[] = {
32882 (char *) "self",(char *) "name",(char *) "colour", NULL
32885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32887 if (!SWIG_IsOK(res1
)) {
32888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32890 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32892 arg2
= wxString_in_helper(obj1
);
32893 if (arg2
== NULL
) SWIG_fail
;
32898 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= SWIG_Py_Void();
32921 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32922 PyObject
*resultobj
= 0;
32923 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32924 wxString
*arg2
= 0 ;
32930 bool temp2
= false ;
32937 PyObject
* obj0
= 0 ;
32938 PyObject
* obj1
= 0 ;
32939 PyObject
* obj2
= 0 ;
32940 PyObject
* obj3
= 0 ;
32941 PyObject
* obj4
= 0 ;
32942 char * kwnames
[] = {
32943 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32948 if (!SWIG_IsOK(res1
)) {
32949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32951 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32953 arg2
= wxString_in_helper(obj1
);
32954 if (arg2
== NULL
) SWIG_fail
;
32957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32958 if (!SWIG_IsOK(ecode3
)) {
32959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32961 arg3
= static_cast< int >(val3
);
32962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32963 if (!SWIG_IsOK(ecode4
)) {
32964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32966 arg4
= static_cast< int >(val4
);
32967 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32968 if (!SWIG_IsOK(ecode5
)) {
32969 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32971 arg5
= static_cast< int >(val5
);
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32975 wxPyEndAllowThreads(__tstate
);
32976 if (PyErr_Occurred()) SWIG_fail
;
32978 resultobj
= SWIG_Py_Void();
32993 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32996 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32997 return SWIG_Py_Void();
33000 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33001 return SWIG_Python_InitShadowInstance(args
);
33004 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33005 PyObject
*resultobj
= 0;
33006 wxFontList
*result
= 0 ;
33008 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33011 result
= (wxFontList
*)_wxPyInitTheFontList();
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33022 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33023 PyObject
*resultobj
= 0;
33024 wxPenList
*result
= 0 ;
33026 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= (wxPenList
*)_wxPyInitThePenList();
33030 wxPyEndAllowThreads(__tstate
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33040 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33041 PyObject
*resultobj
= 0;
33042 wxBrushList
*result
= 0 ;
33044 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33058 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33059 PyObject
*resultobj
= 0;
33060 wxColourDatabase
*result
= 0 ;
33062 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33066 wxPyEndAllowThreads(__tstate
);
33067 if (PyErr_Occurred()) SWIG_fail
;
33069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33076 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33077 PyObject
*resultobj
= 0;
33078 wxEffects
*result
= 0 ;
33080 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 result
= (wxEffects
*)new wxEffects();
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33094 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33095 PyObject
*resultobj
= 0;
33096 wxEffects
*arg1
= (wxEffects
*) 0 ;
33100 PyObject
*swig_obj
[1] ;
33102 if (!args
) SWIG_fail
;
33103 swig_obj
[0] = args
;
33104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33105 if (!SWIG_IsOK(res1
)) {
33106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33108 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33111 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33112 wxPyEndAllowThreads(__tstate
);
33113 if (PyErr_Occurred()) SWIG_fail
;
33115 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33122 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33123 PyObject
*resultobj
= 0;
33124 wxEffects
*arg1
= (wxEffects
*) 0 ;
33128 PyObject
*swig_obj
[1] ;
33130 if (!args
) SWIG_fail
;
33131 swig_obj
[0] = args
;
33132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33133 if (!SWIG_IsOK(res1
)) {
33134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33136 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33143 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33150 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33151 PyObject
*resultobj
= 0;
33152 wxEffects
*arg1
= (wxEffects
*) 0 ;
33156 PyObject
*swig_obj
[1] ;
33158 if (!args
) SWIG_fail
;
33159 swig_obj
[0] = args
;
33160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33161 if (!SWIG_IsOK(res1
)) {
33162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33164 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33167 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33168 wxPyEndAllowThreads(__tstate
);
33169 if (PyErr_Occurred()) SWIG_fail
;
33171 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33178 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33179 PyObject
*resultobj
= 0;
33180 wxEffects
*arg1
= (wxEffects
*) 0 ;
33184 PyObject
*swig_obj
[1] ;
33186 if (!args
) SWIG_fail
;
33187 swig_obj
[0] = args
;
33188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33189 if (!SWIG_IsOK(res1
)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33192 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33206 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33207 PyObject
*resultobj
= 0;
33208 wxEffects
*arg1
= (wxEffects
*) 0 ;
33212 PyObject
*swig_obj
[1] ;
33214 if (!args
) SWIG_fail
;
33215 swig_obj
[0] = args
;
33216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33217 if (!SWIG_IsOK(res1
)) {
33218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33220 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33223 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33227 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33234 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
= 0;
33236 wxEffects
*arg1
= (wxEffects
*) 0 ;
33237 wxColour
*arg2
= 0 ;
33241 PyObject
* obj0
= 0 ;
33242 PyObject
* obj1
= 0 ;
33243 char * kwnames
[] = {
33244 (char *) "self",(char *) "c", NULL
33247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33249 if (!SWIG_IsOK(res1
)) {
33250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33252 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33255 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33260 wxPyEndAllowThreads(__tstate
);
33261 if (PyErr_Occurred()) SWIG_fail
;
33263 resultobj
= SWIG_Py_Void();
33270 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33271 PyObject
*resultobj
= 0;
33272 wxEffects
*arg1
= (wxEffects
*) 0 ;
33273 wxColour
*arg2
= 0 ;
33277 PyObject
* obj0
= 0 ;
33278 PyObject
* obj1
= 0 ;
33279 char * kwnames
[] = {
33280 (char *) "self",(char *) "c", NULL
33283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33285 if (!SWIG_IsOK(res1
)) {
33286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33288 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33291 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_Py_Void();
33306 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
= 0;
33308 wxEffects
*arg1
= (wxEffects
*) 0 ;
33309 wxColour
*arg2
= 0 ;
33313 PyObject
* obj0
= 0 ;
33314 PyObject
* obj1
= 0 ;
33315 char * kwnames
[] = {
33316 (char *) "self",(char *) "c", NULL
33319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33321 if (!SWIG_IsOK(res1
)) {
33322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33324 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33331 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33332 wxPyEndAllowThreads(__tstate
);
33333 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= SWIG_Py_Void();
33342 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33343 PyObject
*resultobj
= 0;
33344 wxEffects
*arg1
= (wxEffects
*) 0 ;
33345 wxColour
*arg2
= 0 ;
33349 PyObject
* obj0
= 0 ;
33350 PyObject
* obj1
= 0 ;
33351 char * kwnames
[] = {
33352 (char *) "self",(char *) "c", NULL
33355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33357 if (!SWIG_IsOK(res1
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33360 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33367 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33368 wxPyEndAllowThreads(__tstate
);
33369 if (PyErr_Occurred()) SWIG_fail
;
33371 resultobj
= SWIG_Py_Void();
33378 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
= 0;
33380 wxEffects
*arg1
= (wxEffects
*) 0 ;
33381 wxColour
*arg2
= 0 ;
33385 PyObject
* obj0
= 0 ;
33386 PyObject
* obj1
= 0 ;
33387 char * kwnames
[] = {
33388 (char *) "self",(char *) "c", NULL
33391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33393 if (!SWIG_IsOK(res1
)) {
33394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33396 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33403 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33407 resultobj
= SWIG_Py_Void();
33414 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33415 PyObject
*resultobj
= 0;
33416 wxEffects
*arg1
= (wxEffects
*) 0 ;
33417 wxColour
*arg2
= 0 ;
33418 wxColour
*arg3
= 0 ;
33419 wxColour
*arg4
= 0 ;
33420 wxColour
*arg5
= 0 ;
33421 wxColour
*arg6
= 0 ;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 PyObject
* obj2
= 0 ;
33432 PyObject
* obj3
= 0 ;
33433 PyObject
* obj4
= 0 ;
33434 PyObject
* obj5
= 0 ;
33435 char * kwnames
[] = {
33436 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33441 if (!SWIG_IsOK(res1
)) {
33442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33444 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33451 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33455 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33459 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33463 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33467 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33468 wxPyEndAllowThreads(__tstate
);
33469 if (PyErr_Occurred()) SWIG_fail
;
33471 resultobj
= SWIG_Py_Void();
33478 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33479 PyObject
*resultobj
= 0;
33480 wxEffects
*arg1
= (wxEffects
*) 0 ;
33483 int arg4
= (int) 1 ;
33491 PyObject
* obj0
= 0 ;
33492 PyObject
* obj1
= 0 ;
33493 PyObject
* obj2
= 0 ;
33494 PyObject
* obj3
= 0 ;
33495 char * kwnames
[] = {
33496 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33501 if (!SWIG_IsOK(res1
)) {
33502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33504 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33506 if (!SWIG_IsOK(res2
)) {
33507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33512 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33515 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33518 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33519 if (!SWIG_IsOK(ecode4
)) {
33520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33522 arg4
= static_cast< int >(val4
);
33525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33526 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= SWIG_Py_Void();
33537 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
= 0;
33539 wxEffects
*arg1
= (wxEffects
*) 0 ;
33542 wxBitmap
*arg4
= 0 ;
33551 PyObject
* obj0
= 0 ;
33552 PyObject
* obj1
= 0 ;
33553 PyObject
* obj2
= 0 ;
33554 PyObject
* obj3
= 0 ;
33555 char * kwnames
[] = {
33556 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33561 if (!SWIG_IsOK(res1
)) {
33562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33564 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33567 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33569 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33570 if (!SWIG_IsOK(res3
)) {
33571 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33576 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33577 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33578 if (!SWIG_IsOK(res4
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33584 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33588 wxPyEndAllowThreads(__tstate
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33600 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33603 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33604 return SWIG_Py_Void();
33607 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33608 return SWIG_Python_InitShadowInstance(args
);
33611 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
= 0;
33616 wxSplitterRenderParams
*result
= 0 ;
33623 PyObject
* obj0
= 0 ;
33624 PyObject
* obj1
= 0 ;
33625 PyObject
* obj2
= 0 ;
33626 char * kwnames
[] = {
33627 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33631 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33632 if (!SWIG_IsOK(ecode1
)) {
33633 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33635 arg1
= static_cast< int >(val1
);
33636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33637 if (!SWIG_IsOK(ecode2
)) {
33638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33640 arg2
= static_cast< int >(val2
);
33641 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33642 if (!SWIG_IsOK(ecode3
)) {
33643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33645 arg3
= static_cast< bool >(val3
);
33647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33648 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33659 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33660 PyObject
*resultobj
= 0;
33661 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33664 PyObject
*swig_obj
[1] ;
33666 if (!args
) SWIG_fail
;
33667 swig_obj
[0] = args
;
33668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33669 if (!SWIG_IsOK(res1
)) {
33670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33672 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 resultobj
= SWIG_Py_Void();
33687 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33688 PyObject
*resultobj
= 0;
33689 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33693 PyObject
*swig_obj
[1] ;
33695 if (!args
) SWIG_fail
;
33696 swig_obj
[0] = args
;
33697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33698 if (!SWIG_IsOK(res1
)) {
33699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33701 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33702 result
= (int)(int) ((arg1
)->widthSash
);
33703 resultobj
= SWIG_From_int(static_cast< int >(result
));
33710 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33711 PyObject
*resultobj
= 0;
33712 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33716 PyObject
*swig_obj
[1] ;
33718 if (!args
) SWIG_fail
;
33719 swig_obj
[0] = args
;
33720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33721 if (!SWIG_IsOK(res1
)) {
33722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33724 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33725 result
= (int)(int) ((arg1
)->border
);
33726 resultobj
= SWIG_From_int(static_cast< int >(result
));
33733 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33734 PyObject
*resultobj
= 0;
33735 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33739 PyObject
*swig_obj
[1] ;
33741 if (!args
) SWIG_fail
;
33742 swig_obj
[0] = args
;
33743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33744 if (!SWIG_IsOK(res1
)) {
33745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33747 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33748 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33749 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33756 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33760 return SWIG_Py_Void();
33763 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33764 return SWIG_Python_InitShadowInstance(args
);
33767 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33768 PyObject
*resultobj
= 0;
33769 wxHeaderButtonParams
*result
= 0 ;
33771 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33785 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33786 PyObject
*resultobj
= 0;
33787 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33790 PyObject
*swig_obj
[1] ;
33792 if (!args
) SWIG_fail
;
33793 swig_obj
[0] = args
;
33794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33795 if (!SWIG_IsOK(res1
)) {
33796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33798 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33806 resultobj
= SWIG_Py_Void();
33813 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33814 PyObject
*resultobj
= 0;
33815 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33816 wxColour
*arg2
= (wxColour
*) 0 ;
33820 PyObject
*swig_obj
[2] ;
33822 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33824 if (!SWIG_IsOK(res1
)) {
33825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33827 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33830 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33832 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33834 resultobj
= SWIG_Py_Void();
33841 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33842 PyObject
*resultobj
= 0;
33843 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33844 wxColour
*result
= 0 ;
33847 PyObject
*swig_obj
[1] ;
33849 if (!args
) SWIG_fail
;
33850 swig_obj
[0] = args
;
33851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33852 if (!SWIG_IsOK(res1
)) {
33853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33855 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33856 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33864 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33865 PyObject
*resultobj
= 0;
33866 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33867 wxColour
*arg2
= (wxColour
*) 0 ;
33871 PyObject
*swig_obj
[2] ;
33873 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33875 if (!SWIG_IsOK(res1
)) {
33876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33878 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33881 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33883 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33885 resultobj
= SWIG_Py_Void();
33892 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33893 PyObject
*resultobj
= 0;
33894 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33895 wxColour
*result
= 0 ;
33898 PyObject
*swig_obj
[1] ;
33900 if (!args
) SWIG_fail
;
33901 swig_obj
[0] = args
;
33902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33906 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33907 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33915 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33916 PyObject
*resultobj
= 0;
33917 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33918 wxString
*arg2
= (wxString
*) 0 ;
33921 bool temp2
= false ;
33922 PyObject
*swig_obj
[2] ;
33924 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33929 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33931 arg2
= wxString_in_helper(swig_obj
[1]);
33932 if (arg2
== NULL
) SWIG_fail
;
33935 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33937 resultobj
= SWIG_Py_Void();
33952 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33953 PyObject
*resultobj
= 0;
33954 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33955 wxString
*result
= 0 ;
33958 PyObject
*swig_obj
[1] ;
33960 if (!args
) SWIG_fail
;
33961 swig_obj
[0] = args
;
33962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33963 if (!SWIG_IsOK(res1
)) {
33964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33966 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33967 result
= (wxString
*)& ((arg1
)->m_labelText
);
33970 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33972 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33981 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33982 PyObject
*resultobj
= 0;
33983 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33984 wxFont
*arg2
= (wxFont
*) 0 ;
33989 PyObject
*swig_obj
[2] ;
33991 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33993 if (!SWIG_IsOK(res1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33996 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33997 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33998 if (!SWIG_IsOK(res2
)) {
33999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34001 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34002 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34004 resultobj
= SWIG_Py_Void();
34011 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34012 PyObject
*resultobj
= 0;
34013 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34014 wxFont
*result
= 0 ;
34017 PyObject
*swig_obj
[1] ;
34019 if (!args
) SWIG_fail
;
34020 swig_obj
[0] = args
;
34021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34022 if (!SWIG_IsOK(res1
)) {
34023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34025 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34026 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34034 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34035 PyObject
*resultobj
= 0;
34036 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34037 wxColour
*arg2
= (wxColour
*) 0 ;
34041 PyObject
*swig_obj
[2] ;
34043 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34045 if (!SWIG_IsOK(res1
)) {
34046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34048 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34051 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34053 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34055 resultobj
= SWIG_Py_Void();
34062 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34063 PyObject
*resultobj
= 0;
34064 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34065 wxColour
*result
= 0 ;
34068 PyObject
*swig_obj
[1] ;
34070 if (!args
) SWIG_fail
;
34071 swig_obj
[0] = args
;
34072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34073 if (!SWIG_IsOK(res1
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34076 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34077 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34085 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34086 PyObject
*resultobj
= 0;
34087 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34088 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34093 PyObject
*swig_obj
[2] ;
34095 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34097 if (!SWIG_IsOK(res1
)) {
34098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34100 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34101 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34102 if (!SWIG_IsOK(res2
)) {
34103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34105 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34106 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34108 resultobj
= SWIG_Py_Void();
34115 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34116 PyObject
*resultobj
= 0;
34117 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34118 wxBitmap
*result
= 0 ;
34121 PyObject
*swig_obj
[1] ;
34123 if (!args
) SWIG_fail
;
34124 swig_obj
[0] = args
;
34125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34126 if (!SWIG_IsOK(res1
)) {
34127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34129 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34130 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34138 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34139 PyObject
*resultobj
= 0;
34140 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34146 PyObject
*swig_obj
[2] ;
34148 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34150 if (!SWIG_IsOK(res1
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34153 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34154 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34155 if (!SWIG_IsOK(ecode2
)) {
34156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34158 arg2
= static_cast< int >(val2
);
34159 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34161 resultobj
= SWIG_Py_Void();
34168 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34169 PyObject
*resultobj
= 0;
34170 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34174 PyObject
*swig_obj
[1] ;
34176 if (!args
) SWIG_fail
;
34177 swig_obj
[0] = args
;
34178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34179 if (!SWIG_IsOK(res1
)) {
34180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34182 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34183 result
= (int) ((arg1
)->m_labelAlignment
);
34184 resultobj
= SWIG_From_int(static_cast< int >(result
));
34191 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34194 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34195 return SWIG_Py_Void();
34198 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34199 return SWIG_Python_InitShadowInstance(args
);
34202 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34203 PyObject
*resultobj
= 0;
34206 wxRendererVersion
*result
= 0 ;
34211 PyObject
* obj0
= 0 ;
34212 PyObject
* obj1
= 0 ;
34213 char * kwnames
[] = {
34214 (char *) "version_",(char *) "age_", NULL
34217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34219 if (!SWIG_IsOK(ecode1
)) {
34220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34222 arg1
= static_cast< int >(val1
);
34223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34224 if (!SWIG_IsOK(ecode2
)) {
34225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34227 arg2
= static_cast< int >(val2
);
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34231 wxPyEndAllowThreads(__tstate
);
34232 if (PyErr_Occurred()) SWIG_fail
;
34234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34241 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34242 PyObject
*resultobj
= 0;
34243 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34246 PyObject
*swig_obj
[1] ;
34248 if (!args
) SWIG_fail
;
34249 swig_obj
[0] = args
;
34250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34251 if (!SWIG_IsOK(res1
)) {
34252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34254 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34262 resultobj
= SWIG_Py_Void();
34269 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34270 PyObject
*resultobj
= 0;
34271 wxRendererVersion
*arg1
= 0 ;
34275 PyObject
* obj0
= 0 ;
34276 char * kwnames
[] = {
34277 (char *) "ver", NULL
34280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34281 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34282 if (!SWIG_IsOK(res1
)) {
34283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34288 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34291 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34292 wxPyEndAllowThreads(__tstate
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34304 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34305 PyObject
*resultobj
= 0;
34306 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34310 PyObject
*swig_obj
[1] ;
34312 if (!args
) SWIG_fail
;
34313 swig_obj
[0] = args
;
34314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34315 if (!SWIG_IsOK(res1
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34318 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34319 result
= (int)(int) ((arg1
)->version
);
34320 resultobj
= SWIG_From_int(static_cast< int >(result
));
34327 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34328 PyObject
*resultobj
= 0;
34329 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34333 PyObject
*swig_obj
[1] ;
34335 if (!args
) SWIG_fail
;
34336 swig_obj
[0] = args
;
34337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34338 if (!SWIG_IsOK(res1
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34341 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34342 result
= (int)(int) ((arg1
)->age
);
34343 resultobj
= SWIG_From_int(static_cast< int >(result
));
34350 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34353 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34354 return SWIG_Py_Void();
34357 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34358 return SWIG_Python_InitShadowInstance(args
);
34361 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34362 PyObject
*resultobj
= 0;
34363 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34364 wxWindow
*arg2
= (wxWindow
*) 0 ;
34367 int arg5
= (int) 0 ;
34368 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34369 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34384 PyObject
* obj0
= 0 ;
34385 PyObject
* obj1
= 0 ;
34386 PyObject
* obj2
= 0 ;
34387 PyObject
* obj3
= 0 ;
34388 PyObject
* obj4
= 0 ;
34389 PyObject
* obj5
= 0 ;
34390 PyObject
* obj6
= 0 ;
34391 char * kwnames
[] = {
34392 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34397 if (!SWIG_IsOK(res1
)) {
34398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34400 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34402 if (!SWIG_IsOK(res2
)) {
34403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34405 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34406 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34407 if (!SWIG_IsOK(res3
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34413 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34416 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34419 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34420 if (!SWIG_IsOK(ecode5
)) {
34421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34423 arg5
= static_cast< int >(val5
);
34426 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34427 if (!SWIG_IsOK(ecode6
)) {
34428 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34430 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34433 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34434 if (!SWIG_IsOK(res7
)) {
34435 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34437 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34441 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34442 wxPyEndAllowThreads(__tstate
);
34443 if (PyErr_Occurred()) SWIG_fail
;
34445 resultobj
= SWIG_From_int(static_cast< int >(result
));
34452 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34453 PyObject
*resultobj
= 0;
34454 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34455 wxWindow
*arg2
= (wxWindow
*) 0 ;
34458 int arg5
= (int) 0 ;
34459 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34460 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34475 PyObject
* obj0
= 0 ;
34476 PyObject
* obj1
= 0 ;
34477 PyObject
* obj2
= 0 ;
34478 PyObject
* obj3
= 0 ;
34479 PyObject
* obj4
= 0 ;
34480 PyObject
* obj5
= 0 ;
34481 PyObject
* obj6
= 0 ;
34482 char * kwnames
[] = {
34483 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34488 if (!SWIG_IsOK(res1
)) {
34489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34491 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34493 if (!SWIG_IsOK(res2
)) {
34494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34496 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34497 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34498 if (!SWIG_IsOK(res3
)) {
34499 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34504 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34507 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34510 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34511 if (!SWIG_IsOK(ecode5
)) {
34512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34514 arg5
= static_cast< int >(val5
);
34517 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34518 if (!SWIG_IsOK(ecode6
)) {
34519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34521 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34524 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34525 if (!SWIG_IsOK(res7
)) {
34526 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34528 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34532 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34533 wxPyEndAllowThreads(__tstate
);
34534 if (PyErr_Occurred()) SWIG_fail
;
34536 resultobj
= SWIG_From_int(static_cast< int >(result
));
34543 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34544 PyObject
*resultobj
= 0;
34545 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34546 wxWindow
*arg2
= (wxWindow
*) 0 ;
34552 PyObject
* obj0
= 0 ;
34553 PyObject
* obj1
= 0 ;
34554 char * kwnames
[] = {
34555 (char *) "self",(char *) "win", NULL
34558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34560 if (!SWIG_IsOK(res1
)) {
34561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34563 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34564 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34565 if (!SWIG_IsOK(res2
)) {
34566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34568 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34571 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34572 wxPyEndAllowThreads(__tstate
);
34573 if (PyErr_Occurred()) SWIG_fail
;
34575 resultobj
= SWIG_From_int(static_cast< int >(result
));
34582 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
= 0;
34584 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34585 wxWindow
*arg2
= (wxWindow
*) 0 ;
34588 int arg5
= (int) 0 ;
34598 PyObject
* obj0
= 0 ;
34599 PyObject
* obj1
= 0 ;
34600 PyObject
* obj2
= 0 ;
34601 PyObject
* obj3
= 0 ;
34602 PyObject
* obj4
= 0 ;
34603 char * kwnames
[] = {
34604 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34609 if (!SWIG_IsOK(res1
)) {
34610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34612 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34614 if (!SWIG_IsOK(res2
)) {
34615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34617 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34618 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34619 if (!SWIG_IsOK(res3
)) {
34620 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34625 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34628 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34631 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34632 if (!SWIG_IsOK(ecode5
)) {
34633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34635 arg5
= static_cast< int >(val5
);
34638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34639 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34640 wxPyEndAllowThreads(__tstate
);
34641 if (PyErr_Occurred()) SWIG_fail
;
34643 resultobj
= SWIG_Py_Void();
34650 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34651 PyObject
*resultobj
= 0;
34652 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34653 wxWindow
*arg2
= (wxWindow
*) 0 ;
34656 int arg5
= (int) 0 ;
34666 PyObject
* obj0
= 0 ;
34667 PyObject
* obj1
= 0 ;
34668 PyObject
* obj2
= 0 ;
34669 PyObject
* obj3
= 0 ;
34670 PyObject
* obj4
= 0 ;
34671 char * kwnames
[] = {
34672 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34677 if (!SWIG_IsOK(res1
)) {
34678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34680 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34682 if (!SWIG_IsOK(res2
)) {
34683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34685 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34686 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34687 if (!SWIG_IsOK(res3
)) {
34688 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34693 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34696 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34700 if (!SWIG_IsOK(ecode5
)) {
34701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34703 arg5
= static_cast< int >(val5
);
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34708 wxPyEndAllowThreads(__tstate
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34711 resultobj
= SWIG_Py_Void();
34718 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34719 PyObject
*resultobj
= 0;
34720 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34721 wxWindow
*arg2
= (wxWindow
*) 0 ;
34725 wxOrientation arg6
;
34726 int arg7
= (int) 0 ;
34740 PyObject
* obj0
= 0 ;
34741 PyObject
* obj1
= 0 ;
34742 PyObject
* obj2
= 0 ;
34743 PyObject
* obj3
= 0 ;
34744 PyObject
* obj4
= 0 ;
34745 PyObject
* obj5
= 0 ;
34746 PyObject
* obj6
= 0 ;
34747 char * kwnames
[] = {
34748 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34753 if (!SWIG_IsOK(res1
)) {
34754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34756 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34757 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34758 if (!SWIG_IsOK(res2
)) {
34759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34761 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34762 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34763 if (!SWIG_IsOK(res3
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34769 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34772 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34775 if (!SWIG_IsOK(ecode5
)) {
34776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34778 arg5
= static_cast< int >(val5
);
34779 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34780 if (!SWIG_IsOK(ecode6
)) {
34781 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34783 arg6
= static_cast< wxOrientation
>(val6
);
34785 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34786 if (!SWIG_IsOK(ecode7
)) {
34787 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34789 arg7
= static_cast< int >(val7
);
34792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34793 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= SWIG_Py_Void();
34804 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
= 0;
34806 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34807 wxWindow
*arg2
= (wxWindow
*) 0 ;
34810 int arg5
= (int) 0 ;
34820 PyObject
* obj0
= 0 ;
34821 PyObject
* obj1
= 0 ;
34822 PyObject
* obj2
= 0 ;
34823 PyObject
* obj3
= 0 ;
34824 PyObject
* obj4
= 0 ;
34825 char * kwnames
[] = {
34826 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34831 if (!SWIG_IsOK(res1
)) {
34832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34834 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34836 if (!SWIG_IsOK(res2
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34840 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34841 if (!SWIG_IsOK(res3
)) {
34842 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34847 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34850 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34853 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34854 if (!SWIG_IsOK(ecode5
)) {
34855 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34857 arg5
= static_cast< int >(val5
);
34860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34861 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34862 wxPyEndAllowThreads(__tstate
);
34863 if (PyErr_Occurred()) SWIG_fail
;
34865 resultobj
= SWIG_Py_Void();
34872 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34873 PyObject
*resultobj
= 0;
34874 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34875 wxWindow
*arg2
= (wxWindow
*) 0 ;
34878 int arg5
= (int) 0 ;
34888 PyObject
* obj0
= 0 ;
34889 PyObject
* obj1
= 0 ;
34890 PyObject
* obj2
= 0 ;
34891 PyObject
* obj3
= 0 ;
34892 PyObject
* obj4
= 0 ;
34893 char * kwnames
[] = {
34894 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34899 if (!SWIG_IsOK(res1
)) {
34900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34902 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34904 if (!SWIG_IsOK(res2
)) {
34905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34908 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34909 if (!SWIG_IsOK(res3
)) {
34910 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34915 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34918 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34921 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34922 if (!SWIG_IsOK(ecode5
)) {
34923 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34925 arg5
= static_cast< int >(val5
);
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34930 wxPyEndAllowThreads(__tstate
);
34931 if (PyErr_Occurred()) SWIG_fail
;
34933 resultobj
= SWIG_Py_Void();
34940 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34941 PyObject
*resultobj
= 0;
34942 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34943 wxWindow
*arg2
= (wxWindow
*) 0 ;
34946 int arg5
= (int) 0 ;
34956 PyObject
* obj0
= 0 ;
34957 PyObject
* obj1
= 0 ;
34958 PyObject
* obj2
= 0 ;
34959 PyObject
* obj3
= 0 ;
34960 PyObject
* obj4
= 0 ;
34961 char * kwnames
[] = {
34962 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34967 if (!SWIG_IsOK(res1
)) {
34968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34970 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34971 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34972 if (!SWIG_IsOK(res2
)) {
34973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34975 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34976 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34977 if (!SWIG_IsOK(res3
)) {
34978 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34983 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34986 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34989 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34990 if (!SWIG_IsOK(ecode5
)) {
34991 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34993 arg5
= static_cast< int >(val5
);
34996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34997 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34998 wxPyEndAllowThreads(__tstate
);
34999 if (PyErr_Occurred()) SWIG_fail
;
35001 resultobj
= SWIG_Py_Void();
35008 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35009 PyObject
*resultobj
= 0;
35010 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35011 wxWindow
*arg2
= (wxWindow
*) 0 ;
35014 int arg5
= (int) 0 ;
35024 PyObject
* obj0
= 0 ;
35025 PyObject
* obj1
= 0 ;
35026 PyObject
* obj2
= 0 ;
35027 PyObject
* obj3
= 0 ;
35028 PyObject
* obj4
= 0 ;
35029 char * kwnames
[] = {
35030 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35035 if (!SWIG_IsOK(res1
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35038 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35040 if (!SWIG_IsOK(res2
)) {
35041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35043 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35044 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35045 if (!SWIG_IsOK(res3
)) {
35046 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35051 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35054 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35057 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35058 if (!SWIG_IsOK(ecode5
)) {
35059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35061 arg5
= static_cast< int >(val5
);
35064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35065 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35066 wxPyEndAllowThreads(__tstate
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35069 resultobj
= SWIG_Py_Void();
35076 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35077 PyObject
*resultobj
= 0;
35078 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35079 wxWindow
*arg2
= (wxWindow
*) 0 ;
35082 int arg5
= (int) 0 ;
35092 PyObject
* obj0
= 0 ;
35093 PyObject
* obj1
= 0 ;
35094 PyObject
* obj2
= 0 ;
35095 PyObject
* obj3
= 0 ;
35096 PyObject
* obj4
= 0 ;
35097 char * kwnames
[] = {
35098 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35103 if (!SWIG_IsOK(res1
)) {
35104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35106 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35108 if (!SWIG_IsOK(res2
)) {
35109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35111 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35112 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35113 if (!SWIG_IsOK(res3
)) {
35114 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35119 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35122 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35125 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35126 if (!SWIG_IsOK(ecode5
)) {
35127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35129 arg5
= static_cast< int >(val5
);
35132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35133 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35134 wxPyEndAllowThreads(__tstate
);
35135 if (PyErr_Occurred()) SWIG_fail
;
35137 resultobj
= SWIG_Py_Void();
35144 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35145 PyObject
*resultobj
= 0;
35146 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35147 wxWindow
*arg2
= (wxWindow
*) 0 ;
35148 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35153 PyObject
* obj0
= 0 ;
35154 PyObject
* obj1
= 0 ;
35155 char * kwnames
[] = {
35156 (char *) "self",(char *) "win", NULL
35159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35161 if (!SWIG_IsOK(res1
)) {
35162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35164 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35166 if (!SWIG_IsOK(res2
)) {
35167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35172 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35173 wxPyEndAllowThreads(__tstate
);
35174 if (PyErr_Occurred()) SWIG_fail
;
35176 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35183 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35184 PyObject
*resultobj
= 0;
35185 wxRendererNative
*result
= 0 ;
35187 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35189 if (!wxPyCheckForApp()) SWIG_fail
;
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35192 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35193 result
= (wxRendererNative
*) &_result_ref
;
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35205 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35206 PyObject
*resultobj
= 0;
35207 wxRendererNative
*result
= 0 ;
35209 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35211 if (!wxPyCheckForApp()) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35214 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35215 result
= (wxRendererNative
*) &_result_ref
;
35217 wxPyEndAllowThreads(__tstate
);
35218 if (PyErr_Occurred()) SWIG_fail
;
35220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35227 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35228 PyObject
*resultobj
= 0;
35229 wxRendererNative
*result
= 0 ;
35231 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35233 if (!wxPyCheckForApp()) SWIG_fail
;
35234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35237 result
= (wxRendererNative
*) &_result_ref
;
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35249 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35250 PyObject
*resultobj
= 0;
35251 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35252 wxRendererNative
*result
= 0 ;
35255 PyObject
* obj0
= 0 ;
35256 char * kwnames
[] = {
35257 (char *) "renderer", NULL
35260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35262 if (!SWIG_IsOK(res1
)) {
35263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35265 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35267 if (!wxPyCheckForApp()) SWIG_fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35280 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35281 PyObject
*resultobj
= 0;
35282 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35283 SwigValueWrapper
<wxRendererVersion
> result
;
35286 PyObject
*swig_obj
[1] ;
35288 if (!args
) SWIG_fail
;
35289 swig_obj
[0] = args
;
35290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35291 if (!SWIG_IsOK(res1
)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35294 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35308 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35311 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35312 return SWIG_Py_Void();
35315 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35316 PyObject
*resultobj
= 0;
35317 wxPseudoDC
*result
= 0 ;
35319 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35322 result
= (wxPseudoDC
*)new wxPseudoDC();
35323 wxPyEndAllowThreads(__tstate
);
35324 if (PyErr_Occurred()) SWIG_fail
;
35326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35333 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35334 PyObject
*resultobj
= 0;
35335 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35338 PyObject
*swig_obj
[1] ;
35340 if (!args
) SWIG_fail
;
35341 swig_obj
[0] = args
;
35342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35343 if (!SWIG_IsOK(res1
)) {
35344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35346 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35349 (arg1
)->BeginDrawing();
35350 wxPyEndAllowThreads(__tstate
);
35351 if (PyErr_Occurred()) SWIG_fail
;
35353 resultobj
= SWIG_Py_Void();
35360 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35361 PyObject
*resultobj
= 0;
35362 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35365 PyObject
*swig_obj
[1] ;
35367 if (!args
) SWIG_fail
;
35368 swig_obj
[0] = args
;
35369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35370 if (!SWIG_IsOK(res1
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35373 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 (arg1
)->EndDrawing();
35377 wxPyEndAllowThreads(__tstate
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35380 resultobj
= SWIG_Py_Void();
35387 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35388 PyObject
*resultobj
= 0;
35389 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35392 PyObject
*swig_obj
[1] ;
35394 if (!args
) SWIG_fail
;
35395 swig_obj
[0] = args
;
35396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35397 if (!SWIG_IsOK(res1
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35408 resultobj
= SWIG_Py_Void();
35415 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35416 PyObject
*resultobj
= 0;
35417 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35420 PyObject
*swig_obj
[1] ;
35422 if (!args
) SWIG_fail
;
35423 swig_obj
[0] = args
;
35424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35425 if (!SWIG_IsOK(res1
)) {
35426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35428 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35431 (arg1
)->RemoveAll();
35432 wxPyEndAllowThreads(__tstate
);
35433 if (PyErr_Occurred()) SWIG_fail
;
35435 resultobj
= SWIG_Py_Void();
35442 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35443 PyObject
*resultobj
= 0;
35444 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35448 PyObject
*swig_obj
[1] ;
35450 if (!args
) SWIG_fail
;
35451 swig_obj
[0] = args
;
35452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35453 if (!SWIG_IsOK(res1
)) {
35454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35456 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35459 result
= (int)(arg1
)->GetLen();
35460 wxPyEndAllowThreads(__tstate
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= SWIG_From_int(static_cast< int >(result
));
35470 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
= 0;
35472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35478 PyObject
* obj0
= 0 ;
35479 PyObject
* obj1
= 0 ;
35480 char * kwnames
[] = {
35481 (char *) "self",(char *) "id", NULL
35484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35486 if (!SWIG_IsOK(res1
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35489 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35491 if (!SWIG_IsOK(ecode2
)) {
35492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35494 arg2
= static_cast< int >(val2
);
35496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35497 (arg1
)->SetId(arg2
);
35498 wxPyEndAllowThreads(__tstate
);
35499 if (PyErr_Occurred()) SWIG_fail
;
35501 resultobj
= SWIG_Py_Void();
35508 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35509 PyObject
*resultobj
= 0;
35510 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35516 PyObject
* obj0
= 0 ;
35517 PyObject
* obj1
= 0 ;
35518 char * kwnames
[] = {
35519 (char *) "self",(char *) "id", NULL
35522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35524 if (!SWIG_IsOK(res1
)) {
35525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35527 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35529 if (!SWIG_IsOK(ecode2
)) {
35530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35532 arg2
= static_cast< int >(val2
);
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 (arg1
)->ClearId(arg2
);
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35539 resultobj
= SWIG_Py_Void();
35546 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35547 PyObject
*resultobj
= 0;
35548 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35554 PyObject
* obj0
= 0 ;
35555 PyObject
* obj1
= 0 ;
35556 char * kwnames
[] = {
35557 (char *) "self",(char *) "id", NULL
35560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35562 if (!SWIG_IsOK(res1
)) {
35563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35565 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35567 if (!SWIG_IsOK(ecode2
)) {
35568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35570 arg2
= static_cast< int >(val2
);
35572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35573 (arg1
)->RemoveId(arg2
);
35574 wxPyEndAllowThreads(__tstate
);
35575 if (PyErr_Occurred()) SWIG_fail
;
35577 resultobj
= SWIG_Py_Void();
35584 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35585 PyObject
*resultobj
= 0;
35586 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35598 PyObject
* obj0
= 0 ;
35599 PyObject
* obj1
= 0 ;
35600 PyObject
* obj2
= 0 ;
35601 PyObject
* obj3
= 0 ;
35602 char * kwnames
[] = {
35603 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35608 if (!SWIG_IsOK(res1
)) {
35609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35611 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35613 if (!SWIG_IsOK(ecode2
)) {
35614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35616 arg2
= static_cast< int >(val2
);
35617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35618 if (!SWIG_IsOK(ecode3
)) {
35619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35621 arg3
= static_cast< int >(val3
);
35622 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35623 if (!SWIG_IsOK(ecode4
)) {
35624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35626 arg4
= static_cast< int >(val4
);
35628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35629 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35630 wxPyEndAllowThreads(__tstate
);
35631 if (PyErr_Occurred()) SWIG_fail
;
35633 resultobj
= SWIG_Py_Void();
35640 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
= 0;
35642 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35644 bool arg3
= (bool) true ;
35651 PyObject
* obj0
= 0 ;
35652 PyObject
* obj1
= 0 ;
35653 PyObject
* obj2
= 0 ;
35654 char * kwnames
[] = {
35655 (char *) "self",(char *) "id",(char *) "greyout", NULL
35658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35660 if (!SWIG_IsOK(res1
)) {
35661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35663 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35665 if (!SWIG_IsOK(ecode2
)) {
35666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35668 arg2
= static_cast< int >(val2
);
35670 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35671 if (!SWIG_IsOK(ecode3
)) {
35672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35674 arg3
= static_cast< bool >(val3
);
35677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35678 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35679 wxPyEndAllowThreads(__tstate
);
35680 if (PyErr_Occurred()) SWIG_fail
;
35682 resultobj
= SWIG_Py_Void();
35689 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35690 PyObject
*resultobj
= 0;
35691 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35698 PyObject
* obj0
= 0 ;
35699 PyObject
* obj1
= 0 ;
35700 char * kwnames
[] = {
35701 (char *) "self",(char *) "id", NULL
35704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35706 if (!SWIG_IsOK(res1
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35709 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35711 if (!SWIG_IsOK(ecode2
)) {
35712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35714 arg2
= static_cast< int >(val2
);
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35718 wxPyEndAllowThreads(__tstate
);
35719 if (PyErr_Occurred()) SWIG_fail
;
35722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35730 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35731 PyObject
*resultobj
= 0;
35732 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35735 int arg4
= (int) 1 ;
35736 wxColor
const &arg5_defvalue
= *wxWHITE
;
35737 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35738 PyObject
*result
= 0 ;
35749 PyObject
* obj0
= 0 ;
35750 PyObject
* obj1
= 0 ;
35751 PyObject
* obj2
= 0 ;
35752 PyObject
* obj3
= 0 ;
35753 PyObject
* obj4
= 0 ;
35754 char * kwnames
[] = {
35755 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35760 if (!SWIG_IsOK(res1
)) {
35761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35763 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35765 if (!SWIG_IsOK(ecode2
)) {
35766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35768 arg2
= static_cast< int >(val2
);
35769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35770 if (!SWIG_IsOK(ecode3
)) {
35771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35773 arg3
= static_cast< int >(val3
);
35775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35776 if (!SWIG_IsOK(ecode4
)) {
35777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35779 arg4
= static_cast< int >(val4
);
35782 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35783 if (!SWIG_IsOK(res5
)) {
35784 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35789 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35792 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35793 if (PyErr_Occurred()) SWIG_fail
;
35795 resultobj
= result
;
35802 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35803 PyObject
*resultobj
= 0;
35804 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35807 PyObject
*result
= 0 ;
35814 PyObject
* obj0
= 0 ;
35815 PyObject
* obj1
= 0 ;
35816 PyObject
* obj2
= 0 ;
35817 char * kwnames
[] = {
35818 (char *) "self",(char *) "x",(char *) "y", NULL
35821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35823 if (!SWIG_IsOK(res1
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35826 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35828 if (!SWIG_IsOK(ecode2
)) {
35829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35831 arg2
= static_cast< int >(val2
);
35832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35833 if (!SWIG_IsOK(ecode3
)) {
35834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35836 arg3
= static_cast< int >(val3
);
35838 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35841 resultobj
= result
;
35848 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35849 PyObject
*resultobj
= 0;
35850 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35852 wxDC
*arg3
= (wxDC
*) 0 ;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 PyObject
* obj2
= 0 ;
35862 char * kwnames
[] = {
35863 (char *) "self",(char *) "id",(char *) "dc", NULL
35866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35868 if (!SWIG_IsOK(res1
)) {
35869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35871 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35873 if (!SWIG_IsOK(ecode2
)) {
35874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35876 arg2
= static_cast< int >(val2
);
35877 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35878 if (!SWIG_IsOK(res3
)) {
35879 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35881 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35884 (arg1
)->DrawIdToDC(arg2
,arg3
);
35885 wxPyEndAllowThreads(__tstate
);
35886 if (PyErr_Occurred()) SWIG_fail
;
35888 resultobj
= SWIG_Py_Void();
35895 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35896 PyObject
*resultobj
= 0;
35897 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35905 PyObject
* obj0
= 0 ;
35906 PyObject
* obj1
= 0 ;
35907 PyObject
* obj2
= 0 ;
35908 char * kwnames
[] = {
35909 (char *) "self",(char *) "id",(char *) "rect", NULL
35912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35914 if (!SWIG_IsOK(res1
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35917 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35919 if (!SWIG_IsOK(ecode2
)) {
35920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35922 arg2
= static_cast< int >(val2
);
35925 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 (arg1
)->SetIdBounds(arg2
,*arg3
);
35930 wxPyEndAllowThreads(__tstate
);
35931 if (PyErr_Occurred()) SWIG_fail
;
35933 resultobj
= SWIG_Py_Void();
35940 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35941 PyObject
*resultobj
= 0;
35942 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35949 PyObject
* obj0
= 0 ;
35950 PyObject
* obj1
= 0 ;
35951 char * kwnames
[] = {
35952 (char *) "self",(char *) "id", NULL
35955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35957 if (!SWIG_IsOK(res1
)) {
35958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35960 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35962 if (!SWIG_IsOK(ecode2
)) {
35963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35965 arg2
= static_cast< int >(val2
);
35967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35968 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35969 wxPyEndAllowThreads(__tstate
);
35970 if (PyErr_Occurred()) SWIG_fail
;
35972 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35979 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35980 PyObject
*resultobj
= 0;
35981 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35982 wxDC
*arg2
= (wxDC
*) 0 ;
35989 PyObject
* obj0
= 0 ;
35990 PyObject
* obj1
= 0 ;
35991 PyObject
* obj2
= 0 ;
35992 char * kwnames
[] = {
35993 (char *) "self",(char *) "dc",(char *) "rect", NULL
35996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35998 if (!SWIG_IsOK(res1
)) {
35999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36001 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36003 if (!SWIG_IsOK(res2
)) {
36004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36006 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36009 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36013 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36014 wxPyEndAllowThreads(__tstate
);
36015 if (PyErr_Occurred()) SWIG_fail
;
36017 resultobj
= SWIG_Py_Void();
36024 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36025 PyObject
*resultobj
= 0;
36026 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36027 wxDC
*arg2
= (wxDC
*) 0 ;
36028 wxRegion
*arg3
= 0 ;
36035 PyObject
* obj0
= 0 ;
36036 PyObject
* obj1
= 0 ;
36037 PyObject
* obj2
= 0 ;
36038 char * kwnames
[] = {
36039 (char *) "self",(char *) "dc",(char *) "region", NULL
36042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36044 if (!SWIG_IsOK(res1
)) {
36045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36047 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36048 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36049 if (!SWIG_IsOK(res2
)) {
36050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36052 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36053 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36054 if (!SWIG_IsOK(res3
)) {
36055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36060 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36063 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36067 resultobj
= SWIG_Py_Void();
36074 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36075 PyObject
*resultobj
= 0;
36076 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36077 wxDC
*arg2
= (wxDC
*) 0 ;
36082 PyObject
* obj0
= 0 ;
36083 PyObject
* obj1
= 0 ;
36084 char * kwnames
[] = {
36085 (char *) "self",(char *) "dc", NULL
36088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36090 if (!SWIG_IsOK(res1
)) {
36091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36095 if (!SWIG_IsOK(res2
)) {
36096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36098 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 (arg1
)->DrawToDC(arg2
);
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 resultobj
= SWIG_Py_Void();
36112 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36113 PyObject
*resultobj
= 0;
36114 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36117 wxColour
*arg4
= 0 ;
36118 int arg5
= (int) wxFLOOD_SURFACE
;
36128 PyObject
* obj0
= 0 ;
36129 PyObject
* obj1
= 0 ;
36130 PyObject
* obj2
= 0 ;
36131 PyObject
* obj3
= 0 ;
36132 PyObject
* obj4
= 0 ;
36133 char * kwnames
[] = {
36134 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36139 if (!SWIG_IsOK(res1
)) {
36140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36144 if (!SWIG_IsOK(ecode2
)) {
36145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36147 arg2
= static_cast< int >(val2
);
36148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36149 if (!SWIG_IsOK(ecode3
)) {
36150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36152 arg3
= static_cast< int >(val3
);
36155 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36158 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36159 if (!SWIG_IsOK(ecode5
)) {
36160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36162 arg5
= static_cast< int >(val5
);
36165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36166 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36170 resultobj
= SWIG_Py_Void();
36177 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36178 PyObject
*resultobj
= 0;
36179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36180 wxPoint
*arg2
= 0 ;
36181 wxColour
*arg3
= 0 ;
36182 int arg4
= (int) wxFLOOD_SURFACE
;
36189 PyObject
* obj0
= 0 ;
36190 PyObject
* obj1
= 0 ;
36191 PyObject
* obj2
= 0 ;
36192 PyObject
* obj3
= 0 ;
36193 char * kwnames
[] = {
36194 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36199 if (!SWIG_IsOK(res1
)) {
36200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36202 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36209 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36212 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36213 if (!SWIG_IsOK(ecode4
)) {
36214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36216 arg4
= static_cast< int >(val4
);
36219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36220 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36224 resultobj
= SWIG_Py_Void();
36231 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36232 PyObject
*resultobj
= 0;
36233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36248 PyObject
* obj0
= 0 ;
36249 PyObject
* obj1
= 0 ;
36250 PyObject
* obj2
= 0 ;
36251 PyObject
* obj3
= 0 ;
36252 PyObject
* obj4
= 0 ;
36253 char * kwnames
[] = {
36254 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36259 if (!SWIG_IsOK(res1
)) {
36260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36264 if (!SWIG_IsOK(ecode2
)) {
36265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36267 arg2
= static_cast< int >(val2
);
36268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36269 if (!SWIG_IsOK(ecode3
)) {
36270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36272 arg3
= static_cast< int >(val3
);
36273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36274 if (!SWIG_IsOK(ecode4
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36277 arg4
= static_cast< int >(val4
);
36278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36279 if (!SWIG_IsOK(ecode5
)) {
36280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36282 arg5
= static_cast< int >(val5
);
36284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36285 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36286 wxPyEndAllowThreads(__tstate
);
36287 if (PyErr_Occurred()) SWIG_fail
;
36289 resultobj
= SWIG_Py_Void();
36296 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36297 PyObject
*resultobj
= 0;
36298 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36299 wxPoint
*arg2
= 0 ;
36300 wxPoint
*arg3
= 0 ;
36305 PyObject
* obj0
= 0 ;
36306 PyObject
* obj1
= 0 ;
36307 PyObject
* obj2
= 0 ;
36308 char * kwnames
[] = {
36309 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36314 if (!SWIG_IsOK(res1
)) {
36315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36317 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36320 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36324 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36328 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 resultobj
= SWIG_Py_Void();
36339 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
= 0;
36341 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36350 PyObject
* obj0
= 0 ;
36351 PyObject
* obj1
= 0 ;
36352 PyObject
* obj2
= 0 ;
36353 char * kwnames
[] = {
36354 (char *) "self",(char *) "x",(char *) "y", NULL
36357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36359 if (!SWIG_IsOK(res1
)) {
36360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36362 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36364 if (!SWIG_IsOK(ecode2
)) {
36365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36367 arg2
= static_cast< int >(val2
);
36368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36369 if (!SWIG_IsOK(ecode3
)) {
36370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36372 arg3
= static_cast< int >(val3
);
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 (arg1
)->CrossHair(arg2
,arg3
);
36376 wxPyEndAllowThreads(__tstate
);
36377 if (PyErr_Occurred()) SWIG_fail
;
36379 resultobj
= SWIG_Py_Void();
36386 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
= 0;
36388 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36389 wxPoint
*arg2
= 0 ;
36393 PyObject
* obj0
= 0 ;
36394 PyObject
* obj1
= 0 ;
36395 char * kwnames
[] = {
36396 (char *) "self",(char *) "pt", NULL
36399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36401 if (!SWIG_IsOK(res1
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36411 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36412 wxPyEndAllowThreads(__tstate
);
36413 if (PyErr_Occurred()) SWIG_fail
;
36415 resultobj
= SWIG_Py_Void();
36422 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36423 PyObject
*resultobj
= 0;
36424 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36445 PyObject
* obj0
= 0 ;
36446 PyObject
* obj1
= 0 ;
36447 PyObject
* obj2
= 0 ;
36448 PyObject
* obj3
= 0 ;
36449 PyObject
* obj4
= 0 ;
36450 PyObject
* obj5
= 0 ;
36451 PyObject
* obj6
= 0 ;
36452 char * kwnames
[] = {
36453 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36458 if (!SWIG_IsOK(res1
)) {
36459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36463 if (!SWIG_IsOK(ecode2
)) {
36464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36466 arg2
= static_cast< int >(val2
);
36467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36468 if (!SWIG_IsOK(ecode3
)) {
36469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36471 arg3
= static_cast< int >(val3
);
36472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36473 if (!SWIG_IsOK(ecode4
)) {
36474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36476 arg4
= static_cast< int >(val4
);
36477 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36478 if (!SWIG_IsOK(ecode5
)) {
36479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36481 arg5
= static_cast< int >(val5
);
36482 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36483 if (!SWIG_IsOK(ecode6
)) {
36484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36486 arg6
= static_cast< int >(val6
);
36487 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36488 if (!SWIG_IsOK(ecode7
)) {
36489 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36491 arg7
= static_cast< int >(val7
);
36493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36494 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36495 wxPyEndAllowThreads(__tstate
);
36496 if (PyErr_Occurred()) SWIG_fail
;
36498 resultobj
= SWIG_Py_Void();
36505 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36506 PyObject
*resultobj
= 0;
36507 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36508 wxPoint
*arg2
= 0 ;
36509 wxPoint
*arg3
= 0 ;
36510 wxPoint
*arg4
= 0 ;
36516 PyObject
* obj0
= 0 ;
36517 PyObject
* obj1
= 0 ;
36518 PyObject
* obj2
= 0 ;
36519 PyObject
* obj3
= 0 ;
36520 char * kwnames
[] = {
36521 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36526 if (!SWIG_IsOK(res1
)) {
36527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36536 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36540 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36544 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36545 wxPyEndAllowThreads(__tstate
);
36546 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= SWIG_Py_Void();
36555 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
= 0;
36557 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36572 PyObject
* obj0
= 0 ;
36573 PyObject
* obj1
= 0 ;
36574 PyObject
* obj2
= 0 ;
36575 PyObject
* obj3
= 0 ;
36576 PyObject
* obj4
= 0 ;
36577 char * kwnames
[] = {
36578 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36583 if (!SWIG_IsOK(res1
)) {
36584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36586 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36588 if (!SWIG_IsOK(ecode2
)) {
36589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36591 arg2
= static_cast< int >(val2
);
36592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36593 if (!SWIG_IsOK(ecode3
)) {
36594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36596 arg3
= static_cast< int >(val3
);
36597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36598 if (!SWIG_IsOK(ecode4
)) {
36599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36601 arg4
= static_cast< int >(val4
);
36602 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36603 if (!SWIG_IsOK(ecode5
)) {
36604 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36606 arg5
= static_cast< int >(val5
);
36608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36609 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36610 wxPyEndAllowThreads(__tstate
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36613 resultobj
= SWIG_Py_Void();
36620 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36621 PyObject
*resultobj
= 0;
36622 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36627 PyObject
* obj0
= 0 ;
36628 PyObject
* obj1
= 0 ;
36629 char * kwnames
[] = {
36630 (char *) "self",(char *) "rect", NULL
36633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36635 if (!SWIG_IsOK(res1
)) {
36636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36638 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36641 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36645 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36646 wxPyEndAllowThreads(__tstate
);
36647 if (PyErr_Occurred()) SWIG_fail
;
36649 resultobj
= SWIG_Py_Void();
36656 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36657 PyObject
*resultobj
= 0;
36658 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36679 PyObject
* obj0
= 0 ;
36680 PyObject
* obj1
= 0 ;
36681 PyObject
* obj2
= 0 ;
36682 PyObject
* obj3
= 0 ;
36683 PyObject
* obj4
= 0 ;
36684 PyObject
* obj5
= 0 ;
36685 PyObject
* obj6
= 0 ;
36686 char * kwnames
[] = {
36687 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36692 if (!SWIG_IsOK(res1
)) {
36693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36695 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36697 if (!SWIG_IsOK(ecode2
)) {
36698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36700 arg2
= static_cast< int >(val2
);
36701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36702 if (!SWIG_IsOK(ecode3
)) {
36703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36705 arg3
= static_cast< int >(val3
);
36706 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36707 if (!SWIG_IsOK(ecode4
)) {
36708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36710 arg4
= static_cast< int >(val4
);
36711 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36712 if (!SWIG_IsOK(ecode5
)) {
36713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36715 arg5
= static_cast< int >(val5
);
36716 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36717 if (!SWIG_IsOK(ecode6
)) {
36718 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36720 arg6
= static_cast< double >(val6
);
36721 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36722 if (!SWIG_IsOK(ecode7
)) {
36723 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36725 arg7
= static_cast< double >(val7
);
36727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36728 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 resultobj
= SWIG_Py_Void();
36739 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36740 PyObject
*resultobj
= 0;
36741 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36742 wxPoint
*arg2
= 0 ;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 PyObject
* obj2
= 0 ;
36757 PyObject
* obj3
= 0 ;
36758 PyObject
* obj4
= 0 ;
36759 char * kwnames
[] = {
36760 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36765 if (!SWIG_IsOK(res1
)) {
36766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36775 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36777 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36778 if (!SWIG_IsOK(ecode4
)) {
36779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36781 arg4
= static_cast< double >(val4
);
36782 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36783 if (!SWIG_IsOK(ecode5
)) {
36784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36786 arg5
= static_cast< double >(val5
);
36788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36789 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36790 wxPyEndAllowThreads(__tstate
);
36791 if (PyErr_Occurred()) SWIG_fail
;
36793 resultobj
= SWIG_Py_Void();
36800 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36801 PyObject
*resultobj
= 0;
36802 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36811 PyObject
* obj0
= 0 ;
36812 PyObject
* obj1
= 0 ;
36813 PyObject
* obj2
= 0 ;
36814 char * kwnames
[] = {
36815 (char *) "self",(char *) "x",(char *) "y", NULL
36818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36820 if (!SWIG_IsOK(res1
)) {
36821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36823 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36825 if (!SWIG_IsOK(ecode2
)) {
36826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36828 arg2
= static_cast< int >(val2
);
36829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36830 if (!SWIG_IsOK(ecode3
)) {
36831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36833 arg3
= static_cast< int >(val3
);
36835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36836 (arg1
)->DrawPoint(arg2
,arg3
);
36837 wxPyEndAllowThreads(__tstate
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36840 resultobj
= SWIG_Py_Void();
36847 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36848 PyObject
*resultobj
= 0;
36849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36850 wxPoint
*arg2
= 0 ;
36854 PyObject
* obj0
= 0 ;
36855 PyObject
* obj1
= 0 ;
36856 char * kwnames
[] = {
36857 (char *) "self",(char *) "pt", NULL
36860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36862 if (!SWIG_IsOK(res1
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36868 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_Py_Void();
36883 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36884 PyObject
*resultobj
= 0;
36885 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36900 PyObject
* obj0
= 0 ;
36901 PyObject
* obj1
= 0 ;
36902 PyObject
* obj2
= 0 ;
36903 PyObject
* obj3
= 0 ;
36904 PyObject
* obj4
= 0 ;
36905 char * kwnames
[] = {
36906 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36911 if (!SWIG_IsOK(res1
)) {
36912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36914 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36916 if (!SWIG_IsOK(ecode2
)) {
36917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36919 arg2
= static_cast< int >(val2
);
36920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36921 if (!SWIG_IsOK(ecode3
)) {
36922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36924 arg3
= static_cast< int >(val3
);
36925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36926 if (!SWIG_IsOK(ecode4
)) {
36927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36929 arg4
= static_cast< int >(val4
);
36930 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36931 if (!SWIG_IsOK(ecode5
)) {
36932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36934 arg5
= static_cast< int >(val5
);
36936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36938 wxPyEndAllowThreads(__tstate
);
36939 if (PyErr_Occurred()) SWIG_fail
;
36941 resultobj
= SWIG_Py_Void();
36948 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36949 PyObject
*resultobj
= 0;
36950 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36955 PyObject
* obj0
= 0 ;
36956 PyObject
* obj1
= 0 ;
36957 char * kwnames
[] = {
36958 (char *) "self",(char *) "rect", NULL
36961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36963 if (!SWIG_IsOK(res1
)) {
36964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36966 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36969 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36973 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36974 wxPyEndAllowThreads(__tstate
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36977 resultobj
= SWIG_Py_Void();
36984 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36985 PyObject
*resultobj
= 0;
36986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36987 wxPoint
*arg2
= 0 ;
36993 PyObject
* obj0
= 0 ;
36994 PyObject
* obj1
= 0 ;
36995 PyObject
* obj2
= 0 ;
36996 char * kwnames
[] = {
36997 (char *) "self",(char *) "pt",(char *) "sz", NULL
37000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37002 if (!SWIG_IsOK(res1
)) {
37003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37005 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37008 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37012 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= SWIG_Py_Void();
37027 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
= 0;
37029 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37047 PyObject
* obj0
= 0 ;
37048 PyObject
* obj1
= 0 ;
37049 PyObject
* obj2
= 0 ;
37050 PyObject
* obj3
= 0 ;
37051 PyObject
* obj4
= 0 ;
37052 PyObject
* obj5
= 0 ;
37053 char * kwnames
[] = {
37054 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37059 if (!SWIG_IsOK(res1
)) {
37060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37062 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37064 if (!SWIG_IsOK(ecode2
)) {
37065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37067 arg2
= static_cast< int >(val2
);
37068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37069 if (!SWIG_IsOK(ecode3
)) {
37070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37072 arg3
= static_cast< int >(val3
);
37073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37074 if (!SWIG_IsOK(ecode4
)) {
37075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37077 arg4
= static_cast< int >(val4
);
37078 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37079 if (!SWIG_IsOK(ecode5
)) {
37080 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37082 arg5
= static_cast< int >(val5
);
37083 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37084 if (!SWIG_IsOK(ecode6
)) {
37085 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37087 arg6
= static_cast< double >(val6
);
37089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37090 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37091 wxPyEndAllowThreads(__tstate
);
37092 if (PyErr_Occurred()) SWIG_fail
;
37094 resultobj
= SWIG_Py_Void();
37101 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37102 PyObject
*resultobj
= 0;
37103 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37111 PyObject
* obj0
= 0 ;
37112 PyObject
* obj1
= 0 ;
37113 PyObject
* obj2
= 0 ;
37114 char * kwnames
[] = {
37115 (char *) "self",(char *) "r",(char *) "radius", NULL
37118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37120 if (!SWIG_IsOK(res1
)) {
37121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37123 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37126 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37128 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37129 if (!SWIG_IsOK(ecode3
)) {
37130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37132 arg3
= static_cast< double >(val3
);
37134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37135 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37136 wxPyEndAllowThreads(__tstate
);
37137 if (PyErr_Occurred()) SWIG_fail
;
37139 resultobj
= SWIG_Py_Void();
37146 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37147 PyObject
*resultobj
= 0;
37148 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37149 wxPoint
*arg2
= 0 ;
37158 PyObject
* obj0
= 0 ;
37159 PyObject
* obj1
= 0 ;
37160 PyObject
* obj2
= 0 ;
37161 PyObject
* obj3
= 0 ;
37162 char * kwnames
[] = {
37163 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37168 if (!SWIG_IsOK(res1
)) {
37169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37171 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37178 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37180 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37181 if (!SWIG_IsOK(ecode4
)) {
37182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37184 arg4
= static_cast< double >(val4
);
37186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37187 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37188 wxPyEndAllowThreads(__tstate
);
37189 if (PyErr_Occurred()) SWIG_fail
;
37191 resultobj
= SWIG_Py_Void();
37198 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37199 PyObject
*resultobj
= 0;
37200 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37212 PyObject
* obj0
= 0 ;
37213 PyObject
* obj1
= 0 ;
37214 PyObject
* obj2
= 0 ;
37215 PyObject
* obj3
= 0 ;
37216 char * kwnames
[] = {
37217 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37222 if (!SWIG_IsOK(res1
)) {
37223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37227 if (!SWIG_IsOK(ecode2
)) {
37228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37230 arg2
= static_cast< int >(val2
);
37231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37232 if (!SWIG_IsOK(ecode3
)) {
37233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37235 arg3
= static_cast< int >(val3
);
37236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37237 if (!SWIG_IsOK(ecode4
)) {
37238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37240 arg4
= static_cast< int >(val4
);
37242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37243 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37244 wxPyEndAllowThreads(__tstate
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37247 resultobj
= SWIG_Py_Void();
37254 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37255 PyObject
*resultobj
= 0;
37256 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37257 wxPoint
*arg2
= 0 ;
37264 PyObject
* obj0
= 0 ;
37265 PyObject
* obj1
= 0 ;
37266 PyObject
* obj2
= 0 ;
37267 char * kwnames
[] = {
37268 (char *) "self",(char *) "pt",(char *) "radius", NULL
37271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37273 if (!SWIG_IsOK(res1
)) {
37274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37276 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37279 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37282 if (!SWIG_IsOK(ecode3
)) {
37283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37285 arg3
= static_cast< int >(val3
);
37287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37288 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37289 wxPyEndAllowThreads(__tstate
);
37290 if (PyErr_Occurred()) SWIG_fail
;
37292 resultobj
= SWIG_Py_Void();
37299 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37300 PyObject
*resultobj
= 0;
37301 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37316 PyObject
* obj0
= 0 ;
37317 PyObject
* obj1
= 0 ;
37318 PyObject
* obj2
= 0 ;
37319 PyObject
* obj3
= 0 ;
37320 PyObject
* obj4
= 0 ;
37321 char * kwnames
[] = {
37322 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37327 if (!SWIG_IsOK(res1
)) {
37328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37330 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37332 if (!SWIG_IsOK(ecode2
)) {
37333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37335 arg2
= static_cast< int >(val2
);
37336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37337 if (!SWIG_IsOK(ecode3
)) {
37338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37340 arg3
= static_cast< int >(val3
);
37341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37342 if (!SWIG_IsOK(ecode4
)) {
37343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37345 arg4
= static_cast< int >(val4
);
37346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37347 if (!SWIG_IsOK(ecode5
)) {
37348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37350 arg5
= static_cast< int >(val5
);
37352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37353 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37354 wxPyEndAllowThreads(__tstate
);
37355 if (PyErr_Occurred()) SWIG_fail
;
37357 resultobj
= SWIG_Py_Void();
37364 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37365 PyObject
*resultobj
= 0;
37366 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37371 PyObject
* obj0
= 0 ;
37372 PyObject
* obj1
= 0 ;
37373 char * kwnames
[] = {
37374 (char *) "self",(char *) "rect", NULL
37377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37379 if (!SWIG_IsOK(res1
)) {
37380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37382 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37385 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37389 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37390 wxPyEndAllowThreads(__tstate
);
37391 if (PyErr_Occurred()) SWIG_fail
;
37393 resultobj
= SWIG_Py_Void();
37400 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37401 PyObject
*resultobj
= 0;
37402 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37403 wxPoint
*arg2
= 0 ;
37409 PyObject
* obj0
= 0 ;
37410 PyObject
* obj1
= 0 ;
37411 PyObject
* obj2
= 0 ;
37412 char * kwnames
[] = {
37413 (char *) "self",(char *) "pt",(char *) "sz", NULL
37416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37418 if (!SWIG_IsOK(res1
)) {
37419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37421 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37428 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37432 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37433 wxPyEndAllowThreads(__tstate
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37436 resultobj
= SWIG_Py_Void();
37443 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37444 PyObject
*resultobj
= 0;
37445 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37457 PyObject
* obj0
= 0 ;
37458 PyObject
* obj1
= 0 ;
37459 PyObject
* obj2
= 0 ;
37460 PyObject
* obj3
= 0 ;
37461 char * kwnames
[] = {
37462 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37467 if (!SWIG_IsOK(res1
)) {
37468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37470 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37472 if (!SWIG_IsOK(res2
)) {
37473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37478 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37480 if (!SWIG_IsOK(ecode3
)) {
37481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37483 arg3
= static_cast< int >(val3
);
37484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37485 if (!SWIG_IsOK(ecode4
)) {
37486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37488 arg4
= static_cast< int >(val4
);
37490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37491 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37492 wxPyEndAllowThreads(__tstate
);
37493 if (PyErr_Occurred()) SWIG_fail
;
37495 resultobj
= SWIG_Py_Void();
37502 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37503 PyObject
*resultobj
= 0;
37504 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37506 wxPoint
*arg3
= 0 ;
37512 PyObject
* obj0
= 0 ;
37513 PyObject
* obj1
= 0 ;
37514 PyObject
* obj2
= 0 ;
37515 char * kwnames
[] = {
37516 (char *) "self",(char *) "icon",(char *) "pt", NULL
37519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37521 if (!SWIG_IsOK(res1
)) {
37522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37524 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37526 if (!SWIG_IsOK(res2
)) {
37527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37532 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37535 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37540 wxPyEndAllowThreads(__tstate
);
37541 if (PyErr_Occurred()) SWIG_fail
;
37543 resultobj
= SWIG_Py_Void();
37550 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
= 0;
37552 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37553 wxBitmap
*arg2
= 0 ;
37556 bool arg5
= (bool) false ;
37567 PyObject
* obj0
= 0 ;
37568 PyObject
* obj1
= 0 ;
37569 PyObject
* obj2
= 0 ;
37570 PyObject
* obj3
= 0 ;
37571 PyObject
* obj4
= 0 ;
37572 char * kwnames
[] = {
37573 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37578 if (!SWIG_IsOK(res1
)) {
37579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37581 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37583 if (!SWIG_IsOK(res2
)) {
37584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37589 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37591 if (!SWIG_IsOK(ecode3
)) {
37592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37594 arg3
= static_cast< int >(val3
);
37595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37596 if (!SWIG_IsOK(ecode4
)) {
37597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37599 arg4
= static_cast< int >(val4
);
37601 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37602 if (!SWIG_IsOK(ecode5
)) {
37603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37605 arg5
= static_cast< bool >(val5
);
37608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37609 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37610 wxPyEndAllowThreads(__tstate
);
37611 if (PyErr_Occurred()) SWIG_fail
;
37613 resultobj
= SWIG_Py_Void();
37620 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37621 PyObject
*resultobj
= 0;
37622 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37623 wxBitmap
*arg2
= 0 ;
37624 wxPoint
*arg3
= 0 ;
37625 bool arg4
= (bool) false ;
37633 PyObject
* obj0
= 0 ;
37634 PyObject
* obj1
= 0 ;
37635 PyObject
* obj2
= 0 ;
37636 PyObject
* obj3
= 0 ;
37637 char * kwnames
[] = {
37638 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37643 if (!SWIG_IsOK(res1
)) {
37644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37646 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37648 if (!SWIG_IsOK(res2
)) {
37649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37654 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37660 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37661 if (!SWIG_IsOK(ecode4
)) {
37662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37664 arg4
= static_cast< bool >(val4
);
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37672 resultobj
= SWIG_Py_Void();
37679 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37680 PyObject
*resultobj
= 0;
37681 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37682 wxString
*arg2
= 0 ;
37687 bool temp2
= false ;
37692 PyObject
* obj0
= 0 ;
37693 PyObject
* obj1
= 0 ;
37694 PyObject
* obj2
= 0 ;
37695 PyObject
* obj3
= 0 ;
37696 char * kwnames
[] = {
37697 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37702 if (!SWIG_IsOK(res1
)) {
37703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37705 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37707 arg2
= wxString_in_helper(obj1
);
37708 if (arg2
== NULL
) SWIG_fail
;
37711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37712 if (!SWIG_IsOK(ecode3
)) {
37713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37715 arg3
= static_cast< int >(val3
);
37716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37717 if (!SWIG_IsOK(ecode4
)) {
37718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37720 arg4
= static_cast< int >(val4
);
37722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37723 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37724 wxPyEndAllowThreads(__tstate
);
37725 if (PyErr_Occurred()) SWIG_fail
;
37727 resultobj
= SWIG_Py_Void();
37742 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37743 PyObject
*resultobj
= 0;
37744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37745 wxString
*arg2
= 0 ;
37746 wxPoint
*arg3
= 0 ;
37749 bool temp2
= false ;
37751 PyObject
* obj0
= 0 ;
37752 PyObject
* obj1
= 0 ;
37753 PyObject
* obj2
= 0 ;
37754 char * kwnames
[] = {
37755 (char *) "self",(char *) "text",(char *) "pt", NULL
37758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37760 if (!SWIG_IsOK(res1
)) {
37761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37763 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37765 arg2
= wxString_in_helper(obj1
);
37766 if (arg2
== NULL
) SWIG_fail
;
37771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37775 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37776 wxPyEndAllowThreads(__tstate
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37779 resultobj
= SWIG_Py_Void();
37794 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37795 PyObject
*resultobj
= 0;
37796 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37797 wxString
*arg2
= 0 ;
37803 bool temp2
= false ;
37810 PyObject
* obj0
= 0 ;
37811 PyObject
* obj1
= 0 ;
37812 PyObject
* obj2
= 0 ;
37813 PyObject
* obj3
= 0 ;
37814 PyObject
* obj4
= 0 ;
37815 char * kwnames
[] = {
37816 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37821 if (!SWIG_IsOK(res1
)) {
37822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37824 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37826 arg2
= wxString_in_helper(obj1
);
37827 if (arg2
== NULL
) SWIG_fail
;
37830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37831 if (!SWIG_IsOK(ecode3
)) {
37832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37834 arg3
= static_cast< int >(val3
);
37835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37836 if (!SWIG_IsOK(ecode4
)) {
37837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37839 arg4
= static_cast< int >(val4
);
37840 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37841 if (!SWIG_IsOK(ecode5
)) {
37842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37844 arg5
= static_cast< double >(val5
);
37846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37847 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37848 wxPyEndAllowThreads(__tstate
);
37849 if (PyErr_Occurred()) SWIG_fail
;
37851 resultobj
= SWIG_Py_Void();
37866 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37867 PyObject
*resultobj
= 0;
37868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37869 wxString
*arg2
= 0 ;
37870 wxPoint
*arg3
= 0 ;
37874 bool temp2
= false ;
37878 PyObject
* obj0
= 0 ;
37879 PyObject
* obj1
= 0 ;
37880 PyObject
* obj2
= 0 ;
37881 PyObject
* obj3
= 0 ;
37882 char * kwnames
[] = {
37883 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37888 if (!SWIG_IsOK(res1
)) {
37889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37893 arg2
= wxString_in_helper(obj1
);
37894 if (arg2
== NULL
) SWIG_fail
;
37899 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37901 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37902 if (!SWIG_IsOK(ecode4
)) {
37903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37905 arg4
= static_cast< double >(val4
);
37907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37908 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37909 wxPyEndAllowThreads(__tstate
);
37910 if (PyErr_Occurred()) SWIG_fail
;
37912 resultobj
= SWIG_Py_Void();
37927 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37928 PyObject
*resultobj
= 0;
37929 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37931 wxPoint
*arg3
= (wxPoint
*) 0 ;
37932 int arg4
= (int) 0 ;
37933 int arg5
= (int) 0 ;
37940 PyObject
* obj0
= 0 ;
37941 PyObject
* obj1
= 0 ;
37942 PyObject
* obj2
= 0 ;
37943 PyObject
* obj3
= 0 ;
37944 char * kwnames
[] = {
37945 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37950 if (!SWIG_IsOK(res1
)) {
37951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37953 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37955 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37956 if (arg3
== NULL
) SWIG_fail
;
37959 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37960 if (!SWIG_IsOK(ecode4
)) {
37961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37963 arg4
= static_cast< int >(val4
);
37966 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37967 if (!SWIG_IsOK(ecode5
)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37970 arg5
= static_cast< int >(val5
);
37973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37974 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37975 wxPyEndAllowThreads(__tstate
);
37976 if (PyErr_Occurred()) SWIG_fail
;
37978 resultobj
= SWIG_Py_Void();
37980 if (arg3
) delete [] arg3
;
37985 if (arg3
) delete [] arg3
;
37991 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37992 PyObject
*resultobj
= 0;
37993 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37995 wxPoint
*arg3
= (wxPoint
*) 0 ;
37996 int arg4
= (int) 0 ;
37997 int arg5
= (int) 0 ;
37998 int arg6
= (int) wxODDEVEN_RULE
;
38007 PyObject
* obj0
= 0 ;
38008 PyObject
* obj1
= 0 ;
38009 PyObject
* obj2
= 0 ;
38010 PyObject
* obj3
= 0 ;
38011 PyObject
* obj4
= 0 ;
38012 char * kwnames
[] = {
38013 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38018 if (!SWIG_IsOK(res1
)) {
38019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38021 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38023 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38024 if (arg3
== NULL
) SWIG_fail
;
38027 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38028 if (!SWIG_IsOK(ecode4
)) {
38029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38031 arg4
= static_cast< int >(val4
);
38034 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38035 if (!SWIG_IsOK(ecode5
)) {
38036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38038 arg5
= static_cast< int >(val5
);
38041 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38042 if (!SWIG_IsOK(ecode6
)) {
38043 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38045 arg6
= static_cast< int >(val6
);
38048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38049 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38050 wxPyEndAllowThreads(__tstate
);
38051 if (PyErr_Occurred()) SWIG_fail
;
38053 resultobj
= SWIG_Py_Void();
38055 if (arg3
) delete [] arg3
;
38060 if (arg3
) delete [] arg3
;
38066 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38067 PyObject
*resultobj
= 0;
38068 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38069 wxString
*arg2
= 0 ;
38071 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38072 int arg5
= (int) -1 ;
38075 bool temp2
= false ;
38081 PyObject
* obj0
= 0 ;
38082 PyObject
* obj1
= 0 ;
38083 PyObject
* obj2
= 0 ;
38084 PyObject
* obj3
= 0 ;
38085 PyObject
* obj4
= 0 ;
38086 char * kwnames
[] = {
38087 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38092 if (!SWIG_IsOK(res1
)) {
38093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38095 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38097 arg2
= wxString_in_helper(obj1
);
38098 if (arg2
== NULL
) SWIG_fail
;
38103 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38107 if (!SWIG_IsOK(ecode4
)) {
38108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38110 arg4
= static_cast< int >(val4
);
38113 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38114 if (!SWIG_IsOK(ecode5
)) {
38115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38117 arg5
= static_cast< int >(val5
);
38120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38121 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38122 wxPyEndAllowThreads(__tstate
);
38123 if (PyErr_Occurred()) SWIG_fail
;
38125 resultobj
= SWIG_Py_Void();
38140 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38141 PyObject
*resultobj
= 0;
38142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38143 wxString
*arg2
= 0 ;
38144 wxBitmap
*arg3
= 0 ;
38146 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38147 int arg6
= (int) -1 ;
38150 bool temp2
= false ;
38158 PyObject
* obj0
= 0 ;
38159 PyObject
* obj1
= 0 ;
38160 PyObject
* obj2
= 0 ;
38161 PyObject
* obj3
= 0 ;
38162 PyObject
* obj4
= 0 ;
38163 PyObject
* obj5
= 0 ;
38164 char * kwnames
[] = {
38165 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38170 if (!SWIG_IsOK(res1
)) {
38171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38173 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38175 arg2
= wxString_in_helper(obj1
);
38176 if (arg2
== NULL
) SWIG_fail
;
38179 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38180 if (!SWIG_IsOK(res3
)) {
38181 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38186 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38189 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38192 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38193 if (!SWIG_IsOK(ecode5
)) {
38194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38196 arg5
= static_cast< int >(val5
);
38199 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38200 if (!SWIG_IsOK(ecode6
)) {
38201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38203 arg6
= static_cast< int >(val6
);
38206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38207 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38208 wxPyEndAllowThreads(__tstate
);
38209 if (PyErr_Occurred()) SWIG_fail
;
38211 resultobj
= SWIG_Py_Void();
38226 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38227 PyObject
*resultobj
= 0;
38228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38230 wxPoint
*arg3
= (wxPoint
*) 0 ;
38233 PyObject
* obj0
= 0 ;
38234 PyObject
* obj1
= 0 ;
38235 char * kwnames
[] = {
38236 (char *) "self",(char *) "points", NULL
38239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38241 if (!SWIG_IsOK(res1
)) {
38242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38244 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38246 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38247 if (arg3
== NULL
) SWIG_fail
;
38250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38251 (arg1
)->DrawSpline(arg2
,arg3
);
38252 wxPyEndAllowThreads(__tstate
);
38253 if (PyErr_Occurred()) SWIG_fail
;
38255 resultobj
= SWIG_Py_Void();
38257 if (arg3
) delete [] arg3
;
38262 if (arg3
) delete [] arg3
;
38268 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38269 PyObject
*resultobj
= 0;
38270 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38273 PyObject
*swig_obj
[1] ;
38275 if (!args
) SWIG_fail
;
38276 swig_obj
[0] = args
;
38277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38278 if (!SWIG_IsOK(res1
)) {
38279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38281 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38288 resultobj
= SWIG_Py_Void();
38295 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38296 PyObject
*resultobj
= 0;
38297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38303 PyObject
* obj0
= 0 ;
38304 PyObject
* obj1
= 0 ;
38305 char * kwnames
[] = {
38306 (char *) "self",(char *) "font", NULL
38309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38311 if (!SWIG_IsOK(res1
)) {
38312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38316 if (!SWIG_IsOK(res2
)) {
38317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38322 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38325 (arg1
)->SetFont((wxFont
const &)*arg2
);
38326 wxPyEndAllowThreads(__tstate
);
38327 if (PyErr_Occurred()) SWIG_fail
;
38329 resultobj
= SWIG_Py_Void();
38336 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38337 PyObject
*resultobj
= 0;
38338 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38344 PyObject
* obj0
= 0 ;
38345 PyObject
* obj1
= 0 ;
38346 char * kwnames
[] = {
38347 (char *) "self",(char *) "pen", NULL
38350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38352 if (!SWIG_IsOK(res1
)) {
38353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38355 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38357 if (!SWIG_IsOK(res2
)) {
38358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38363 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38366 (arg1
)->SetPen((wxPen
const &)*arg2
);
38367 wxPyEndAllowThreads(__tstate
);
38368 if (PyErr_Occurred()) SWIG_fail
;
38370 resultobj
= SWIG_Py_Void();
38377 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38378 PyObject
*resultobj
= 0;
38379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38380 wxBrush
*arg2
= 0 ;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 char * kwnames
[] = {
38388 (char *) "self",(char *) "brush", NULL
38391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38393 if (!SWIG_IsOK(res1
)) {
38394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38396 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38398 if (!SWIG_IsOK(res2
)) {
38399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38404 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38407 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= SWIG_Py_Void();
38418 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
= 0;
38420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38421 wxBrush
*arg2
= 0 ;
38426 PyObject
* obj0
= 0 ;
38427 PyObject
* obj1
= 0 ;
38428 char * kwnames
[] = {
38429 (char *) "self",(char *) "brush", NULL
38432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38434 if (!SWIG_IsOK(res1
)) {
38435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38439 if (!SWIG_IsOK(res2
)) {
38440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38445 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38448 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38452 resultobj
= SWIG_Py_Void();
38459 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38460 PyObject
*resultobj
= 0;
38461 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38467 PyObject
* obj0
= 0 ;
38468 PyObject
* obj1
= 0 ;
38469 char * kwnames
[] = {
38470 (char *) "self",(char *) "mode", NULL
38473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38475 if (!SWIG_IsOK(res1
)) {
38476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38478 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38480 if (!SWIG_IsOK(ecode2
)) {
38481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38483 arg2
= static_cast< int >(val2
);
38485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38486 (arg1
)->SetBackgroundMode(arg2
);
38487 wxPyEndAllowThreads(__tstate
);
38488 if (PyErr_Occurred()) SWIG_fail
;
38490 resultobj
= SWIG_Py_Void();
38497 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38498 PyObject
*resultobj
= 0;
38499 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38500 wxPalette
*arg2
= 0 ;
38505 PyObject
* obj0
= 0 ;
38506 PyObject
* obj1
= 0 ;
38507 char * kwnames
[] = {
38508 (char *) "self",(char *) "palette", NULL
38511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38513 if (!SWIG_IsOK(res1
)) {
38514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38516 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38518 if (!SWIG_IsOK(res2
)) {
38519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38524 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38527 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38528 wxPyEndAllowThreads(__tstate
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= SWIG_Py_Void();
38538 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38539 PyObject
*resultobj
= 0;
38540 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38541 wxColour
*arg2
= 0 ;
38545 PyObject
* obj0
= 0 ;
38546 PyObject
* obj1
= 0 ;
38547 char * kwnames
[] = {
38548 (char *) "self",(char *) "colour", NULL
38551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38553 if (!SWIG_IsOK(res1
)) {
38554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38556 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38563 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38564 wxPyEndAllowThreads(__tstate
);
38565 if (PyErr_Occurred()) SWIG_fail
;
38567 resultobj
= SWIG_Py_Void();
38574 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38575 PyObject
*resultobj
= 0;
38576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38577 wxColour
*arg2
= 0 ;
38581 PyObject
* obj0
= 0 ;
38582 PyObject
* obj1
= 0 ;
38583 char * kwnames
[] = {
38584 (char *) "self",(char *) "colour", NULL
38587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38589 if (!SWIG_IsOK(res1
)) {
38590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38592 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38595 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38599 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38600 wxPyEndAllowThreads(__tstate
);
38601 if (PyErr_Occurred()) SWIG_fail
;
38603 resultobj
= SWIG_Py_Void();
38610 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38611 PyObject
*resultobj
= 0;
38612 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38618 PyObject
* obj0
= 0 ;
38619 PyObject
* obj1
= 0 ;
38620 char * kwnames
[] = {
38621 (char *) "self",(char *) "function", NULL
38624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38626 if (!SWIG_IsOK(res1
)) {
38627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38631 if (!SWIG_IsOK(ecode2
)) {
38632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38634 arg2
= static_cast< int >(val2
);
38636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38637 (arg1
)->SetLogicalFunction(arg2
);
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38641 resultobj
= SWIG_Py_Void();
38648 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38651 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38652 return SWIG_Py_Void();
38655 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38656 return SWIG_Python_InitShadowInstance(args
);
38659 static PyMethodDef SwigMethods
[] = {
38660 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38661 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38662 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38663 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38664 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38665 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38669 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38670 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38671 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38672 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38673 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38674 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38679 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38683 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38684 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38685 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38687 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38690 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38691 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38692 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38693 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38695 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38696 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38697 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38698 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38699 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38700 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38701 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38708 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38712 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38713 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38716 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38720 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38721 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38722 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38723 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38724 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38725 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38727 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38728 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38730 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38736 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38737 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38738 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38739 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38740 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38741 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38742 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38748 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38758 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38759 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38763 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38764 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38765 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38766 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38767 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38768 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38769 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38770 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38771 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38772 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38773 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38774 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38775 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38776 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38777 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38779 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38780 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38786 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38787 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38788 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38789 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38790 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38791 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38792 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38793 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38794 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38795 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38796 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38797 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38799 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38800 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38806 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38807 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38808 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38810 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38811 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38812 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38814 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38815 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38819 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38820 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38821 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38822 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38827 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38828 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38830 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38831 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38833 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38835 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38836 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38837 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38838 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38841 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38845 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38846 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38848 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38851 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38852 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38853 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38858 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38859 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38865 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38869 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38880 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38883 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38884 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38886 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38887 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38888 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38889 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38890 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38891 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38892 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38893 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38894 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38895 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38896 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38897 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38898 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38899 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38900 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38901 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38902 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38904 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38905 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38906 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38907 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38908 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38909 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38910 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38919 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38920 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38922 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38923 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38924 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38925 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38926 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38927 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38928 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38929 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38930 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38932 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38933 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38934 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38937 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38938 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38939 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38942 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38948 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38953 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38954 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38956 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38962 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38965 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38966 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38967 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38968 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38969 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38970 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38971 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38972 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38973 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38974 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38975 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38976 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38977 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38989 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38990 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38991 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38993 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38994 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38996 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38997 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38998 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38999 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39003 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39004 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39006 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39007 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39008 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39009 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39010 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39011 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39012 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39013 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39014 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39016 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39019 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39020 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39021 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39022 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39023 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39024 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39025 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39026 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39036 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39037 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39038 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39040 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39045 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39046 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39047 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39048 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39049 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39055 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39056 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39057 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39107 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39109 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39110 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39111 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39118 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39119 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39120 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39121 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39122 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39127 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39128 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39129 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39130 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39139 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39140 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39141 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39142 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39143 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39144 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39145 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39146 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39147 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39148 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39149 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39150 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39153 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39155 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39157 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39159 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39160 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39163 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39164 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39168 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39170 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39173 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39174 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39175 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39176 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39177 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39178 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39179 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39187 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39189 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39190 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39191 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39193 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39194 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39195 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39197 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39198 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39199 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39200 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39201 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39202 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39203 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39204 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39207 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39208 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39209 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39211 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39212 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39214 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39215 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39217 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39218 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39223 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39224 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39225 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39226 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39227 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39229 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39230 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39231 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39233 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39234 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39236 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39237 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39240 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39241 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39243 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39246 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39247 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39248 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39250 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39251 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39253 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39254 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39255 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39256 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39257 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39259 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39260 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39261 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39263 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39264 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39266 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39267 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39268 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39269 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39270 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39271 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39272 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39273 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39274 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39275 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39276 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39277 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39278 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39279 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39280 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39281 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39282 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39283 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39284 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39287 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39288 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39290 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39296 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39297 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39298 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39299 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39300 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39301 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39302 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39303 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39305 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39306 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39307 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39314 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39317 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39318 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39319 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39320 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39321 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39322 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39323 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39326 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39333 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39334 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39337 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39338 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39339 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39346 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39347 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39348 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39349 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39367 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39368 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39369 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39370 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39371 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39372 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39375 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39382 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39383 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39384 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39385 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39387 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39388 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39389 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39390 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39391 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39392 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39393 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39394 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39395 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39396 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39397 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39398 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39400 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39408 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39410 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39412 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39413 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39414 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39415 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39416 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39417 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39423 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39424 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39425 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39426 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39427 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39428 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39432 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39436 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39440 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39441 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39442 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39447 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39448 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39449 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39450 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39451 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39452 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39453 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39454 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39455 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39456 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39457 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39458 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39467 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39468 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39470 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39471 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39472 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39473 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39474 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39475 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39476 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39477 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39478 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39479 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39480 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39481 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39482 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39483 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39484 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39485 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39486 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39487 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39488 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39489 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39490 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39491 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39492 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39493 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39495 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39497 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39498 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39499 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39500 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39513 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39514 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39515 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39517 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39518 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39519 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39520 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39521 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39522 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39523 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39524 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39577 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39587 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39588 { NULL
, NULL
, 0, NULL
}
39592 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39594 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39595 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39597 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39598 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39600 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39601 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39603 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39604 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39606 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39607 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39609 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39610 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39612 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39613 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39615 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39616 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39618 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39619 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39621 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39622 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39624 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39625 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39627 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39628 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39630 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39631 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39633 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39634 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39636 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39637 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39639 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39640 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39642 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39643 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39645 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39646 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39648 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39649 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39651 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39652 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39654 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39655 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39657 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39658 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39660 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39661 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39663 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39664 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39666 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39667 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39669 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39670 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39672 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39673 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39675 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39676 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39678 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39679 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39681 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39682 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39684 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39685 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39687 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39688 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39690 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39691 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39693 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39694 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39696 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39697 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39699 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39700 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39702 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39703 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39705 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39706 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39708 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39709 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39711 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39712 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39714 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39715 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39717 static void *_p_wxPenTo_p_wxObject(void *x
) {
39718 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39720 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39721 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39723 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39724 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39726 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39727 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39729 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39732 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39733 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39735 static void *_p_wxIconTo_p_wxObject(void *x
) {
39736 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39738 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39739 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39741 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39742 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39744 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39745 return (void *)((wxObject
*) ((wxSizer
*) x
));
39747 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39748 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39750 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39753 static void *_p_wxEventTo_p_wxObject(void *x
) {
39754 return (void *)((wxObject
*) ((wxEvent
*) x
));
39756 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39757 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39759 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39760 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39762 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39763 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39765 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39766 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39768 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39771 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39772 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39774 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39775 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39777 static void *_p_wxDCTo_p_wxObject(void *x
) {
39778 return (void *)((wxObject
*) ((wxDC
*) x
));
39780 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39781 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39783 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39784 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39786 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39787 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39789 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39790 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39792 static void *_p_wxControlTo_p_wxObject(void *x
) {
39793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39795 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39796 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39798 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39799 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39801 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39802 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39804 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39805 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39807 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39808 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39810 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39811 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39813 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39814 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39816 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39817 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39819 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39820 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39822 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39823 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39825 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39826 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39828 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39829 return (void *)((wxObject
*) ((wxEffects
*) x
));
39831 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39832 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39834 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39837 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39838 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39840 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39841 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39843 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39844 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39846 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39847 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39849 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39852 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39853 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39855 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39858 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39859 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39861 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39862 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39864 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39865 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39867 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39868 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39870 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39871 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39873 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39874 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39876 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39877 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39879 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39882 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39885 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39888 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39889 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39891 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39892 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39894 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39895 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39897 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39898 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39900 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39903 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39904 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39906 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39907 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39909 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39912 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39913 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39915 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39916 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39918 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39919 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39921 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39922 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39924 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39925 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39927 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39928 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39930 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39931 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39933 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39934 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39936 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39937 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39939 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39940 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39942 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39943 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39945 static void *_p_wxImageTo_p_wxObject(void *x
) {
39946 return (void *)((wxObject
*) ((wxImage
*) x
));
39948 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39949 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39951 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39952 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39954 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39955 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39957 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39958 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39960 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39961 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39963 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39964 return (void *)((wxObject
*) ((wxImageList
*) x
));
39966 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39967 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39969 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39970 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39972 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39973 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39975 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39976 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39978 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39979 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39981 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39984 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39985 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39987 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39988 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39990 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39991 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39993 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39994 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39996 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39999 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40000 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40002 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40003 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40005 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40006 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40008 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40009 return (void *)((wxObject
*) ((wxMask
*) x
));
40011 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40012 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40014 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40017 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40018 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40020 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40021 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40023 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40024 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40026 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40027 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40029 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40030 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40032 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40035 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40036 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40038 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40039 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40041 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40042 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40044 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40047 static void *_p_wxFontTo_p_wxObject(void *x
) {
40048 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40050 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40051 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40053 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40054 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40056 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40059 static void *_p_wxColourTo_p_wxObject(void *x
) {
40060 return (void *)((wxObject
*) ((wxColour
*) x
));
40062 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40065 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40066 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40068 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40069 return (void *)((wxWindow
*) ((wxControl
*) x
));
40071 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40072 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40074 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40075 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40077 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40078 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40080 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40081 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40083 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40084 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40085 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40086 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};
40087 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40088 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40089 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40090 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40091 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40092 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40093 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40094 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40095 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40096 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40097 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40098 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40099 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40100 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40101 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40102 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40103 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40104 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40105 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40106 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40107 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40108 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40109 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40110 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40111 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40112 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40113 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40114 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40115 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40116 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40117 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40118 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40119 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40120 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40121 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40122 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40123 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40124 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40125 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40126 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40127 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40128 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40129 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40130 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40131 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40132 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40133 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40134 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40135 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40136 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40137 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40138 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40139 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40140 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40141 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40142 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40143 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40144 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40145 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40146 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40147 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40148 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40149 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40150 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40151 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40152 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40153 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40154 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40155 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40156 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40157 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40158 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40159 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40160 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40161 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40162 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40163 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40164 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40165 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40166 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40167 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40168 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40169 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40170 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40171 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40172 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40173 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40174 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40175 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40176 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40177 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40178 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40179 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40180 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40181 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40182 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40183 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40184 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40185 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40186 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40187 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40188 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40189 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40190 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40191 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40192 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40193 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40194 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40195 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40196 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40197 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40198 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40199 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40200 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40201 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40202 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40203 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40204 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40205 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40206 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40207 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40208 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40209 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40210 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40211 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40212 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40213 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40214 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40215 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40216 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40217 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40218 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40219 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40220 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40221 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40222 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40223 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40224 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40225 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40226 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40227 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40228 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40229 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40230 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40231 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40232 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40233 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40234 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40235 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40236 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40237 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40238 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40239 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40240 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40241 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40242 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40243 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40244 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40245 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40246 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40247 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40248 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40249 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40250 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40251 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40252 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40254 static swig_type_info
*swig_type_initial
[] = {
40258 &_swigt__p_form_ops_t
,
40260 &_swigt__p_unsigned_char
,
40261 &_swigt__p_unsigned_int
,
40262 &_swigt__p_unsigned_long
,
40264 &_swigt__p_wxANIHandler
,
40265 &_swigt__p_wxAcceleratorTable
,
40266 &_swigt__p_wxActivateEvent
,
40267 &_swigt__p_wxAlphaPixelData
,
40268 &_swigt__p_wxAlphaPixelData_Accessor
,
40269 &_swigt__p_wxAutoBufferedPaintDC
,
40270 &_swigt__p_wxBMPHandler
,
40271 &_swigt__p_wxBitmap
,
40272 &_swigt__p_wxBoxSizer
,
40273 &_swigt__p_wxBrush
,
40274 &_swigt__p_wxBrushList
,
40275 &_swigt__p_wxBufferedDC
,
40276 &_swigt__p_wxBufferedPaintDC
,
40277 &_swigt__p_wxCURHandler
,
40279 &_swigt__p_wxChildFocusEvent
,
40280 &_swigt__p_wxClientDC
,
40281 &_swigt__p_wxClipboardTextEvent
,
40282 &_swigt__p_wxCloseEvent
,
40283 &_swigt__p_wxColor
,
40284 &_swigt__p_wxColour
,
40285 &_swigt__p_wxColourDatabase
,
40286 &_swigt__p_wxCommandEvent
,
40287 &_swigt__p_wxContextMenuEvent
,
40288 &_swigt__p_wxControl
,
40289 &_swigt__p_wxControlWithItems
,
40290 &_swigt__p_wxCursor
,
40292 &_swigt__p_wxDCBrushChanger
,
40293 &_swigt__p_wxDCClipper
,
40294 &_swigt__p_wxDCOverlay
,
40295 &_swigt__p_wxDCPenChanger
,
40296 &_swigt__p_wxDCTextColourChanger
,
40298 &_swigt__p_wxDateEvent
,
40299 &_swigt__p_wxDisplayChangedEvent
,
40300 &_swigt__p_wxDropFilesEvent
,
40301 &_swigt__p_wxDuplexMode
,
40302 &_swigt__p_wxEffects
,
40303 &_swigt__p_wxEncodingConverter
,
40304 &_swigt__p_wxEraseEvent
,
40305 &_swigt__p_wxEvent
,
40306 &_swigt__p_wxEvtHandler
,
40307 &_swigt__p_wxFSFile
,
40308 &_swigt__p_wxFileSystem
,
40309 &_swigt__p_wxFlexGridSizer
,
40310 &_swigt__p_wxFocusEvent
,
40312 &_swigt__p_wxFontList
,
40313 &_swigt__p_wxFontMapper
,
40314 &_swigt__p_wxGBSizerItem
,
40316 &_swigt__p_wxGDIObjListBase
,
40317 &_swigt__p_wxGDIObject
,
40318 &_swigt__p_wxGIFHandler
,
40319 &_swigt__p_wxGraphicsBrush
,
40320 &_swigt__p_wxGraphicsContext
,
40321 &_swigt__p_wxGraphicsFont
,
40322 &_swigt__p_wxGraphicsMatrix
,
40323 &_swigt__p_wxGraphicsObject
,
40324 &_swigt__p_wxGraphicsPath
,
40325 &_swigt__p_wxGraphicsPen
,
40326 &_swigt__p_wxGraphicsRenderer
,
40327 &_swigt__p_wxGridBagSizer
,
40328 &_swigt__p_wxGridSizer
,
40329 &_swigt__p_wxHeaderButtonParams
,
40330 &_swigt__p_wxICOHandler
,
40332 &_swigt__p_wxIconBundle
,
40333 &_swigt__p_wxIconLocation
,
40334 &_swigt__p_wxIconizeEvent
,
40335 &_swigt__p_wxIdleEvent
,
40336 &_swigt__p_wxImage
,
40337 &_swigt__p_wxImageHandler
,
40338 &_swigt__p_wxImageList
,
40339 &_swigt__p_wxIndividualLayoutConstraint
,
40340 &_swigt__p_wxInitDialogEvent
,
40341 &_swigt__p_wxJPEGHandler
,
40342 &_swigt__p_wxKeyEvent
,
40343 &_swigt__p_wxLanguageInfo
,
40344 &_swigt__p_wxLayoutConstraints
,
40345 &_swigt__p_wxLocale
,
40347 &_swigt__p_wxMaximizeEvent
,
40348 &_swigt__p_wxMemoryDC
,
40350 &_swigt__p_wxMenuBar
,
40351 &_swigt__p_wxMenuEvent
,
40352 &_swigt__p_wxMenuItem
,
40353 &_swigt__p_wxMetaFile
,
40354 &_swigt__p_wxMetaFileDC
,
40355 &_swigt__p_wxMirrorDC
,
40356 &_swigt__p_wxMouseCaptureChangedEvent
,
40357 &_swigt__p_wxMouseCaptureLostEvent
,
40358 &_swigt__p_wxMouseEvent
,
40359 &_swigt__p_wxMoveEvent
,
40360 &_swigt__p_wxNativeEncodingInfo
,
40361 &_swigt__p_wxNativeFontInfo
,
40362 &_swigt__p_wxNativePixelData
,
40363 &_swigt__p_wxNativePixelData_Accessor
,
40364 &_swigt__p_wxNavigationKeyEvent
,
40365 &_swigt__p_wxNcPaintEvent
,
40366 &_swigt__p_wxNotifyEvent
,
40367 &_swigt__p_wxObject
,
40368 &_swigt__p_wxOverlay
,
40369 &_swigt__p_wxPCXHandler
,
40370 &_swigt__p_wxPNGHandler
,
40371 &_swigt__p_wxPNMHandler
,
40372 &_swigt__p_wxPaintDC
,
40373 &_swigt__p_wxPaintEvent
,
40374 &_swigt__p_wxPalette
,
40375 &_swigt__p_wxPaletteChangedEvent
,
40376 &_swigt__p_wxPaperSize
,
40378 &_swigt__p_wxPenList
,
40379 &_swigt__p_wxPixelDataBase
,
40380 &_swigt__p_wxPoint
,
40381 &_swigt__p_wxPoint2D
,
40382 &_swigt__p_wxPostScriptDC
,
40383 &_swigt__p_wxPrintData
,
40384 &_swigt__p_wxPrinterDC
,
40385 &_swigt__p_wxPseudoDC
,
40386 &_swigt__p_wxPyApp
,
40387 &_swigt__p_wxPyCommandEvent
,
40388 &_swigt__p_wxPyEvent
,
40389 &_swigt__p_wxPyFontEnumerator
,
40390 &_swigt__p_wxPyImageHandler
,
40391 &_swigt__p_wxPyLocale
,
40392 &_swigt__p_wxPySizer
,
40393 &_swigt__p_wxPyValidator
,
40394 &_swigt__p_wxQueryNewPaletteEvent
,
40396 &_swigt__p_wxRect2D
,
40397 &_swigt__p_wxRegion
,
40398 &_swigt__p_wxRegionIterator
,
40399 &_swigt__p_wxRendererNative
,
40400 &_swigt__p_wxRendererVersion
,
40401 &_swigt__p_wxScreenDC
,
40402 &_swigt__p_wxScrollEvent
,
40403 &_swigt__p_wxScrollWinEvent
,
40404 &_swigt__p_wxSetCursorEvent
,
40405 &_swigt__p_wxShowEvent
,
40407 &_swigt__p_wxSizeEvent
,
40408 &_swigt__p_wxSizer
,
40409 &_swigt__p_wxSizerItem
,
40410 &_swigt__p_wxSplitterRenderParams
,
40411 &_swigt__p_wxStaticBoxSizer
,
40412 &_swigt__p_wxStdDialogButtonSizer
,
40413 &_swigt__p_wxStockGDI
,
40414 &_swigt__p_wxString
,
40415 &_swigt__p_wxSysColourChangedEvent
,
40416 &_swigt__p_wxTGAHandler
,
40417 &_swigt__p_wxTIFFHandler
,
40418 &_swigt__p_wxUpdateUIEvent
,
40419 &_swigt__p_wxValidator
,
40420 &_swigt__p_wxWindow
,
40421 &_swigt__p_wxWindowCreateEvent
,
40422 &_swigt__p_wxWindowDC
,
40423 &_swigt__p_wxWindowDestroyEvent
,
40424 &_swigt__p_wxXPMHandler
,
40427 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40428 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40429 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40430 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40431 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40432 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40433 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40434 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40435 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40436 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40437 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40438 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40439 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40440 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40441 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40442 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}};
40443 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40444 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40445 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}};
40446 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40447 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40448 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40449 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40450 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}};
40451 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40452 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40453 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40454 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40455 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40456 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40457 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40458 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40459 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40460 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40461 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40462 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40463 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40464 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}};
40465 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}};
40466 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40467 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40468 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40469 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40470 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}};
40471 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40472 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40473 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40474 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40475 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40476 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40477 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40478 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40479 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40480 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40481 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}};
40482 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40483 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}};
40484 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40486 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40487 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40493 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40494 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40495 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40496 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40497 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40498 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40499 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40500 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40510 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40511 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40512 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40513 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40525 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40526 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40545 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40546 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40547 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40553 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40554 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40560 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40561 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40562 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40564 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40565 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40566 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40572 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40573 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40574 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40575 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}};
40576 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40577 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40578 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40579 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40580 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40581 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40582 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40583 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40584 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40585 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40586 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40587 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40588 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40589 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40590 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40591 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40592 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40593 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40594 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40595 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}};
40596 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}};
40598 static swig_cast_info
*swig_cast_initial
[] = {
40602 _swigc__p_form_ops_t
,
40604 _swigc__p_unsigned_char
,
40605 _swigc__p_unsigned_int
,
40606 _swigc__p_unsigned_long
,
40608 _swigc__p_wxANIHandler
,
40609 _swigc__p_wxAcceleratorTable
,
40610 _swigc__p_wxActivateEvent
,
40611 _swigc__p_wxAlphaPixelData
,
40612 _swigc__p_wxAlphaPixelData_Accessor
,
40613 _swigc__p_wxAutoBufferedPaintDC
,
40614 _swigc__p_wxBMPHandler
,
40615 _swigc__p_wxBitmap
,
40616 _swigc__p_wxBoxSizer
,
40618 _swigc__p_wxBrushList
,
40619 _swigc__p_wxBufferedDC
,
40620 _swigc__p_wxBufferedPaintDC
,
40621 _swigc__p_wxCURHandler
,
40623 _swigc__p_wxChildFocusEvent
,
40624 _swigc__p_wxClientDC
,
40625 _swigc__p_wxClipboardTextEvent
,
40626 _swigc__p_wxCloseEvent
,
40628 _swigc__p_wxColour
,
40629 _swigc__p_wxColourDatabase
,
40630 _swigc__p_wxCommandEvent
,
40631 _swigc__p_wxContextMenuEvent
,
40632 _swigc__p_wxControl
,
40633 _swigc__p_wxControlWithItems
,
40634 _swigc__p_wxCursor
,
40636 _swigc__p_wxDCBrushChanger
,
40637 _swigc__p_wxDCClipper
,
40638 _swigc__p_wxDCOverlay
,
40639 _swigc__p_wxDCPenChanger
,
40640 _swigc__p_wxDCTextColourChanger
,
40642 _swigc__p_wxDateEvent
,
40643 _swigc__p_wxDisplayChangedEvent
,
40644 _swigc__p_wxDropFilesEvent
,
40645 _swigc__p_wxDuplexMode
,
40646 _swigc__p_wxEffects
,
40647 _swigc__p_wxEncodingConverter
,
40648 _swigc__p_wxEraseEvent
,
40650 _swigc__p_wxEvtHandler
,
40651 _swigc__p_wxFSFile
,
40652 _swigc__p_wxFileSystem
,
40653 _swigc__p_wxFlexGridSizer
,
40654 _swigc__p_wxFocusEvent
,
40656 _swigc__p_wxFontList
,
40657 _swigc__p_wxFontMapper
,
40658 _swigc__p_wxGBSizerItem
,
40660 _swigc__p_wxGDIObjListBase
,
40661 _swigc__p_wxGDIObject
,
40662 _swigc__p_wxGIFHandler
,
40663 _swigc__p_wxGraphicsBrush
,
40664 _swigc__p_wxGraphicsContext
,
40665 _swigc__p_wxGraphicsFont
,
40666 _swigc__p_wxGraphicsMatrix
,
40667 _swigc__p_wxGraphicsObject
,
40668 _swigc__p_wxGraphicsPath
,
40669 _swigc__p_wxGraphicsPen
,
40670 _swigc__p_wxGraphicsRenderer
,
40671 _swigc__p_wxGridBagSizer
,
40672 _swigc__p_wxGridSizer
,
40673 _swigc__p_wxHeaderButtonParams
,
40674 _swigc__p_wxICOHandler
,
40676 _swigc__p_wxIconBundle
,
40677 _swigc__p_wxIconLocation
,
40678 _swigc__p_wxIconizeEvent
,
40679 _swigc__p_wxIdleEvent
,
40681 _swigc__p_wxImageHandler
,
40682 _swigc__p_wxImageList
,
40683 _swigc__p_wxIndividualLayoutConstraint
,
40684 _swigc__p_wxInitDialogEvent
,
40685 _swigc__p_wxJPEGHandler
,
40686 _swigc__p_wxKeyEvent
,
40687 _swigc__p_wxLanguageInfo
,
40688 _swigc__p_wxLayoutConstraints
,
40689 _swigc__p_wxLocale
,
40691 _swigc__p_wxMaximizeEvent
,
40692 _swigc__p_wxMemoryDC
,
40694 _swigc__p_wxMenuBar
,
40695 _swigc__p_wxMenuEvent
,
40696 _swigc__p_wxMenuItem
,
40697 _swigc__p_wxMetaFile
,
40698 _swigc__p_wxMetaFileDC
,
40699 _swigc__p_wxMirrorDC
,
40700 _swigc__p_wxMouseCaptureChangedEvent
,
40701 _swigc__p_wxMouseCaptureLostEvent
,
40702 _swigc__p_wxMouseEvent
,
40703 _swigc__p_wxMoveEvent
,
40704 _swigc__p_wxNativeEncodingInfo
,
40705 _swigc__p_wxNativeFontInfo
,
40706 _swigc__p_wxNativePixelData
,
40707 _swigc__p_wxNativePixelData_Accessor
,
40708 _swigc__p_wxNavigationKeyEvent
,
40709 _swigc__p_wxNcPaintEvent
,
40710 _swigc__p_wxNotifyEvent
,
40711 _swigc__p_wxObject
,
40712 _swigc__p_wxOverlay
,
40713 _swigc__p_wxPCXHandler
,
40714 _swigc__p_wxPNGHandler
,
40715 _swigc__p_wxPNMHandler
,
40716 _swigc__p_wxPaintDC
,
40717 _swigc__p_wxPaintEvent
,
40718 _swigc__p_wxPalette
,
40719 _swigc__p_wxPaletteChangedEvent
,
40720 _swigc__p_wxPaperSize
,
40722 _swigc__p_wxPenList
,
40723 _swigc__p_wxPixelDataBase
,
40725 _swigc__p_wxPoint2D
,
40726 _swigc__p_wxPostScriptDC
,
40727 _swigc__p_wxPrintData
,
40728 _swigc__p_wxPrinterDC
,
40729 _swigc__p_wxPseudoDC
,
40731 _swigc__p_wxPyCommandEvent
,
40732 _swigc__p_wxPyEvent
,
40733 _swigc__p_wxPyFontEnumerator
,
40734 _swigc__p_wxPyImageHandler
,
40735 _swigc__p_wxPyLocale
,
40736 _swigc__p_wxPySizer
,
40737 _swigc__p_wxPyValidator
,
40738 _swigc__p_wxQueryNewPaletteEvent
,
40740 _swigc__p_wxRect2D
,
40741 _swigc__p_wxRegion
,
40742 _swigc__p_wxRegionIterator
,
40743 _swigc__p_wxRendererNative
,
40744 _swigc__p_wxRendererVersion
,
40745 _swigc__p_wxScreenDC
,
40746 _swigc__p_wxScrollEvent
,
40747 _swigc__p_wxScrollWinEvent
,
40748 _swigc__p_wxSetCursorEvent
,
40749 _swigc__p_wxShowEvent
,
40751 _swigc__p_wxSizeEvent
,
40753 _swigc__p_wxSizerItem
,
40754 _swigc__p_wxSplitterRenderParams
,
40755 _swigc__p_wxStaticBoxSizer
,
40756 _swigc__p_wxStdDialogButtonSizer
,
40757 _swigc__p_wxStockGDI
,
40758 _swigc__p_wxString
,
40759 _swigc__p_wxSysColourChangedEvent
,
40760 _swigc__p_wxTGAHandler
,
40761 _swigc__p_wxTIFFHandler
,
40762 _swigc__p_wxUpdateUIEvent
,
40763 _swigc__p_wxValidator
,
40764 _swigc__p_wxWindow
,
40765 _swigc__p_wxWindowCreateEvent
,
40766 _swigc__p_wxWindowDC
,
40767 _swigc__p_wxWindowDestroyEvent
,
40768 _swigc__p_wxXPMHandler
,
40772 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40774 static swig_const_info swig_const_table
[] = {
40775 {0, 0, 0, 0.0, 0, 0}};
40780 /* -----------------------------------------------------------------------------
40781 * Type initialization:
40782 * This problem is tough by the requirement that no dynamic
40783 * memory is used. Also, since swig_type_info structures store pointers to
40784 * swig_cast_info structures and swig_cast_info structures store pointers back
40785 * to swig_type_info structures, we need some lookup code at initialization.
40786 * The idea is that swig generates all the structures that are needed.
40787 * The runtime then collects these partially filled structures.
40788 * The SWIG_InitializeModule function takes these initial arrays out of
40789 * swig_module, and does all the lookup, filling in the swig_module.types
40790 * array with the correct data and linking the correct swig_cast_info
40791 * structures together.
40793 * The generated swig_type_info structures are assigned staticly to an initial
40794 * array. We just loop though that array, and handle each type individually.
40795 * First we lookup if this type has been already loaded, and if so, use the
40796 * loaded structure instead of the generated one. Then we have to fill in the
40797 * cast linked list. The cast data is initially stored in something like a
40798 * two-dimensional array. Each row corresponds to a type (there are the same
40799 * number of rows as there are in the swig_type_initial array). Each entry in
40800 * a column is one of the swig_cast_info structures for that type.
40801 * The cast_initial array is actually an array of arrays, because each row has
40802 * a variable number of columns. So to actually build the cast linked list,
40803 * we find the array of casts associated with the type, and loop through it
40804 * adding the casts to the list. The one last trick we need to do is making
40805 * sure the type pointer in the swig_cast_info struct is correct.
40807 * First off, we lookup the cast->type name to see if it is already loaded.
40808 * There are three cases to handle:
40809 * 1) If the cast->type has already been loaded AND the type we are adding
40810 * casting info to has not been loaded (it is in this module), THEN we
40811 * replace the cast->type pointer with the type pointer that has already
40813 * 2) If BOTH types (the one we are adding casting info to, and the
40814 * cast->type) are loaded, THEN the cast info has already been loaded by
40815 * the previous module so we just ignore it.
40816 * 3) Finally, if cast->type has not already been loaded, then we add that
40817 * swig_cast_info to the linked list (because the cast->type) pointer will
40819 * ----------------------------------------------------------------------------- */
40829 #define SWIGRUNTIME_DEBUG
40833 SWIG_InitializeModule(void *clientdata
) {
40835 swig_module_info
*module_head
;
40836 static int init_run
= 0;
40838 clientdata
= clientdata
;
40840 if (init_run
) return;
40843 /* Initialize the swig_module */
40844 swig_module
.type_initial
= swig_type_initial
;
40845 swig_module
.cast_initial
= swig_cast_initial
;
40847 /* Try and load any already created modules */
40848 module_head
= SWIG_GetModule(clientdata
);
40850 swig_module
.next
= module_head
->next
;
40851 module_head
->next
= &swig_module
;
40853 /* This is the first module loaded */
40854 swig_module
.next
= &swig_module
;
40855 SWIG_SetModule(clientdata
, &swig_module
);
40858 /* Now work on filling in swig_module.types */
40859 #ifdef SWIGRUNTIME_DEBUG
40860 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40862 for (i
= 0; i
< swig_module
.size
; ++i
) {
40863 swig_type_info
*type
= 0;
40864 swig_type_info
*ret
;
40865 swig_cast_info
*cast
;
40867 #ifdef SWIGRUNTIME_DEBUG
40868 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40871 /* if there is another module already loaded */
40872 if (swig_module
.next
!= &swig_module
) {
40873 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40876 /* Overwrite clientdata field */
40877 #ifdef SWIGRUNTIME_DEBUG
40878 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40880 if (swig_module
.type_initial
[i
]->clientdata
) {
40881 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40882 #ifdef SWIGRUNTIME_DEBUG
40883 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40887 type
= swig_module
.type_initial
[i
];
40890 /* Insert casting types */
40891 cast
= swig_module
.cast_initial
[i
];
40892 while (cast
->type
) {
40893 /* Don't need to add information already in the list */
40895 #ifdef SWIGRUNTIME_DEBUG
40896 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40898 if (swig_module
.next
!= &swig_module
) {
40899 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40900 #ifdef SWIGRUNTIME_DEBUG
40901 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40905 if (type
== swig_module
.type_initial
[i
]) {
40906 #ifdef SWIGRUNTIME_DEBUG
40907 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40912 /* Check for casting already in the list */
40913 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40914 #ifdef SWIGRUNTIME_DEBUG
40915 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40917 if (!ocast
) ret
= 0;
40922 #ifdef SWIGRUNTIME_DEBUG
40923 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40926 type
->cast
->prev
= cast
;
40927 cast
->next
= type
->cast
;
40933 /* Set entry in modules->types array equal to the type */
40934 swig_module
.types
[i
] = type
;
40936 swig_module
.types
[i
] = 0;
40938 #ifdef SWIGRUNTIME_DEBUG
40939 printf("**** SWIG_InitializeModule: Cast List ******\n");
40940 for (i
= 0; i
< swig_module
.size
; ++i
) {
40942 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40943 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40944 while (cast
->type
) {
40945 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40949 printf("---- Total casts: %d\n",j
);
40951 printf("**** SWIG_InitializeModule: Cast List ******\n");
40955 /* This function will propagate the clientdata field of type to
40956 * any new swig_type_info structures that have been added into the list
40957 * of equivalent types. It is like calling
40958 * SWIG_TypeClientData(type, clientdata) a second time.
40961 SWIG_PropagateClientData(void) {
40963 swig_cast_info
*equiv
;
40964 static int init_run
= 0;
40966 if (init_run
) return;
40969 for (i
= 0; i
< swig_module
.size
; i
++) {
40970 if (swig_module
.types
[i
]->clientdata
) {
40971 equiv
= swig_module
.types
[i
]->cast
;
40973 if (!equiv
->converter
) {
40974 if (equiv
->type
&& !equiv
->type
->clientdata
)
40975 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40977 equiv
= equiv
->next
;
40997 /* Python-specific SWIG API */
40998 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40999 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41000 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41002 /* -----------------------------------------------------------------------------
41003 * global variable support code.
41004 * ----------------------------------------------------------------------------- */
41006 typedef struct swig_globalvar
{
41007 char *name
; /* Name of global variable */
41008 PyObject
*(*get_attr
)(void); /* Return the current value */
41009 int (*set_attr
)(PyObject
*); /* Set the value */
41010 struct swig_globalvar
*next
;
41013 typedef struct swig_varlinkobject
{
41015 swig_globalvar
*vars
;
41016 } swig_varlinkobject
;
41018 SWIGINTERN PyObject
*
41019 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41020 return PyString_FromString("<Swig global variables>");
41023 SWIGINTERN PyObject
*
41024 swig_varlink_str(swig_varlinkobject
*v
) {
41025 PyObject
*str
= PyString_FromString("(");
41026 swig_globalvar
*var
;
41027 for (var
= v
->vars
; var
; var
=var
->next
) {
41028 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41029 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41031 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41036 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41037 PyObject
*str
= swig_varlink_str(v
);
41038 fprintf(fp
,"Swig global variables ");
41039 fprintf(fp
,"%s\n", PyString_AsString(str
));
41045 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41046 swig_globalvar
*var
= v
->vars
;
41048 swig_globalvar
*n
= var
->next
;
41055 SWIGINTERN PyObject
*
41056 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41057 PyObject
*res
= NULL
;
41058 swig_globalvar
*var
= v
->vars
;
41060 if (strcmp(var
->name
,n
) == 0) {
41061 res
= (*var
->get_attr
)();
41066 if (res
== NULL
&& !PyErr_Occurred()) {
41067 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41073 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41075 swig_globalvar
*var
= v
->vars
;
41077 if (strcmp(var
->name
,n
) == 0) {
41078 res
= (*var
->set_attr
)(p
);
41083 if (res
== 1 && !PyErr_Occurred()) {
41084 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41089 SWIGINTERN PyTypeObject
*
41090 swig_varlink_type(void) {
41091 static char varlink__doc__
[] = "Swig var link object";
41092 static PyTypeObject varlink_type
;
41093 static int type_init
= 0;
41095 const PyTypeObject tmp
41097 PyObject_HEAD_INIT(NULL
)
41098 0, /* Number of items in variable part (ob_size) */
41099 (char *)"swigvarlink", /* Type name (tp_name) */
41100 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41101 0, /* Itemsize (tp_itemsize) */
41102 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41103 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41104 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41105 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41106 0, /* tp_compare */
41107 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41108 0, /* tp_as_number */
41109 0, /* tp_as_sequence */
41110 0, /* tp_as_mapping */
41113 (reprfunc
)swig_varlink_str
, /* tp_str */
41114 0, /* tp_getattro */
41115 0, /* tp_setattro */
41116 0, /* tp_as_buffer */
41118 varlink__doc__
, /* tp_doc */
41119 0, /* tp_traverse */
41121 0, /* tp_richcompare */
41122 0, /* tp_weaklistoffset */
41123 #if PY_VERSION_HEX >= 0x02020000
41124 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41126 #if PY_VERSION_HEX >= 0x02030000
41129 #ifdef COUNT_ALLOCS
41130 0,0,0,0 /* tp_alloc -> tp_next */
41133 varlink_type
= tmp
;
41134 varlink_type
.ob_type
= &PyType_Type
;
41137 return &varlink_type
;
41140 /* Create a variable linking object for use later */
41141 SWIGINTERN PyObject
*
41142 SWIG_Python_newvarlink(void) {
41143 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41147 return ((PyObject
*) result
);
41151 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41152 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41153 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41155 size_t size
= strlen(name
)+1;
41156 gv
->name
= (char *)malloc(size
);
41158 strncpy(gv
->name
,name
,size
);
41159 gv
->get_attr
= get_attr
;
41160 gv
->set_attr
= set_attr
;
41161 gv
->next
= v
->vars
;
41167 SWIGINTERN PyObject
*
41169 static PyObject
*_SWIG_globals
= 0;
41170 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41171 return _SWIG_globals
;
41174 /* -----------------------------------------------------------------------------
41175 * constants/methods manipulation
41176 * ----------------------------------------------------------------------------- */
41178 /* Install Constants */
41180 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41183 for (i
= 0; constants
[i
].type
; ++i
) {
41184 switch(constants
[i
].type
) {
41185 case SWIG_PY_POINTER
:
41186 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41188 case SWIG_PY_BINARY
:
41189 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41196 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41202 /* -----------------------------------------------------------------------------*/
41203 /* Fix SwigMethods to carry the callback ptrs when needed */
41204 /* -----------------------------------------------------------------------------*/
41207 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41208 swig_const_info
*const_table
,
41209 swig_type_info
**types
,
41210 swig_type_info
**types_initial
) {
41212 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41213 const char *c
= methods
[i
].ml_doc
;
41214 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41216 swig_const_info
*ci
= 0;
41217 const char *name
= c
+ 10;
41218 for (j
= 0; const_table
[j
].type
; ++j
) {
41219 if (strncmp(const_table
[j
].name
, name
,
41220 strlen(const_table
[j
].name
)) == 0) {
41221 ci
= &(const_table
[j
]);
41226 size_t shift
= (ci
->ptype
) - types
;
41227 swig_type_info
*ty
= types_initial
[shift
];
41228 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41229 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41230 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41233 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41235 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41237 strncpy(buff
, "swig_ptr: ", 10);
41239 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41240 methods
[i
].ml_doc
= ndoc
;
41252 /* -----------------------------------------------------------------------------*
41253 * Partial Init method
41254 * -----------------------------------------------------------------------------*/
41259 SWIGEXPORT
void SWIG_init(void) {
41262 /* Fix SwigMethods to carry the callback ptrs when needed */
41263 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41265 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41266 d
= PyModule_GetDict(m
);
41268 SWIG_InitializeModule(0);
41269 SWIG_InstallConstants(d
,swig_const_table
);
41272 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41273 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41274 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41275 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41276 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41277 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41278 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41279 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41280 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41281 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41282 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41283 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41284 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41285 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41286 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41287 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41288 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41289 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41290 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41291 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41292 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41293 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41294 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41295 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41296 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41297 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41298 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41299 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41300 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41301 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41302 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41303 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41304 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41305 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41306 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41307 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41308 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41309 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41310 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41311 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41312 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41313 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41314 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41315 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41316 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41317 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41318 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41319 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41320 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41321 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41322 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41323 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41324 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41325 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41326 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41327 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41328 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41329 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41330 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41331 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41332 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41333 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41334 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41335 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41354 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41355 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41356 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41357 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41358 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41359 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41360 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41361 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41362 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41363 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41364 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41365 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41366 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41367 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41371 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41372 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41375 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41376 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41377 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41378 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41379 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41380 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41381 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41382 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41383 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41384 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41385 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41386 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41387 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41388 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41389 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41390 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41391 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41392 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41393 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41394 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41395 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41396 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41397 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41398 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41399 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41400 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41401 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41402 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41403 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41405 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41616 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41617 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41618 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41625 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41626 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41627 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41628 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41629 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41630 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41631 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41632 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41633 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41634 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41635 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41636 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41637 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41638 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41639 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41640 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41641 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41642 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41643 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41644 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41645 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41646 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41647 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41648 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41649 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41650 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41651 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41652 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41653 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41654 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41655 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41656 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41657 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41658 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41659 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41660 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41661 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41662 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41663 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41664 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41665 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41666 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41667 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41668 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41669 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41670 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41671 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41672 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41673 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41674 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41675 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41676 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41677 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41678 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41679 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41680 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41681 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41682 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41683 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41684 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41685 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41686 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41687 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41688 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41689 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41690 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41691 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41692 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41693 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41694 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41695 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41696 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41697 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41698 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41699 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41700 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41701 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41702 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41703 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41704 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41705 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41706 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41707 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41708 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41709 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41710 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41711 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41712 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41713 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41714 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41715 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41716 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41717 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41718 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41719 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41720 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41721 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41722 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41723 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41724 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41725 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41726 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41727 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41728 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41729 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41730 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41732 // Work around a chicken/egg problem in drawlist.cpp
41733 wxPyDrawList_SetAPIPtr();