1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCBrushChanger swig_types[35]
2502 #define SWIGTYPE_p_wxDCClipper swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDCPenChanger swig_types[38]
2505 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDash swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2511 #define SWIGTYPE_p_wxEffects swig_types[45]
2512 #define SWIGTYPE_p_wxEncodingConverter swig_types[46]
2513 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2514 #define SWIGTYPE_p_wxEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEventBlocker swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 #include <wx/rawbmp.h>
2928 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2929 // appears to me that the other platforms are already doing it, so I'll just
2930 // automatically do it for wxMSW here.
2932 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2933 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2935 #define wxPy_premultiply(p, a) (p)
2936 #define wxPy_unpremultiply(p, a) (p)
2940 #include <wx/image.h>
2942 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2943 char** cArray
= NULL
;
2946 if (!PyList_Check(listOfStrings
)) {
2947 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2950 count
= PyList_Size(listOfStrings
);
2951 cArray
= new char*[count
];
2953 for(int x
=0; x
<count
; x
++) {
2954 // TODO: Need some validation and error checking here
2955 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2962 char** cArray
= NULL
;
2965 cArray
= ConvertListOfStrings(listOfStrings
);
2968 bmp
= new wxBitmap(cArray
);
2972 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2975 PyString_AsStringAndSize(bits
, &buf
, &length
);
2976 return new wxBitmap(buf
, width
, height
, depth
);
2978 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2979 wxSize
size(self
->GetWidth(), self
->GetHeight());
2982 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2983 wxMask
*mask
= new wxMask(*self
, colour
);
2984 self
->SetMask(mask
);
2986 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2987 self
->SetWidth(size
.x
);
2988 self
->SetHeight(size
.y
);
2990 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2991 int height
=self
->GetHeight();
2992 int width
=self
->GetWidth();
2994 if (DATASIZE
!= width
* height
* 3) {
2995 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2997 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
2999 // raise an exception...
3000 wxPyErr_SetString(PyExc_RuntimeError
,
3001 "Failed to gain raw access to bitmap data.");
3005 wxNativePixelData::Iterator
p(pixData
);
3006 for (int y
=0; y
<height
; y
++) {
3007 wxNativePixelData::Iterator rowStart
= p
;
3008 for (int x
=0; x
<width
; x
++) {
3009 p
.Red() = *(data
++);
3010 p
.Green() = *(data
++);
3011 p
.Blue() = *(data
++);
3015 p
.OffsetY(pixData
, 1);
3018 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3019 int height
=self
->GetHeight();
3020 int width
=self
->GetWidth();
3022 if (DATASIZE
!= width
* height
* 4) {
3023 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3025 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3027 // raise an exception...
3028 wxPyErr_SetString(PyExc_RuntimeError
,
3029 "Failed to gain raw access to bitmap data.");
3034 wxAlphaPixelData::Iterator
p(pixData
);
3035 for (int y
=0; y
<height
; y
++) {
3036 wxAlphaPixelData::Iterator rowStart
= p
;
3037 for (int x
=0; x
<width
; x
++) {
3039 p
.Red() = wxPy_premultiply(*(data
++), a
);
3040 p
.Green() = wxPy_premultiply(*(data
++), a
);
3041 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3042 p
.Alpha() = a
; data
++;
3046 p
.OffsetY(pixData
, 1);
3049 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3050 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3052 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3053 buffer data
, int DATASIZE
,
3054 buffer alpha
, int ALPHASIZE
)
3056 if (DATASIZE
!= width
*height
*3) {
3057 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3061 if (ALPHASIZE
!= width
*height
) {
3062 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3066 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3067 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3069 // raise an exception...
3070 wxPyErr_SetString(PyExc_RuntimeError
,
3071 "Failed to gain raw access to bitmap data.");
3076 wxAlphaPixelData::Iterator
p(pixData
);
3077 for (int y
=0; y
<height
; y
++) {
3078 wxAlphaPixelData::Iterator rowStart
= p
;
3079 for (int x
=0; x
<width
; x
++) {
3080 byte a
= *(alpha
++);
3081 p
.Red() = wxPy_premultiply(*(data
++), a
);
3082 p
.Green() = wxPy_premultiply(*(data
++), a
);
3083 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3088 p
.OffsetY(pixData
, 1);
3093 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3095 if (DATASIZE
!= width
*height
*3) {
3096 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3100 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3101 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3103 // raise an exception...
3104 wxPyErr_SetString(PyExc_RuntimeError
,
3105 "Failed to gain raw access to bitmap data.");
3109 wxNativePixelData::Iterator
p(pixData
);
3110 for (int y
=0; y
<height
; y
++) {
3111 wxNativePixelData::Iterator rowStart
= p
;
3112 for (int x
=0; x
<width
; x
++) {
3113 p
.Red() = *(data
++);
3114 p
.Green() = *(data
++);
3115 p
.Blue() = *(data
++);
3119 p
.OffsetY(pixData
, 1);
3125 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3127 if (DATASIZE
!= width
*height
*4) {
3128 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3132 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3133 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3135 // raise an exception...
3136 wxPyErr_SetString(PyExc_RuntimeError
,
3137 "Failed to gain raw access to bitmap data.");
3142 wxAlphaPixelData::Iterator
p(pixData
);
3143 for (int y
=0; y
<height
; y
++) {
3144 wxAlphaPixelData::Iterator rowStart
= p
;
3145 for (int x
=0; x
<width
; x
++) {
3147 p
.Red() = wxPy_premultiply(*(data
++), a
);
3148 p
.Green() = wxPy_premultiply(*(data
++), a
);
3149 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3150 p
.Alpha() = a
; data
++;
3154 p
.OffsetY(pixData
, 1);
3160 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3162 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3163 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3166 self
->Green() = green
;
3167 self
->Blue() = blue
;
3169 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3170 PyObject
* rv
= PyTuple_New(3);
3171 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3172 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3173 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3177 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3179 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3180 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3182 self
->Red() = wxPy_premultiply(red
, alpha
);
3183 self
->Green() = wxPy_premultiply(green
, alpha
);
3184 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3185 self
->Alpha() = alpha
;
3187 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3188 PyObject
* rv
= PyTuple_New(4);
3189 int red
= self
->Red();
3190 int green
= self
->Green();
3191 int blue
= self
->Blue();
3192 int alpha
= self
->Alpha();
3194 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3195 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3196 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3197 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3200 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3201 if ( !colour
.IsOk() )
3202 return new wxMask(bitmap
, *wxBLACK
);
3204 return new wxMask(bitmap
, colour
);
3207 #include <wx/iconbndl.h>
3209 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3210 wxIcon
* icon
= new wxIcon();
3211 icon
->CopyFromBitmap(bmp
);
3214 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3215 char** cArray
= NULL
;
3218 cArray
= ConvertListOfStrings(listOfStrings
);
3221 icon
= new wxIcon(cArray
);
3225 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3229 return new wxIconLocation(*filename
);
3232 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3239 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3247 SWIGINTERNINLINE PyObject
*
3248 SWIG_From_size_t (size_t value
)
3250 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3254 SWIGINTERNINLINE
int
3255 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3258 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3259 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3263 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3265 wxImage
img(cursorName
, type
);
3266 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3267 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3268 return new wxCursor(img
);
3270 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3275 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3278 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3279 return self
->operator bool();
3282 #include <wx/fontutil.h>
3283 #include <wx/fontmap.h>
3284 #include <wx/fontenum.h>
3286 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3287 return self
->ToString();
3290 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3291 static wxNativeEncodingInfo info
;
3292 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3298 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3299 wxFontEncoding alt_enc
;
3300 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3301 return PyInt_FromLong(alt_enc
);
3307 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3308 wxNativeFontInfo nfi
;
3309 nfi
.FromString(info
);
3310 return new wxFont(nfi
);
3312 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3313 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3315 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFontBase::New(pixelSize
, family
,
3317 style
, weight
, underlined
,
3320 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3321 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3323 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3324 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3326 class wxPyFontEnumerator
: public wxFontEnumerator
{
3328 wxPyFontEnumerator() {}
3329 ~wxPyFontEnumerator() {}
3331 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3332 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3337 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3338 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3341 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3343 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3344 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3345 ret
= wxArrayString2PyList_helper(arr
);
3346 wxPyEndBlockThreads(blocked
);
3349 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3351 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3352 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3353 ret
= wxArrayString2PyList_helper(arr
);
3354 wxPyEndBlockThreads(blocked
);
3360 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3363 loc
= new wxLocale();
3365 loc
= new wxLocale(language
, flags
);
3366 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3367 // for the floating point conversions and such to work right.
3368 #if PY_VERSION_HEX < 0x02040000
3369 setlocale(LC_NUMERIC
, "C");
3373 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3374 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3375 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3376 // for the floating point conversions and such to work right.
3377 #if PY_VERSION_HEX < 0x02040000
3378 setlocale(LC_NUMERIC
, "C");
3382 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3383 bool rc
= self
->Init(language
, flags
);
3384 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3385 // for the floating point conversions and such to work right.
3386 #if PY_VERSION_HEX < 0x02040000
3387 setlocale(LC_NUMERIC
, "C");
3392 class wxPyLocale
: public wxLocale
3397 wxPyLocale(const wxString
& name
, // name (for messages)
3398 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3399 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3400 bool bLoadDefault
= true, // preload wxstd.mo?
3401 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3403 wxPyLocale(int language
, // wxLanguage id or custom language
3404 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3408 virtual const wxString
& GetString(const wxString
& origString
,
3409 const wxString
& domain
= wxPyEmptyString
) const;
3410 virtual const wxString
& GetString(const wxString
& origString
,
3411 const wxString
& origString2
,
3413 const wxString
& domain
= wxPyEmptyString
) const;
3415 virtual const wxString
& GetSingularString(const wxString
& origString
,
3416 const wxString
& domain
= wxPyEmptyString
) const;
3417 virtual const wxString
& GetPluralString(const wxString
& origString
,
3418 const wxString
& origString2
,
3420 const wxString
& domain
= wxPyEmptyString
) const;
3425 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3428 wxPyLocale::wxPyLocale() : wxLocale()
3432 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3433 const wxString
& shortName
, // dir prefix (for msg files)
3434 const wxString
& locale
, // locale (for setlocale)
3435 bool bLoadDefault
, // preload wxstd.mo?
3436 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3437 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3441 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3442 int flags
) : wxLocale(language
, flags
)
3446 wxPyLocale::~wxPyLocale()
3450 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3451 const wxString
& domain
) const
3453 return GetSingularString(origString
, domain
);
3456 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3457 const wxString
& origString2
,
3459 const wxString
& domain
) const
3461 return GetPluralString(origString
, origString2
, n
, domain
);
3464 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3465 const wxString
& domain
) const
3468 wxString
str( _T("error in translation"));
3469 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3470 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3471 PyObject
* param1
= wx2PyString(origString
);
3472 PyObject
* param2
= wx2PyString(domain
);
3473 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3477 str
= Py2wxString(ret
);
3481 wxPyEndBlockThreads(blocked
);
3482 return (found
? str
: wxLocale::GetString(origString
, domain
));
3485 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3486 const wxString
& origString2
, size_t n
,
3487 const wxString
& domain
) const
3490 wxString
str( _T("error in translation"));
3491 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3492 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3493 PyObject
* param1
= wx2PyString(origString
);
3494 PyObject
* param2
= wx2PyString(origString2
);
3495 PyObject
* param4
= wx2PyString(domain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3497 Py_BuildValue("(OOiO)",
3504 str
= Py2wxString(ret
);
3508 wxPyEndBlockThreads(blocked
);
3509 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3512 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3515 loc
= new wxPyLocale();
3517 loc
= new wxPyLocale(language
, flags
);
3518 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3519 // for the floating point conversions and such to work right.
3520 #if PY_VERSION_HEX < 0x02040000
3521 setlocale(LC_NUMERIC
, "C");
3526 #include "wx/wxPython/pydrawxxx.h"
3528 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3530 self
->GetPixel(x
, y
, &col
);
3533 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3535 self
->GetPixel(pt
, &col
);
3540 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3542 if (PyNumber_Check(obj
)) {
3543 if (val
) *val
= PyFloat_AsDouble(obj
);
3546 return SWIG_TypeError
;
3549 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3551 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3554 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3556 self
->GetClippingBox(rect
);
3559 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3561 self
->GetPartialTextExtents(text
, widths
);
3565 #define SWIG_From_double PyFloat_FromDouble
3567 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetLogicalOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->SetDeviceOrigin(point
.x
, point
.y
);
3573 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3574 self
->CalcBoundingBox(point
.x
, point
.y
);
3576 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3589 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3591 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3592 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3595 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3603 #include <wx/dcbuffer.h>
3606 #include <wx/dcps.h>
3609 class wxMetaFile
: public wxObject
{
3611 wxMetaFile(const wxString
&)
3612 { wxPyRaiseNotImplemented(); }
3615 class wxMetaFileDC
: public wxClientDC
{
3617 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3618 { wxPyRaiseNotImplemented(); }
3623 class wxPrinterDC
: public wxClientDC
{
3625 wxPrinterDC(const wxPrintData
&)
3626 { wxPyRaiseNotImplemented(); }
3631 #include <wx/graphics.h>
3634 #if !wxUSE_GRAPHICS_CONTEXT
3635 // C++ stub classes for platforms or build configurations that don't have
3636 // wxGraphicsContext yet.
3638 class wxGraphicsRenderer
;
3639 class wxGraphicsMatrix
;
3642 class wxGraphicsObject
: public wxObject
3645 wxGraphicsObject() {}
3646 wxGraphicsObject( wxGraphicsRenderer
* ) {
3647 PyErr_SetString(PyExc_NotImplementedError
,
3648 "wx.GraphicsObject is not available on this platform.");
3650 wxGraphicsObject( const wxGraphicsObject
& ) {}
3651 virtual ~wxGraphicsObject() {}
3652 bool IsNull() const { return false; }
3653 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3658 class wxGraphicsPen
: public wxGraphicsObject
3662 virtual ~wxGraphicsPen() {}
3664 wxGraphicsPen wxNullGraphicsPen
;
3668 class wxGraphicsBrush
: public wxGraphicsObject
3671 wxGraphicsBrush() {}
3672 virtual ~wxGraphicsBrush() {}
3674 wxGraphicsBrush wxNullGraphicsBrush
;
3678 class wxGraphicsFont
: public wxGraphicsObject
3682 virtual ~wxGraphicsFont() {}
3684 wxGraphicsFont wxNullGraphicsFont
;
3688 class wxGraphicsPath
: public wxGraphicsObject
3691 wxGraphicsPath() { }
3692 wxGraphicsPath(wxGraphicsRenderer
* ) {
3693 PyErr_SetString(PyExc_NotImplementedError
,
3694 "wx.GraphicsPath is not available on this platform.");
3696 virtual ~wxGraphicsPath() {}
3698 void MoveToPoint( wxDouble
, wxDouble
) {}
3699 void MoveToPoint( const wxPoint2DDouble
& ) {}
3700 void AddLineToPoint( wxDouble
, wxDouble
) {}
3701 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3702 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3703 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3704 void AddPath( const wxGraphicsPath
& ) {}
3705 void CloseSubpath() {}
3706 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3707 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3708 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3709 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3711 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3718 void * GetNativePath() const { return NULL
; }
3719 void UnGetNativePath(void *) const {}
3720 void Transform( const wxGraphicsMatrix
& ) {}
3721 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3722 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3724 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3725 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3727 wxGraphicsPath wxNullGraphicsPath
;
3730 class wxGraphicsMatrix
: public wxGraphicsObject
3733 wxGraphicsMatrix() { }
3734 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3735 PyErr_SetString(PyExc_NotImplementedError
,
3736 "wx.GraphicsMatrix is not available on this platform.");
3738 virtual ~wxGraphicsMatrix() {}
3739 virtual void Concat( const wxGraphicsMatrix
& ) {}
3740 virtual void Copy( const wxGraphicsMatrix
& ) {}
3741 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3742 wxDouble
, wxDouble
) {}
3743 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3744 wxDouble
*, wxDouble
*, wxDouble
*) {}
3745 virtual void Invert() {}
3746 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3747 virtual bool IsIdentity() const { return false; }
3748 virtual void Translate( wxDouble
, wxDouble
) {}
3749 virtual void Scale( wxDouble
, wxDouble
) {}
3750 virtual void Rotate( wxDouble
) {}
3751 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3752 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3753 virtual void * GetNativeMatrix() const { return NULL
; }
3755 wxGraphicsMatrix wxNullGraphicsMatrix
;
3758 class wxGraphicsContext
: public wxGraphicsObject
3762 wxGraphicsContext(wxGraphicsRenderer
* ) {
3763 PyErr_SetString(PyExc_NotImplementedError
,
3764 "wx.GraphicsContext is not available on this platform.");
3767 virtual ~wxGraphicsContext() {}
3769 static wxGraphicsContext
* Create() {
3770 PyErr_SetString(PyExc_NotImplementedError
,
3771 "wx.GraphicsContext is not available on this platform.");
3774 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3775 PyErr_SetString(PyExc_NotImplementedError
,
3776 "wx.GraphicsContext is not available on this platform.");
3780 static wxGraphicsContext
* CreateFromNative( void * ) {
3781 PyErr_SetString(PyExc_NotImplementedError
,
3782 "wx.GraphicsContext is not available on this platform.");
3786 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3787 PyErr_SetString(PyExc_NotImplementedError
,
3788 "wx.GraphicsContext is not available on this platform.");
3792 static wxGraphicsContext
* Create( wxWindow
* ) {
3793 PyErr_SetString(PyExc_NotImplementedError
,
3794 "wx.GraphicsContext is not available on this platform.");
3798 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3800 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3802 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3804 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3805 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3807 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3808 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3809 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3811 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3813 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3814 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3816 virtual void PushState() {}
3817 virtual void PopState() {}
3818 virtual void Clip( const wxRegion
& ) {}
3819 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3820 virtual void ResetClip() {}
3821 virtual void * GetNativeContext() { return NULL
; }
3822 virtual int GetLogicalFunction() const { return 0; }
3823 virtual bool SetLogicalFunction(int ) {}
3824 virtual void Translate( wxDouble
, wxDouble
) {}
3825 virtual void Scale( wxDouble
, wxDouble
) {}
3826 virtual void Rotate( wxDouble
) {}
3827 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3828 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3829 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3831 virtual void SetPen( const wxGraphicsPen
& ) {}
3832 void SetPen( const wxPen
& ) {}
3834 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3835 void SetBrush( const wxBrush
& ) {}
3837 virtual void SetFont( const wxGraphicsFont
& ) {}
3838 void SetFont( const wxFont
&, const wxColour
& ) {}
3840 virtual void StrokePath( const wxGraphicsPath
& ) {}
3841 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3842 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3844 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3845 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3846 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3847 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3848 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3849 wxDouble
*, wxDouble
* ) const {}
3850 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3852 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3853 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3856 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3857 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3858 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3859 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3861 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3862 virtual bool ShouldOffset() const { return false; }
3866 class wxGraphicsRenderer
: public wxObject
3869 wxGraphicsRenderer() {
3870 PyErr_SetString(PyExc_NotImplementedError
,
3871 "wx.GraphicsRenderer is not available on this platform.");
3874 virtual ~wxGraphicsRenderer() {}
3876 static wxGraphicsRenderer
* GetDefaultRenderer() {
3877 PyErr_SetString(PyExc_NotImplementedError
,
3878 "wx.GraphicsRenderer is not available on this platform.");
3882 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3883 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3884 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3885 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3886 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3888 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3890 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3891 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3893 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3894 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3895 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3896 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3897 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3898 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3899 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3904 class wxGCDC
: public wxWindowDC
3907 wxGCDC(const wxWindowDC
&) {
3908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3909 PyErr_SetString(PyExc_NotImplementedError
,
3910 "wxGCDC is not available on this platform.");
3911 wxPyEndBlockThreads(blocked
);
3914 wxGCDC(const wxWindow
*) {
3915 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3916 PyErr_SetString(PyExc_NotImplementedError
,
3917 "wxGCDC is not available on this platform.");
3918 wxPyEndBlockThreads(blocked
);
3922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3923 PyErr_SetString(PyExc_NotImplementedError
,
3924 "wxGCDC is not available on this platform.");
3925 wxPyEndBlockThreads(blocked
);
3928 virtual ~wxGCDC() {}
3930 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3931 void SetGraphicsContext( wxGraphicsContext
* ) {}
3936 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3937 if ( !backgroundBrush
.IsNull() )
3938 self
->DrawText(str
, x
, y
, backgroundBrush
);
3940 self
->DrawText(str
, x
, y
);
3942 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3943 if ( !backgroundBrush
.IsNull() )
3944 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3946 self
->DrawText(str
, x
, y
, angle
);
3948 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3949 wxDouble width
= 0.0,
3951 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3952 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3953 PyObject
* rv
= PyTuple_New(2);
3954 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3955 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3958 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3959 wxArrayDouble widths
;
3960 self
->GetPartialTextExtents(text
, widths
);
3963 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3964 size_t c1
, c2
, count
;
3965 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3966 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3968 if ( beginP
!= NULL
&& endP
!= NULL
)
3970 count
= wxMin(c1
, c2
);
3971 self
->StrokeLines(count
, beginP
, endP
);
3977 #include "wx/dcgraph.h"
3980 #include <wx/overlay.h>
3984 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3985 self
->AddColour(name
, wxColour(red
, green
, blue
));
3988 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3989 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3990 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3991 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3994 #include <wx/effects.h>
3997 #include "wx/renderer.h"
4000 SWIGINTERNINLINE PyObject
*
4001 SWIG_From_bool (bool value
)
4003 return PyBool_FromLong(value
? 1 : 0);
4007 #include "wx/wxPython/pseudodc.h"
4009 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4011 self
->GetIdBounds(id
, rect
);
4017 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4018 PyObject
*resultobj
= 0;
4019 wxGDIObject
*result
= 0 ;
4021 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4023 if (!wxPyCheckForApp()) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (wxGDIObject
*)new wxGDIObject();
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4036 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4037 PyObject
*resultobj
= 0;
4038 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4041 PyObject
*swig_obj
[1] ;
4043 if (!args
) SWIG_fail
;
4045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4046 if (!SWIG_IsOK(res1
)) {
4047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4049 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= SWIG_Py_Void();
4064 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4065 PyObject
*resultobj
= 0;
4066 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4070 PyObject
*swig_obj
[1] ;
4072 if (!args
) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4078 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (bool)(arg1
)->IsNull();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4094 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4097 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4098 return SWIG_Py_Void();
4101 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4102 return SWIG_Python_InitShadowInstance(args
);
4105 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
= 0;
4107 byte arg1
= (byte
) 0 ;
4108 byte arg2
= (byte
) 0 ;
4109 byte arg3
= (byte
) 0 ;
4110 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4111 wxColour
*result
= 0 ;
4112 unsigned char val1
;
4114 unsigned char val2
;
4116 unsigned char val3
;
4118 unsigned char val4
;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4122 PyObject
* obj2
= 0 ;
4123 PyObject
* obj3
= 0 ;
4124 char * kwnames
[] = {
4125 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4130 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4131 if (!SWIG_IsOK(ecode1
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4134 arg1
= static_cast< byte
>(val1
);
4137 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4138 if (!SWIG_IsOK(ecode2
)) {
4139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4141 arg2
= static_cast< byte
>(val2
);
4144 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4145 if (!SWIG_IsOK(ecode3
)) {
4146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4148 arg3
= static_cast< byte
>(val3
);
4151 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4152 if (!SWIG_IsOK(ecode4
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4155 arg4
= static_cast< byte
>(val4
);
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4170 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
= 0;
4172 wxString
*arg1
= 0 ;
4173 wxColour
*result
= 0 ;
4174 bool temp1
= false ;
4175 PyObject
* obj0
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "colorName", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4182 arg1
= wxString_in_helper(obj0
);
4183 if (arg1
== NULL
) SWIG_fail
;
4187 if (!wxPyCheckForApp()) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4208 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
= 0;
4210 unsigned long arg1
;
4211 wxColour
*result
= 0 ;
4212 unsigned long val1
;
4214 PyObject
* obj0
= 0 ;
4215 char * kwnames
[] = {
4216 (char *) "colRGB", NULL
4219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4220 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4221 if (!SWIG_IsOK(ecode1
)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4224 arg1
= static_cast< unsigned long >(val1
);
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (wxColour
*)new wxColour(arg1
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4238 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4239 PyObject
*resultobj
= 0;
4240 wxColour
*arg1
= (wxColour
*) 0 ;
4243 PyObject
*swig_obj
[1] ;
4245 if (!args
) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4251 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4267 PyObject
*resultobj
= 0;
4268 wxColour
*arg1
= (wxColour
*) 0 ;
4272 PyObject
*swig_obj
[1] ;
4274 if (!args
) SWIG_fail
;
4276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4277 if (!SWIG_IsOK(res1
)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4280 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (byte
)(arg1
)->Red();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4294 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 PyObject
*resultobj
= 0;
4296 wxColour
*arg1
= (wxColour
*) 0 ;
4300 PyObject
*swig_obj
[1] ;
4302 if (!args
) SWIG_fail
;
4304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4305 if (!SWIG_IsOK(res1
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4308 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (byte
)(arg1
)->Green();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4322 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4323 PyObject
*resultobj
= 0;
4324 wxColour
*arg1
= (wxColour
*) 0 ;
4328 PyObject
*swig_obj
[1] ;
4330 if (!args
) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4336 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (byte
)(arg1
)->Blue();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4350 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4351 PyObject
*resultobj
= 0;
4352 wxColour
*arg1
= (wxColour
*) 0 ;
4356 PyObject
*swig_obj
[1] ;
4358 if (!args
) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4364 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (byte
)(arg1
)->Alpha();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4378 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4379 PyObject
*resultobj
= 0;
4380 wxColour
*arg1
= (wxColour
*) 0 ;
4384 PyObject
*swig_obj
[1] ;
4386 if (!args
) SWIG_fail
;
4388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4389 if (!SWIG_IsOK(res1
)) {
4390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4392 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (bool)(arg1
)->IsOk();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4408 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxColour
*arg1
= (wxColour
*) 0 ;
4414 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4417 unsigned char val2
;
4419 unsigned char val3
;
4421 unsigned char val4
;
4423 unsigned char val5
;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4427 PyObject
* obj2
= 0 ;
4428 PyObject
* obj3
= 0 ;
4429 PyObject
* obj4
= 0 ;
4430 char * kwnames
[] = {
4431 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4436 if (!SWIG_IsOK(res1
)) {
4437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4439 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4440 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4441 if (!SWIG_IsOK(ecode2
)) {
4442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4444 arg2
= static_cast< byte
>(val2
);
4445 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4446 if (!SWIG_IsOK(ecode3
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4449 arg3
= static_cast< byte
>(val3
);
4450 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4451 if (!SWIG_IsOK(ecode4
)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4454 arg4
= static_cast< byte
>(val4
);
4456 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4457 if (!SWIG_IsOK(ecode5
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4460 arg5
= static_cast< byte
>(val5
);
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_Py_Void();
4475 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
= 0;
4477 wxColour
*arg1
= (wxColour
*) 0 ;
4478 unsigned long arg2
;
4481 unsigned long val2
;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "self",(char *) "colRGB", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4491 if (!SWIG_IsOK(res1
)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4494 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4495 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4496 if (!SWIG_IsOK(ecode2
)) {
4497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4499 arg2
= static_cast< unsigned long >(val2
);
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_Py_Void();
4513 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
= 0;
4515 wxColour
*arg1
= (wxColour
*) 0 ;
4516 wxString
*arg2
= 0 ;
4519 bool temp2
= false ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "self",(char *) "colourName", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4531 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4533 arg2
= wxString_in_helper(obj1
);
4534 if (arg2
== NULL
) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 (arg1
)->Set((wxString
const &)*arg2
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_Py_Void();
4558 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
= 0;
4560 wxColour
*arg1
= (wxColour
*) 0 ;
4561 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4569 char * kwnames
[] = {
4570 (char *) "self",(char *) "flags", NULL
4573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4578 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4580 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4581 if (!SWIG_IsOK(ecode2
)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4584 arg2
= static_cast< long >(val2
);
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4605 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4606 PyObject
*resultobj
= 0;
4607 wxColour
*arg1
= (wxColour
*) 0 ;
4611 PyObject
*swig_obj
[1] ;
4613 if (!args
) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4619 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_From_long(static_cast< long >(result
));
4633 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
= 0;
4635 wxColour
*arg1
= (wxColour
*) 0 ;
4636 PyObject
*arg2
= (PyObject
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4642 char * kwnames
[] = {
4643 (char *) "self",(char *) "other", NULL
4646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4648 if (!SWIG_IsOK(res1
)) {
4649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4651 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4654 result
= (bool)wxColour___eq__(arg1
,arg2
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4666 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxColour
*arg1
= (wxColour
*) 0 ;
4669 PyObject
*arg2
= (PyObject
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "self",(char *) "other", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4681 if (!SWIG_IsOK(res1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4684 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4687 result
= (bool)wxColour___ne__(arg1
,arg2
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4699 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
= 0;
4701 wxColour
*arg1
= (wxColour
*) 0 ;
4702 bool arg2
= (bool) false ;
4703 PyObject
*result
= 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 char * kwnames
[] = {
4711 (char *) "self",(char *) "includeAlpha", NULL
4714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4719 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4722 if (!SWIG_IsOK(ecode2
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4725 arg2
= static_cast< bool >(val2
);
4728 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4738 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4739 PyObject
*resultobj
= 0;
4740 wxColour
*arg1
= (wxColour
*) 0 ;
4741 unsigned long result
;
4744 PyObject
*swig_obj
[1] ;
4746 if (!args
) SWIG_fail
;
4748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4749 if (!SWIG_IsOK(res1
)) {
4750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4752 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4754 result
= (unsigned long)wxColour_GetRGB(arg1
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4764 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4767 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4768 return SWIG_Py_Void();
4771 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4772 return SWIG_Python_InitShadowInstance(args
);
4775 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
= 0;
4778 unsigned char *arg2
= (unsigned char *) 0 ;
4779 unsigned char *arg3
= (unsigned char *) 0 ;
4780 unsigned char *arg4
= (unsigned char *) 0 ;
4781 wxPalette
*result
= 0 ;
4790 PyObject
* obj0
= 0 ;
4791 PyObject
* obj1
= 0 ;
4792 PyObject
* obj2
= 0 ;
4793 PyObject
* obj3
= 0 ;
4794 char * kwnames
[] = {
4795 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4800 if (!SWIG_IsOK(ecode1
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4803 arg1
= static_cast< int >(val1
);
4804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4805 if (!SWIG_IsOK(res2
)) {
4806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4808 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4809 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4810 if (!SWIG_IsOK(res3
)) {
4811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4813 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4814 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4815 if (!SWIG_IsOK(res4
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4818 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4820 if (!wxPyCheckForApp()) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4833 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4834 PyObject
*resultobj
= 0;
4835 wxPalette
*arg1
= (wxPalette
*) 0 ;
4838 PyObject
*swig_obj
[1] ;
4840 if (!args
) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4846 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_Py_Void();
4861 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxPalette
*arg1
= (wxPalette
*) 0 ;
4870 unsigned char val2
;
4872 unsigned char val3
;
4874 unsigned char val4
;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4879 PyObject
* obj3
= 0 ;
4880 char * kwnames
[] = {
4881 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4889 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4890 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4891 if (!SWIG_IsOK(ecode2
)) {
4892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4894 arg2
= static_cast< byte
>(val2
);
4895 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4896 if (!SWIG_IsOK(ecode3
)) {
4897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4899 arg3
= static_cast< byte
>(val3
);
4900 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4901 if (!SWIG_IsOK(ecode4
)) {
4902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4904 arg4
= static_cast< byte
>(val4
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_From_int(static_cast< int >(result
));
4918 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
= 0;
4920 wxPalette
*arg1
= (wxPalette
*) 0 ;
4922 byte
*arg3
= (byte
*) 0 ;
4923 byte
*arg4
= (byte
*) 0 ;
4924 byte
*arg5
= (byte
*) 0 ;
4931 int res3
= SWIG_TMPOBJ
;
4933 int res4
= SWIG_TMPOBJ
;
4935 int res5
= SWIG_TMPOBJ
;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 char * kwnames
[] = {
4939 (char *) "self",(char *) "pixel", NULL
4945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4947 if (!SWIG_IsOK(res1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4950 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4952 if (!SWIG_IsOK(ecode2
)) {
4953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4955 arg2
= static_cast< int >(val2
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4965 if (SWIG_IsTmpObj(res3
)) {
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4968 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4971 if (SWIG_IsTmpObj(res4
)) {
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4974 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4977 if (SWIG_IsTmpObj(res5
)) {
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4980 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4989 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPalette
*arg1
= (wxPalette
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5003 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_From_int(static_cast< int >(result
));
5017 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 PyObject
*resultobj
= 0;
5019 wxPalette
*arg1
= (wxPalette
*) 0 ;
5023 PyObject
*swig_obj
[1] ;
5025 if (!args
) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5031 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (bool)(arg1
)->IsOk();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5047 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5051 return SWIG_Py_Void();
5054 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 return SWIG_Python_InitShadowInstance(args
);
5058 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
= 0;
5060 wxColour
*arg1
= 0 ;
5061 int arg2
= (int) 1 ;
5062 int arg3
= (int) wxSOLID
;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5071 PyObject
* obj2
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "colour",(char *) "width",(char *) "style", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5079 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5083 if (!SWIG_IsOK(ecode2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5086 arg2
= static_cast< int >(val2
);
5089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5090 if (!SWIG_IsOK(ecode3
)) {
5091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5093 arg3
= static_cast< int >(val3
);
5096 if (!wxPyCheckForApp()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5109 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5110 PyObject
*resultobj
= 0;
5111 wxPen
*arg1
= (wxPen
*) 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5122 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= SWIG_Py_Void();
5137 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5138 PyObject
*resultobj
= 0;
5139 wxPen
*arg1
= (wxPen
*) 0 ;
5143 PyObject
*swig_obj
[1] ;
5145 if (!args
) SWIG_fail
;
5147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5148 if (!SWIG_IsOK(res1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5151 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (int)(arg1
)->GetCap();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_From_int(static_cast< int >(result
));
5165 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5166 PyObject
*resultobj
= 0;
5167 wxPen
*arg1
= (wxPen
*) 0 ;
5171 PyObject
*swig_obj
[1] ;
5173 if (!args
) SWIG_fail
;
5175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5176 if (!SWIG_IsOK(res1
)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5179 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (arg1
)->GetColour();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5193 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5194 PyObject
*resultobj
= 0;
5195 wxPen
*arg1
= (wxPen
*) 0 ;
5199 PyObject
*swig_obj
[1] ;
5201 if (!args
) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5207 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (int)(arg1
)->GetJoin();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_From_int(static_cast< int >(result
));
5221 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxPen
*arg1
= (wxPen
*) 0 ;
5227 PyObject
*swig_obj
[1] ;
5229 if (!args
) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5235 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)(arg1
)->GetStyle();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_From_int(static_cast< int >(result
));
5249 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5250 PyObject
*resultobj
= 0;
5251 wxPen
*arg1
= (wxPen
*) 0 ;
5255 PyObject
*swig_obj
[1] ;
5257 if (!args
) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5263 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (int)(arg1
)->GetWidth();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_From_int(static_cast< int >(result
));
5277 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 PyObject
*resultobj
= 0;
5279 wxPen
*arg1
= (wxPen
*) 0 ;
5283 PyObject
*swig_obj
[1] ;
5285 if (!args
) SWIG_fail
;
5287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5288 if (!SWIG_IsOK(res1
)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5291 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (bool)(arg1
)->IsOk();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5307 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
= 0;
5309 wxPen
*arg1
= (wxPen
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5317 char * kwnames
[] = {
5318 (char *) "self",(char *) "cap_style", NULL
5321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5323 if (!SWIG_IsOK(res1
)) {
5324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5326 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5328 if (!SWIG_IsOK(ecode2
)) {
5329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5331 arg2
= static_cast< int >(val2
);
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->SetCap(arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= SWIG_Py_Void();
5345 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
= 0;
5347 wxPen
*arg1
= (wxPen
*) 0 ;
5348 wxColour
*arg2
= 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 char * kwnames
[] = {
5355 (char *) "self",(char *) "colour", NULL
5358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5360 if (!SWIG_IsOK(res1
)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5363 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 (arg1
)->SetColour(*arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_Py_Void();
5381 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= 0;
5383 wxPen
*arg1
= (wxPen
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 char * kwnames
[] = {
5392 (char *) "self",(char *) "join_style", NULL
5395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5400 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5402 if (!SWIG_IsOK(ecode2
)) {
5403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5405 arg2
= static_cast< int >(val2
);
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 (arg1
)->SetJoin(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= SWIG_Py_Void();
5419 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
= 0;
5421 wxPen
*arg1
= (wxPen
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5429 char * kwnames
[] = {
5430 (char *) "self",(char *) "style", NULL
5433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5435 if (!SWIG_IsOK(res1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5438 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5440 if (!SWIG_IsOK(ecode2
)) {
5441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5443 arg2
= static_cast< int >(val2
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->SetStyle(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_Py_Void();
5457 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
= 0;
5459 wxPen
*arg1
= (wxPen
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5467 char * kwnames
[] = {
5468 (char *) "self",(char *) "width", NULL
5471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5473 if (!SWIG_IsOK(res1
)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5476 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5478 if (!SWIG_IsOK(ecode2
)) {
5479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5481 arg2
= static_cast< int >(val2
);
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetWidth(arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_Py_Void();
5495 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
= 0;
5497 wxPen
*arg1
= (wxPen
*) 0 ;
5499 wxDash
*arg3
= (wxDash
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5504 char * kwnames
[] = {
5505 (char *) "self",(char *) "dashes", NULL
5508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5510 if (!SWIG_IsOK(res1
)) {
5511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5513 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5515 arg2
= PyList_Size(obj1
);
5516 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5517 if (arg3
== NULL
) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 (arg1
)->SetDashes(arg2
,arg3
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_Py_Void();
5527 if (arg3
) delete [] arg3
;
5532 if (arg3
) delete [] arg3
;
5538 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5539 PyObject
*resultobj
= 0;
5540 wxPen
*arg1
= (wxPen
*) 0 ;
5541 PyObject
*result
= 0 ;
5544 PyObject
*swig_obj
[1] ;
5546 if (!args
) SWIG_fail
;
5548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5549 if (!SWIG_IsOK(res1
)) {
5550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5552 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5566 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
= 0;
5568 wxPen
*arg1
= (wxPen
*) 0 ;
5569 PyObject
*arg2
= (PyObject
*) 0 ;
5570 PyObject
*arg3
= (PyObject
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5575 PyObject
* obj2
= 0 ;
5576 char * kwnames
[] = {
5577 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5585 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxPen__SetDashes(arg1
,arg2
,arg3
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_Py_Void();
5601 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5602 PyObject
*resultobj
= 0;
5603 wxPen
*arg1
= (wxPen
*) 0 ;
5607 PyObject
*swig_obj
[1] ;
5609 if (!args
) SWIG_fail
;
5611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5612 if (!SWIG_IsOK(res1
)) {
5613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5615 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_From_int(static_cast< int >(result
));
5629 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxPen
*arg1
= (wxPen
*) 0 ;
5632 wxPen
*arg2
= (wxPen
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 char * kwnames
[] = {
5641 (char *) "self",(char *) "other", NULL
5644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5646 if (!SWIG_IsOK(res1
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5649 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5651 if (!SWIG_IsOK(res2
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5654 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5670 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
= 0;
5672 wxPen
*arg1
= (wxPen
*) 0 ;
5673 wxPen
*arg2
= (wxPen
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "other", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5690 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5692 if (!SWIG_IsOK(res2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5695 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5714 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5715 return SWIG_Py_Void();
5718 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 return SWIG_Python_InitShadowInstance(args
);
5722 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
= 0;
5724 wxColour
*arg1
= 0 ;
5725 int arg2
= (int) wxSOLID
;
5726 wxBrush
*result
= 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 char * kwnames
[] = {
5733 (char *) "colour",(char *) "style", NULL
5736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5739 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5743 if (!SWIG_IsOK(ecode2
)) {
5744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5746 arg2
= static_cast< int >(val2
);
5749 if (!wxPyCheckForApp()) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5762 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
= 0;
5764 wxBitmap
*arg1
= 0 ;
5765 wxBrush
*result
= 0 ;
5768 PyObject
* obj0
= 0 ;
5769 char * kwnames
[] = {
5770 (char *) "stippleBitmap", NULL
5773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5774 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5775 if (!SWIG_IsOK(res1
)) {
5776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5781 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5783 if (!wxPyCheckForApp()) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5796 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5797 PyObject
*resultobj
= 0;
5798 wxBrush
*arg1
= (wxBrush
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5809 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= SWIG_Py_Void();
5824 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
= 0;
5826 wxBrush
*arg1
= (wxBrush
*) 0 ;
5827 wxColour
*arg2
= 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "col", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5842 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 (arg1
)->SetColour((wxColour
const &)*arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_Py_Void();
5860 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxBrush
*arg1
= (wxBrush
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "self",(char *) "style", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5879 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5881 if (!SWIG_IsOK(ecode2
)) {
5882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5884 arg2
= static_cast< int >(val2
);
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 (arg1
)->SetStyle(arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_Py_Void();
5898 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
= 0;
5900 wxBrush
*arg1
= (wxBrush
*) 0 ;
5901 wxBitmap
*arg2
= 0 ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5908 char * kwnames
[] = {
5909 (char *) "self",(char *) "stipple", NULL
5912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5914 if (!SWIG_IsOK(res1
)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5917 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5919 if (!SWIG_IsOK(res2
)) {
5920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5925 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_Py_Void();
5939 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5940 PyObject
*resultobj
= 0;
5941 wxBrush
*arg1
= (wxBrush
*) 0 ;
5945 PyObject
*swig_obj
[1] ;
5947 if (!args
) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5953 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= ((wxBrush
const *)arg1
)->GetColour();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5967 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5968 PyObject
*resultobj
= 0;
5969 wxBrush
*arg1
= (wxBrush
*) 0 ;
5973 PyObject
*swig_obj
[1] ;
5975 if (!args
) SWIG_fail
;
5977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5978 if (!SWIG_IsOK(res1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5981 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_From_int(static_cast< int >(result
));
5995 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5996 PyObject
*resultobj
= 0;
5997 wxBrush
*arg1
= (wxBrush
*) 0 ;
5998 wxBitmap
*result
= 0 ;
6001 PyObject
*swig_obj
[1] ;
6003 if (!args
) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6009 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6023 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6024 PyObject
*resultobj
= 0;
6025 wxBrush
*arg1
= (wxBrush
*) 0 ;
6029 PyObject
*swig_obj
[1] ;
6031 if (!args
) SWIG_fail
;
6033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6034 if (!SWIG_IsOK(res1
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6037 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6053 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6054 PyObject
*resultobj
= 0;
6055 wxBrush
*arg1
= (wxBrush
*) 0 ;
6059 PyObject
*swig_obj
[1] ;
6061 if (!args
) SWIG_fail
;
6063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6064 if (!SWIG_IsOK(res1
)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6067 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)(arg1
)->IsOk();
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6086 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6087 return SWIG_Py_Void();
6090 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6091 return SWIG_Python_InitShadowInstance(args
);
6094 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
= 0;
6096 wxString
*arg1
= 0 ;
6097 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6098 wxBitmap
*result
= 0 ;
6099 bool temp1
= false ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6104 char * kwnames
[] = {
6105 (char *) "name",(char *) "type", NULL
6108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6110 arg1
= wxString_in_helper(obj0
);
6111 if (arg1
== NULL
) SWIG_fail
;
6115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6116 if (!SWIG_IsOK(ecode2
)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6119 arg2
= static_cast< wxBitmapType
>(val2
);
6122 if (!wxPyCheckForApp()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6143 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6148 PyObject
*swig_obj
[1] ;
6150 if (!args
) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6156 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_Py_Void();
6169 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6173 int arg3
= (int) -1 ;
6174 wxBitmap
*result
= 0 ;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6183 PyObject
* obj2
= 0 ;
6184 char * kwnames
[] = {
6185 (char *) "width",(char *) "height",(char *) "depth", NULL
6188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6190 if (!SWIG_IsOK(ecode1
)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6193 arg1
= static_cast< int >(val1
);
6194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6195 if (!SWIG_IsOK(ecode2
)) {
6196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6198 arg2
= static_cast< int >(val2
);
6200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6201 if (!SWIG_IsOK(ecode3
)) {
6202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6204 arg3
= static_cast< int >(val3
);
6207 if (!wxPyCheckForApp()) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6220 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
= 0;
6223 wxBitmap
*result
= 0 ;
6226 PyObject
* obj0
= 0 ;
6227 char * kwnames
[] = {
6228 (char *) "icon", NULL
6231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6232 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6233 if (!SWIG_IsOK(res1
)) {
6234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6239 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6241 if (!wxPyCheckForApp()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6254 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
= 0;
6257 int arg2
= (int) -1 ;
6258 wxBitmap
*result
= 0 ;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6265 char * kwnames
[] = {
6266 (char *) "image",(char *) "depth", NULL
6269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6270 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6271 if (!SWIG_IsOK(res1
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6277 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6280 if (!SWIG_IsOK(ecode2
)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6283 arg2
= static_cast< int >(val2
);
6286 if (!wxPyCheckForApp()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6299 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
= 0;
6301 PyObject
*arg1
= (PyObject
*) 0 ;
6302 wxBitmap
*result
= 0 ;
6303 PyObject
* obj0
= 0 ;
6304 char * kwnames
[] = {
6305 (char *) "listOfStrings", NULL
6308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6311 if (!wxPyCheckForApp()) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6324 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
= 0;
6326 PyObject
*arg1
= (PyObject
*) 0 ;
6329 int arg4
= (int) 1 ;
6330 wxBitmap
*result
= 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6340 PyObject
* obj3
= 0 ;
6341 char * kwnames
[] = {
6342 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6348 if (!SWIG_IsOK(ecode2
)) {
6349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6351 arg2
= static_cast< int >(val2
);
6352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6353 if (!SWIG_IsOK(ecode3
)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6356 arg3
= static_cast< int >(val3
);
6358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6359 if (!SWIG_IsOK(ecode4
)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6362 arg4
= static_cast< int >(val4
);
6365 if (!wxPyCheckForApp()) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6378 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6379 PyObject
*resultobj
= 0;
6380 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6384 PyObject
*swig_obj
[1] ;
6386 if (!args
) SWIG_fail
;
6388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6389 if (!SWIG_IsOK(res1
)) {
6390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6392 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6394 result
= (bool)(arg1
)->IsOk();
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6407 PyObject
*resultobj
= 0;
6408 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6412 PyObject
*swig_obj
[1] ;
6414 if (!args
) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6422 result
= (int)(arg1
)->GetWidth();
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_From_int(static_cast< int >(result
));
6432 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6433 PyObject
*resultobj
= 0;
6434 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6438 PyObject
*swig_obj
[1] ;
6440 if (!args
) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6448 result
= (int)(arg1
)->GetHeight();
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= SWIG_From_int(static_cast< int >(result
));
6458 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6459 PyObject
*resultobj
= 0;
6460 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6464 PyObject
*swig_obj
[1] ;
6466 if (!args
) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6472 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6474 result
= (int)(arg1
)->GetDepth();
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_From_int(static_cast< int >(result
));
6484 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6490 PyObject
*swig_obj
[1] ;
6492 if (!args
) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6498 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6500 result
= wxBitmap_GetSize(arg1
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6510 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6513 SwigValueWrapper
<wxImage
> result
;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6524 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6526 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6536 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6537 PyObject
*resultobj
= 0;
6538 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6539 wxMask
*result
= 0 ;
6542 PyObject
*swig_obj
[1] ;
6544 if (!args
) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6552 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6562 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6565 wxMask
*arg2
= (wxMask
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 char * kwnames
[] = {
6572 (char *) "self",(char *) "mask", NULL
6575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6577 if (!SWIG_IsOK(res1
)) {
6578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6580 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6581 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6582 if (!SWIG_IsOK(res2
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6586 (arg1
)->SetMask(arg2
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_Py_Void();
6596 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
= 0;
6598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6599 wxColour
*arg2
= 0 ;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6605 char * kwnames
[] = {
6606 (char *) "self",(char *) "colour", NULL
6609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6611 if (!SWIG_IsOK(res1
)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6614 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6620 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_Py_Void();
6630 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
= 0;
6632 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6634 SwigValueWrapper
<wxBitmap
> result
;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 char * kwnames
[] = {
6641 (char *) "self",(char *) "rect", NULL
6644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6646 if (!SWIG_IsOK(res1
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6649 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6655 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6665 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
= 0;
6667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6668 wxString
*arg2
= 0 ;
6670 wxPalette
*arg4
= (wxPalette
*) NULL
;
6674 bool temp2
= false ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 PyObject
* obj2
= 0 ;
6682 PyObject
* obj3
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 arg2
= wxString_in_helper(obj1
);
6695 if (arg2
== NULL
) SWIG_fail
;
6698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6699 if (!SWIG_IsOK(ecode3
)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6702 arg3
= static_cast< wxBitmapType
>(val3
);
6704 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6705 if (!SWIG_IsOK(res4
)) {
6706 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6708 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6711 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6734 wxString
*arg2
= 0 ;
6739 bool temp2
= false ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6744 PyObject
* obj2
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "self",(char *) "name",(char *) "type", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6751 if (!SWIG_IsOK(res1
)) {
6752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6754 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6756 arg2
= wxString_in_helper(obj1
);
6757 if (arg2
== NULL
) SWIG_fail
;
6760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6761 if (!SWIG_IsOK(ecode3
)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6764 arg3
= static_cast< wxBitmapType
>(val3
);
6766 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6786 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6787 PyObject
*resultobj
= 0;
6788 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6789 wxPalette
*result
= 0 ;
6792 PyObject
*swig_obj
[1] ;
6794 if (!args
) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6802 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6812 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
= 0;
6814 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 char * kwnames
[] = {
6824 (char *) "self",(char *) "icon", NULL
6827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6834 if (!SWIG_IsOK(res2
)) {
6835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6840 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6842 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6854 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "height", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6873 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6875 if (!SWIG_IsOK(ecode2
)) {
6876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6878 arg2
= static_cast< int >(val2
);
6880 (arg1
)->SetHeight(arg2
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_Py_Void();
6890 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
= 0;
6892 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6900 char * kwnames
[] = {
6901 (char *) "self",(char *) "width", NULL
6904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6906 if (!SWIG_IsOK(res1
)) {
6907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6909 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6911 if (!SWIG_IsOK(ecode2
)) {
6912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6914 arg2
= static_cast< int >(val2
);
6916 (arg1
)->SetWidth(arg2
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_Py_Void();
6926 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
= 0;
6928 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6936 char * kwnames
[] = {
6937 (char *) "self",(char *) "depth", NULL
6940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6945 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6947 if (!SWIG_IsOK(ecode2
)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6950 arg2
= static_cast< int >(val2
);
6952 (arg1
)->SetDepth(arg2
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6962 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6964 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6971 char * kwnames
[] = {
6972 (char *) "self",(char *) "size", NULL
6975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6977 if (!SWIG_IsOK(res1
)) {
6978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6980 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6986 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_Py_Void();
6996 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
= 0;
6998 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7006 char * kwnames
[] = {
7007 (char *) "self",(char *) "data", NULL
7010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7012 if (!SWIG_IsOK(res1
)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7017 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7021 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_Py_Void();
7031 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
= 0;
7033 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7041 char * kwnames
[] = {
7042 (char *) "self",(char *) "data", NULL
7045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7050 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7052 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7056 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_Py_Void();
7066 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= 0;
7068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7069 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "other", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7086 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7088 if (!SWIG_IsOK(res2
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7091 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7093 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7105 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
= 0;
7107 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7108 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7116 char * kwnames
[] = {
7117 (char *) "self",(char *) "other", NULL
7120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7125 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7127 if (!SWIG_IsOK(res2
)) {
7128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7130 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7132 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7144 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7147 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7148 return SWIG_Py_Void();
7151 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 return SWIG_Python_InitShadowInstance(args
);
7155 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
= 0;
7163 wxBitmap
*result
= 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7172 PyObject
* obj2
= 0 ;
7173 PyObject
* obj3
= 0 ;
7174 char * kwnames
[] = {
7175 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7180 if (!SWIG_IsOK(ecode1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7183 arg1
= static_cast< int >(val1
);
7184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7185 if (!SWIG_IsOK(ecode2
)) {
7186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7188 arg2
= static_cast< int >(val2
);
7190 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7194 if (obj3
!= Py_None
) {
7195 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7200 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7210 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= 0;
7216 wxBitmap
*result
= 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7224 PyObject
* obj2
= 0 ;
7225 char * kwnames
[] = {
7226 (char *) "width",(char *) "height",(char *) "data", NULL
7229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7231 if (!SWIG_IsOK(ecode1
)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7234 arg1
= static_cast< int >(val1
);
7235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7236 if (!SWIG_IsOK(ecode2
)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7239 arg2
= static_cast< int >(val2
);
7241 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7245 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7255 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= 0;
7261 wxBitmap
*result
= 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 PyObject
* obj2
= 0 ;
7270 char * kwnames
[] = {
7271 (char *) "width",(char *) "height",(char *) "data", NULL
7274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7275 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7276 if (!SWIG_IsOK(ecode1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7279 arg1
= static_cast< int >(val1
);
7280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7281 if (!SWIG_IsOK(ecode2
)) {
7282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7284 arg2
= static_cast< int >(val2
);
7286 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7290 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7300 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7301 PyObject
*resultobj
= 0;
7302 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7306 PyObject
*swig_obj
[1] ;
7308 if (!args
) SWIG_fail
;
7310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7311 if (!SWIG_IsOK(res1
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7314 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7316 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7326 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7327 PyObject
*resultobj
= 0;
7328 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7332 PyObject
*swig_obj
[1] ;
7334 if (!args
) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7340 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7342 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= SWIG_From_int(static_cast< int >(result
));
7352 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7353 PyObject
*resultobj
= 0;
7354 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7358 PyObject
*swig_obj
[1] ;
7360 if (!args
) SWIG_fail
;
7362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7363 if (!SWIG_IsOK(res1
)) {
7364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7366 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7368 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_From_int(static_cast< int >(result
));
7378 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 PyObject
*resultobj
= 0;
7380 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7384 PyObject
*swig_obj
[1] ;
7386 if (!args
) SWIG_fail
;
7388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7389 if (!SWIG_IsOK(res1
)) {
7390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7392 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7394 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7404 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7405 PyObject
*resultobj
= 0;
7406 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7410 PyObject
*swig_obj
[1] ;
7412 if (!args
) SWIG_fail
;
7414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7415 if (!SWIG_IsOK(res1
)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7418 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7420 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_From_int(static_cast< int >(result
));
7430 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7434 return SWIG_Py_Void();
7437 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7438 PyObject
*resultobj
= 0;
7439 wxBitmap
*arg1
= 0 ;
7440 wxNativePixelData
*result
= 0 ;
7444 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7446 if (!SWIG_IsOK(res1
)) {
7447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7452 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7454 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7464 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7465 PyObject
*resultobj
= 0;
7466 wxBitmap
*arg1
= 0 ;
7468 wxNativePixelData
*result
= 0 ;
7473 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7475 if (!SWIG_IsOK(res1
)) {
7476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7481 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7484 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7487 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7497 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7498 PyObject
*resultobj
= 0;
7499 wxBitmap
*arg1
= 0 ;
7502 wxNativePixelData
*result
= 0 ;
7508 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7516 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7519 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7523 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7526 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7536 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7543 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7546 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7549 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7553 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7558 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7559 PyObject
*resultobj
= 0;
7560 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7563 PyObject
*swig_obj
[1] ;
7565 if (!args
) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7571 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_Py_Void();
7584 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7585 PyObject
*resultobj
= 0;
7586 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7587 wxNativePixelData_Accessor result
;
7590 PyObject
*swig_obj
[1] ;
7592 if (!args
) SWIG_fail
;
7594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7595 if (!SWIG_IsOK(res1
)) {
7596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7598 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7600 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7610 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7611 PyObject
*resultobj
= 0;
7612 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7615 PyObject
*swig_obj
[1] ;
7617 if (!args
) SWIG_fail
;
7619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7620 if (!SWIG_IsOK(res1
)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7623 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_Py_Void();
7635 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7636 PyObject
*resultobj
= 0;
7637 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7641 PyObject
*swig_obj
[1] ;
7643 if (!args
) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7649 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7651 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7663 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7666 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7667 return SWIG_Py_Void();
7670 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 return SWIG_Python_InitShadowInstance(args
);
7674 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7675 PyObject
*resultobj
= 0;
7676 wxNativePixelData
*arg1
= 0 ;
7677 wxNativePixelData_Accessor
*result
= 0 ;
7681 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7689 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7691 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7701 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7702 PyObject
*resultobj
= 0;
7703 wxBitmap
*arg1
= 0 ;
7704 wxNativePixelData
*arg2
= 0 ;
7705 wxNativePixelData_Accessor
*result
= 0 ;
7711 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7719 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7720 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7721 if (!SWIG_IsOK(res2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7727 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7729 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7739 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7740 PyObject
*resultobj
= 0;
7741 wxNativePixelData_Accessor
*result
= 0 ;
7743 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7745 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7755 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7759 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7762 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7765 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7768 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7772 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7777 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 PyObject
*resultobj
= 0;
7779 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7782 PyObject
*swig_obj
[1] ;
7784 if (!args
) SWIG_fail
;
7786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7787 if (!SWIG_IsOK(res1
)) {
7788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7790 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_Py_Void();
7803 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= 0;
7805 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7806 wxNativePixelData
*arg2
= 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 char * kwnames
[] = {
7814 (char *) "self",(char *) "data", NULL
7817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7819 if (!SWIG_IsOK(res1
)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7822 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7824 if (!SWIG_IsOK(res2
)) {
7825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7830 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7832 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_Py_Void();
7842 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7843 PyObject
*resultobj
= 0;
7844 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7848 PyObject
*swig_obj
[1] ;
7850 if (!args
) SWIG_fail
;
7852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7853 if (!SWIG_IsOK(res1
)) {
7854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7856 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7858 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7870 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 PyObject
*resultobj
= 0;
7872 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7875 PyObject
*swig_obj
[1] ;
7877 if (!args
) SWIG_fail
;
7879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7880 if (!SWIG_IsOK(res1
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7883 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7885 wxNativePixelData_Accessor_nextPixel(arg1
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_Py_Void();
7895 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7898 wxNativePixelData
*arg2
= 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7911 PyObject
* obj2
= 0 ;
7912 PyObject
* obj3
= 0 ;
7913 char * kwnames
[] = {
7914 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7922 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7924 if (!SWIG_IsOK(res2
)) {
7925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7930 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7932 if (!SWIG_IsOK(ecode3
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7935 arg3
= static_cast< int >(val3
);
7936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7937 if (!SWIG_IsOK(ecode4
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7940 arg4
= static_cast< int >(val4
);
7942 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_Py_Void();
7952 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
= 0;
7954 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7955 wxNativePixelData
*arg2
= 0 ;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7965 PyObject
* obj2
= 0 ;
7966 char * kwnames
[] = {
7967 (char *) "self",(char *) "data",(char *) "x", NULL
7970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7975 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7977 if (!SWIG_IsOK(res2
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7983 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7985 if (!SWIG_IsOK(ecode3
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7988 arg3
= static_cast< int >(val3
);
7990 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_Py_Void();
8000 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
= 0;
8002 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8003 wxNativePixelData
*arg2
= 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8013 PyObject
* obj2
= 0 ;
8014 char * kwnames
[] = {
8015 (char *) "self",(char *) "data",(char *) "y", NULL
8018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8020 if (!SWIG_IsOK(res1
)) {
8021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8023 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8025 if (!SWIG_IsOK(res2
)) {
8026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8031 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8033 if (!SWIG_IsOK(ecode3
)) {
8034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8036 arg3
= static_cast< int >(val3
);
8038 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_Py_Void();
8048 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8051 wxNativePixelData
*arg2
= 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8064 PyObject
* obj2
= 0 ;
8065 PyObject
* obj3
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8075 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8077 if (!SWIG_IsOK(res2
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8083 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8085 if (!SWIG_IsOK(ecode3
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8088 arg3
= static_cast< int >(val3
);
8089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8090 if (!SWIG_IsOK(ecode4
)) {
8091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8093 arg4
= static_cast< int >(val4
);
8095 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_Py_Void();
8105 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
= 0;
8107 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8113 unsigned char val2
;
8115 unsigned char val3
;
8117 unsigned char val4
;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8121 PyObject
* obj2
= 0 ;
8122 PyObject
* obj3
= 0 ;
8123 char * kwnames
[] = {
8124 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8132 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8133 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8134 if (!SWIG_IsOK(ecode2
)) {
8135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8137 arg2
= static_cast< byte
>(val2
);
8138 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8139 if (!SWIG_IsOK(ecode3
)) {
8140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8142 arg3
= static_cast< byte
>(val3
);
8143 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8144 if (!SWIG_IsOK(ecode4
)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8147 arg4
= static_cast< byte
>(val4
);
8149 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_Py_Void();
8159 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8160 PyObject
*resultobj
= 0;
8161 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8162 PyObject
*result
= 0 ;
8165 PyObject
*swig_obj
[1] ;
8167 if (!args
) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8173 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8175 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8185 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8188 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8189 return SWIG_Py_Void();
8192 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8193 return SWIG_Python_InitShadowInstance(args
);
8196 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8197 PyObject
*resultobj
= 0;
8198 wxBitmap
*arg1
= 0 ;
8199 wxAlphaPixelData
*result
= 0 ;
8203 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8205 if (!SWIG_IsOK(res1
)) {
8206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8211 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8213 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8223 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8224 PyObject
*resultobj
= 0;
8225 wxBitmap
*arg1
= 0 ;
8227 wxAlphaPixelData
*result
= 0 ;
8232 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8240 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8243 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8246 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8256 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8257 PyObject
*resultobj
= 0;
8258 wxBitmap
*arg1
= 0 ;
8261 wxAlphaPixelData
*result
= 0 ;
8267 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8269 if (!SWIG_IsOK(res1
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8275 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8278 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8282 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8285 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8295 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8299 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8302 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8305 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8308 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8312 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8317 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8318 PyObject
*resultobj
= 0;
8319 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8322 PyObject
*swig_obj
[1] ;
8324 if (!args
) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8330 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_Py_Void();
8343 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8344 PyObject
*resultobj
= 0;
8345 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8346 wxAlphaPixelData_Accessor result
;
8349 PyObject
*swig_obj
[1] ;
8351 if (!args
) SWIG_fail
;
8353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8354 if (!SWIG_IsOK(res1
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8357 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8359 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8369 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 PyObject
*resultobj
= 0;
8371 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8374 PyObject
*swig_obj
[1] ;
8376 if (!args
) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8382 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= SWIG_Py_Void();
8394 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8395 PyObject
*resultobj
= 0;
8396 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8400 PyObject
*swig_obj
[1] ;
8402 if (!args
) SWIG_fail
;
8404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8405 if (!SWIG_IsOK(res1
)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8408 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8410 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8422 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8425 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8426 return SWIG_Py_Void();
8429 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8430 return SWIG_Python_InitShadowInstance(args
);
8433 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8434 PyObject
*resultobj
= 0;
8435 wxAlphaPixelData
*arg1
= 0 ;
8436 wxAlphaPixelData_Accessor
*result
= 0 ;
8440 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8448 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8450 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8460 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8461 PyObject
*resultobj
= 0;
8462 wxBitmap
*arg1
= 0 ;
8463 wxAlphaPixelData
*arg2
= 0 ;
8464 wxAlphaPixelData_Accessor
*result
= 0 ;
8470 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8472 if (!SWIG_IsOK(res1
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8479 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8480 if (!SWIG_IsOK(res2
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8486 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8488 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8498 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8499 PyObject
*resultobj
= 0;
8500 wxAlphaPixelData_Accessor
*result
= 0 ;
8502 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8504 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8514 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8518 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8521 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8524 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8527 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8531 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8536 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8537 PyObject
*resultobj
= 0;
8538 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8541 PyObject
*swig_obj
[1] ;
8543 if (!args
) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8549 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_Py_Void();
8562 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
= 0;
8564 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8565 wxAlphaPixelData
*arg2
= 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 char * kwnames
[] = {
8573 (char *) "self",(char *) "data", NULL
8576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8578 if (!SWIG_IsOK(res1
)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8581 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8583 if (!SWIG_IsOK(res2
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8589 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8591 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_Py_Void();
8601 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8602 PyObject
*resultobj
= 0;
8603 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8607 PyObject
*swig_obj
[1] ;
8609 if (!args
) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8615 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8617 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8629 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 PyObject
*resultobj
= 0;
8631 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8634 PyObject
*swig_obj
[1] ;
8636 if (!args
) SWIG_fail
;
8638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8639 if (!SWIG_IsOK(res1
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8642 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8644 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_Py_Void();
8654 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
= 0;
8656 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8657 wxAlphaPixelData
*arg2
= 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 PyObject
* obj2
= 0 ;
8671 PyObject
* obj3
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8681 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8683 if (!SWIG_IsOK(res2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8689 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8691 if (!SWIG_IsOK(ecode3
)) {
8692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8694 arg3
= static_cast< int >(val3
);
8695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8696 if (!SWIG_IsOK(ecode4
)) {
8697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8699 arg4
= static_cast< int >(val4
);
8701 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_Py_Void();
8711 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
= 0;
8713 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8714 wxAlphaPixelData
*arg2
= 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8724 PyObject
* obj2
= 0 ;
8725 char * kwnames
[] = {
8726 (char *) "self",(char *) "data",(char *) "x", NULL
8729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8734 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8736 if (!SWIG_IsOK(res2
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8742 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8744 if (!SWIG_IsOK(ecode3
)) {
8745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8747 arg3
= static_cast< int >(val3
);
8749 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_Py_Void();
8759 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= 0;
8761 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8762 wxAlphaPixelData
*arg2
= 0 ;
8770 PyObject
* obj0
= 0 ;
8771 PyObject
* obj1
= 0 ;
8772 PyObject
* obj2
= 0 ;
8773 char * kwnames
[] = {
8774 (char *) "self",(char *) "data",(char *) "y", NULL
8777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8779 if (!SWIG_IsOK(res1
)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8782 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8784 if (!SWIG_IsOK(res2
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8790 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8792 if (!SWIG_IsOK(ecode3
)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8795 arg3
= static_cast< int >(val3
);
8797 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_Py_Void();
8807 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= 0;
8809 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8810 wxAlphaPixelData
*arg2
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8824 PyObject
* obj3
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8834 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8842 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8844 if (!SWIG_IsOK(ecode3
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8847 arg3
= static_cast< int >(val3
);
8848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8849 if (!SWIG_IsOK(ecode4
)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8852 arg4
= static_cast< int >(val4
);
8854 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_Py_Void();
8864 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= 0;
8866 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8873 unsigned char val2
;
8875 unsigned char val3
;
8877 unsigned char val4
;
8879 unsigned char val5
;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8884 PyObject
* obj3
= 0 ;
8885 PyObject
* obj4
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8895 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8896 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8897 if (!SWIG_IsOK(ecode2
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8900 arg2
= static_cast< byte
>(val2
);
8901 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8902 if (!SWIG_IsOK(ecode3
)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8905 arg3
= static_cast< byte
>(val3
);
8906 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8907 if (!SWIG_IsOK(ecode4
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8910 arg4
= static_cast< byte
>(val4
);
8911 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8912 if (!SWIG_IsOK(ecode5
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8915 arg5
= static_cast< byte
>(val5
);
8917 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_Py_Void();
8927 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8928 PyObject
*resultobj
= 0;
8929 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8930 PyObject
*result
= 0 ;
8933 PyObject
*swig_obj
[1] ;
8935 if (!args
) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8941 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8943 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8953 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8956 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8957 return SWIG_Py_Void();
8960 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8961 return SWIG_Python_InitShadowInstance(args
);
8964 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= 0;
8966 wxBitmap
*arg1
= 0 ;
8967 wxColour
const &arg2_defvalue
= wxNullColour
;
8968 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8969 wxMask
*result
= 0 ;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8975 char * kwnames
[] = {
8976 (char *) "bitmap",(char *) "colour", NULL
8979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8980 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8981 if (!SWIG_IsOK(res1
)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8987 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8995 if (!wxPyCheckForApp()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9008 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9009 PyObject
*resultobj
= 0;
9010 wxMask
*arg1
= (wxMask
*) 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9021 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= SWIG_Py_Void();
9034 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9037 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9038 return SWIG_Py_Void();
9041 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9042 return SWIG_Python_InitShadowInstance(args
);
9045 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
= 0;
9047 wxString
*arg1
= 0 ;
9049 int arg3
= (int) -1 ;
9050 int arg4
= (int) -1 ;
9051 wxIcon
*result
= 0 ;
9052 bool temp1
= false ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9062 PyObject
* obj3
= 0 ;
9063 char * kwnames
[] = {
9064 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9069 arg1
= wxString_in_helper(obj0
);
9070 if (arg1
== NULL
) SWIG_fail
;
9073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9074 if (!SWIG_IsOK(ecode2
)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9077 arg2
= static_cast< wxBitmapType
>(val2
);
9079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9080 if (!SWIG_IsOK(ecode3
)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9083 arg3
= static_cast< int >(val3
);
9086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9087 if (!SWIG_IsOK(ecode4
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9090 arg4
= static_cast< int >(val4
);
9093 if (!wxPyCheckForApp()) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9114 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9115 PyObject
*resultobj
= 0;
9116 wxIcon
*arg1
= (wxIcon
*) 0 ;
9119 PyObject
*swig_obj
[1] ;
9121 if (!args
) SWIG_fail
;
9123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9124 if (!SWIG_IsOK(res1
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9127 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_Py_Void();
9142 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9143 PyObject
*resultobj
= 0;
9144 wxIcon
*result
= 0 ;
9146 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9148 if (!wxPyCheckForApp()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxIcon
*)new wxIcon();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9161 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
= 0;
9163 wxIconLocation
*arg1
= 0 ;
9164 wxIcon
*result
= 0 ;
9167 PyObject
* obj0
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "loc", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9180 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9182 if (!wxPyCheckForApp()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9195 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxBitmap
*arg1
= 0 ;
9198 wxIcon
*result
= 0 ;
9201 PyObject
* obj0
= 0 ;
9202 char * kwnames
[] = {
9203 (char *) "bmp", NULL
9206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9214 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9216 if (!wxPyCheckForApp()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9229 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= 0;
9231 PyObject
*arg1
= (PyObject
*) 0 ;
9232 wxIcon
*result
= 0 ;
9233 PyObject
* obj0
= 0 ;
9234 char * kwnames
[] = {
9235 (char *) "listOfStrings", NULL
9238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9241 if (!wxPyCheckForApp()) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (wxIcon
*)new_wxIcon(arg1
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9254 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
= 0;
9256 wxIcon
*arg1
= (wxIcon
*) 0 ;
9257 wxString
*arg2
= 0 ;
9262 bool temp2
= false ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9267 PyObject
* obj2
= 0 ;
9268 char * kwnames
[] = {
9269 (char *) "self",(char *) "name",(char *) "type", NULL
9272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9274 if (!SWIG_IsOK(res1
)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9277 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9279 arg2
= wxString_in_helper(obj1
);
9280 if (arg2
== NULL
) SWIG_fail
;
9283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9284 if (!SWIG_IsOK(ecode3
)) {
9285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9287 arg3
= static_cast< wxBitmapType
>(val3
);
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9311 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxIcon
*arg1
= (wxIcon
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9325 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)(arg1
)->IsOk();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9341 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9342 PyObject
*resultobj
= 0;
9343 wxIcon
*arg1
= (wxIcon
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9355 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)(arg1
)->GetWidth();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_From_int(static_cast< int >(result
));
9369 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9370 PyObject
*resultobj
= 0;
9371 wxIcon
*arg1
= (wxIcon
*) 0 ;
9375 PyObject
*swig_obj
[1] ;
9377 if (!args
) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9383 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (int)(arg1
)->GetHeight();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_From_int(static_cast< int >(result
));
9397 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9398 PyObject
*resultobj
= 0;
9399 wxIcon
*arg1
= (wxIcon
*) 0 ;
9403 PyObject
*swig_obj
[1] ;
9405 if (!args
) SWIG_fail
;
9407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9408 if (!SWIG_IsOK(res1
)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9411 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (int)(arg1
)->GetDepth();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_From_int(static_cast< int >(result
));
9425 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxIcon
*arg1
= (wxIcon
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 char * kwnames
[] = {
9436 (char *) "self",(char *) "w", NULL
9439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9444 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9446 if (!SWIG_IsOK(ecode2
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9449 arg2
= static_cast< int >(val2
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetWidth(arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_Py_Void();
9463 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
= 0;
9465 wxIcon
*arg1
= (wxIcon
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9473 char * kwnames
[] = {
9474 (char *) "self",(char *) "h", NULL
9477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9479 if (!SWIG_IsOK(res1
)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9482 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9484 if (!SWIG_IsOK(ecode2
)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9487 arg2
= static_cast< int >(val2
);
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 (arg1
)->SetHeight(arg2
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_Py_Void();
9501 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
= 0;
9503 wxIcon
*arg1
= (wxIcon
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "d", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9520 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9522 if (!SWIG_IsOK(ecode2
)) {
9523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9525 arg2
= static_cast< int >(val2
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->SetDepth(arg2
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_Py_Void();
9539 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
= 0;
9541 wxIcon
*arg1
= (wxIcon
*) 0 ;
9542 wxBitmap
*arg2
= 0 ;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 char * kwnames
[] = {
9550 (char *) "self",(char *) "bmp", NULL
9553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9555 if (!SWIG_IsOK(res1
)) {
9556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9558 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9560 if (!SWIG_IsOK(res2
)) {
9561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9566 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_Py_Void();
9580 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9583 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9584 return SWIG_Py_Void();
9587 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9588 return SWIG_Python_InitShadowInstance(args
);
9591 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9594 int arg2
= (int) 0 ;
9595 wxIconLocation
*result
= 0 ;
9596 bool temp1
= false ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9601 char * kwnames
[] = {
9602 (char *) "filename",(char *) "num", NULL
9605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9608 arg1
= wxString_in_helper(obj0
);
9609 if (arg1
== NULL
) SWIG_fail
;
9614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9615 if (!SWIG_IsOK(ecode2
)) {
9616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9618 arg2
= static_cast< int >(val2
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9641 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9642 PyObject
*resultobj
= 0;
9643 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9646 PyObject
*swig_obj
[1] ;
9648 if (!args
) SWIG_fail
;
9650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9651 if (!SWIG_IsOK(res1
)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9654 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9669 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 PyObject
*resultobj
= 0;
9671 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9675 PyObject
*swig_obj
[1] ;
9677 if (!args
) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9683 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9699 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
= 0;
9701 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9702 wxString
*arg2
= 0 ;
9705 bool temp2
= false ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "filename", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9717 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9719 arg2
= wxString_in_helper(obj1
);
9720 if (arg2
== NULL
) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetFileName((wxString
const &)*arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_Py_Void();
9744 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9747 wxString
*result
= 0 ;
9750 PyObject
*swig_obj
[1] ;
9752 if (!args
) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9758 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9763 result
= (wxString
*) &_result_ref
;
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9772 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9781 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= 0;
9783 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9791 char * kwnames
[] = {
9792 (char *) "self",(char *) "num", NULL
9795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9797 if (!SWIG_IsOK(res1
)) {
9798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9800 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9802 if (!SWIG_IsOK(ecode2
)) {
9803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9805 arg2
= static_cast< int >(val2
);
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 wxIconLocation_SetIndex(arg1
,arg2
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_Py_Void();
9819 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9820 PyObject
*resultobj
= 0;
9821 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9825 PyObject
*swig_obj
[1] ;
9827 if (!args
) SWIG_fail
;
9829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9830 if (!SWIG_IsOK(res1
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9833 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)wxIconLocation_GetIndex(arg1
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_From_int(static_cast< int >(result
));
9847 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9850 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9851 return SWIG_Py_Void();
9854 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9855 return SWIG_Python_InitShadowInstance(args
);
9858 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9859 PyObject
*resultobj
= 0;
9860 wxIconBundle
*result
= 0 ;
9862 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (wxIconBundle
*)new wxIconBundle();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9876 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
= 0;
9878 wxString
*arg1
= 0 ;
9880 wxIconBundle
*result
= 0 ;
9881 bool temp1
= false ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "file",(char *) "type", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9892 arg1
= wxString_in_helper(obj0
);
9893 if (arg1
== NULL
) SWIG_fail
;
9896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9897 if (!SWIG_IsOK(ecode2
)) {
9898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9900 arg2
= static_cast< long >(val2
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9922 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
= 0;
9925 wxIconBundle
*result
= 0 ;
9928 PyObject
* obj0
= 0 ;
9929 char * kwnames
[] = {
9930 (char *) "icon", NULL
9933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9934 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9935 if (!SWIG_IsOK(res1
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9941 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9955 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9956 PyObject
*resultobj
= 0;
9957 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9960 PyObject
*swig_obj
[1] ;
9962 if (!args
) SWIG_fail
;
9964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9965 if (!SWIG_IsOK(res1
)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9968 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_Py_Void();
9983 SWIGINTERN PyObject
*_wrap_IconBundle_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9984 PyObject
*resultobj
= 0;
9985 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9989 PyObject
*swig_obj
[1] ;
9991 if (!args
) SWIG_fail
;
9993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9994 if (!SWIG_IsOK(res1
)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9997 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (bool)((wxIconBundle
const *)arg1
)->IsOk();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10013 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
= 0;
10015 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10021 PyObject
* obj0
= 0 ;
10022 PyObject
* obj1
= 0 ;
10023 char * kwnames
[] = {
10024 (char *) "self",(char *) "icon", NULL
10027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10029 if (!SWIG_IsOK(res1
)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10032 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10034 if (!SWIG_IsOK(res2
)) {
10035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10040 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_Py_Void();
10054 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
= 0;
10056 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10057 wxString
*arg2
= 0 ;
10061 bool temp2
= false ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 PyObject
* obj2
= 0 ;
10067 char * kwnames
[] = {
10068 (char *) "self",(char *) "file",(char *) "type", NULL
10071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10073 if (!SWIG_IsOK(res1
)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10076 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10078 arg2
= wxString_in_helper(obj1
);
10079 if (arg2
== NULL
) SWIG_fail
;
10082 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10083 if (!SWIG_IsOK(ecode3
)) {
10084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10086 arg3
= static_cast< long >(val3
);
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_Py_Void();
10108 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
= 0;
10110 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10112 wxIcon
*result
= 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 char * kwnames
[] = {
10119 (char *) "self",(char *) "size", NULL
10122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10124 if (!SWIG_IsOK(res1
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10127 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10130 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10136 result
= (wxIcon
*) &_result_ref
;
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 wxIcon
* resultptr
= new wxIcon(*result
);
10143 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10151 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconOfExactSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
= 0;
10153 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10159 PyObject
* obj0
= 0 ;
10160 PyObject
* obj1
= 0 ;
10161 char * kwnames
[] = {
10162 (char *) "self",(char *) "size", NULL
10165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10167 if (!SWIG_IsOK(res1
)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10170 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10173 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= ((wxIconBundle
const *)arg1
)->GetIconOfExactSize((wxSize
const &)*arg2
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10188 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10189 PyObject
*resultobj
= 0;
10190 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10194 PyObject
*swig_obj
[1] ;
10196 if (!args
) SWIG_fail
;
10197 swig_obj
[0] = args
;
10198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10202 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (size_t)((wxIconBundle
const *)arg1
)->GetIconCount();
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10216 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconByIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
= 0;
10218 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 char * kwnames
[] = {
10228 (char *) "self",(char *) "n", NULL
10231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconByIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10233 if (!SWIG_IsOK(res1
)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10236 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10237 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10238 if (!SWIG_IsOK(ecode2
)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'");
10241 arg2
= static_cast< size_t >(val2
);
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= ((wxIconBundle
const *)arg1
)->GetIconByIndex(arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10255 SWIGINTERN PyObject
*_wrap_IconBundle_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10256 PyObject
*resultobj
= 0;
10257 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10261 PyObject
*swig_obj
[1] ;
10263 if (!args
) SWIG_fail
;
10264 swig_obj
[0] = args
;
10265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10266 if (!SWIG_IsOK(res1
)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10269 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (bool)((wxIconBundle
const *)arg1
)->IsEmpty();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10285 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10288 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10289 return SWIG_Py_Void();
10292 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10293 return SWIG_Python_InitShadowInstance(args
);
10296 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
= 0;
10298 wxString
*arg1
= 0 ;
10300 int arg3
= (int) 0 ;
10301 int arg4
= (int) 0 ;
10302 wxCursor
*result
= 0 ;
10303 bool temp1
= false ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 PyObject
* obj2
= 0 ;
10313 PyObject
* obj3
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10320 arg1
= wxString_in_helper(obj0
);
10321 if (arg1
== NULL
) SWIG_fail
;
10324 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10325 if (!SWIG_IsOK(ecode2
)) {
10326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10328 arg2
= static_cast< long >(val2
);
10330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10331 if (!SWIG_IsOK(ecode3
)) {
10332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10334 arg3
= static_cast< int >(val3
);
10337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10338 if (!SWIG_IsOK(ecode4
)) {
10339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10341 arg4
= static_cast< int >(val4
);
10344 if (!wxPyCheckForApp()) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10365 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10366 PyObject
*resultobj
= 0;
10367 wxCursor
*arg1
= (wxCursor
*) 0 ;
10370 PyObject
*swig_obj
[1] ;
10372 if (!args
) SWIG_fail
;
10373 swig_obj
[0] = args
;
10374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10375 if (!SWIG_IsOK(res1
)) {
10376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10378 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_Py_Void();
10393 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
= 0;
10396 wxCursor
*result
= 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char * kwnames
[] = {
10401 (char *) "id", NULL
10404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10406 if (!SWIG_IsOK(ecode1
)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10409 arg1
= static_cast< int >(val1
);
10411 if (!wxPyCheckForApp()) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (wxCursor
*)new wxCursor(arg1
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10424 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxImage
*arg1
= 0 ;
10427 wxCursor
*result
= 0 ;
10430 PyObject
* obj0
= 0 ;
10431 char * kwnames
[] = {
10432 (char *) "image", NULL
10435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10436 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10437 if (!SWIG_IsOK(res1
)) {
10438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10443 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10445 if (!wxPyCheckForApp()) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10458 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10459 PyObject
*resultobj
= 0;
10460 wxCursor
*arg1
= (wxCursor
*) 0 ;
10464 PyObject
*swig_obj
[1] ;
10466 if (!args
) SWIG_fail
;
10467 swig_obj
[0] = args
;
10468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10469 if (!SWIG_IsOK(res1
)) {
10470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10472 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (bool)(arg1
)->IsOk();
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10488 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10491 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10492 return SWIG_Py_Void();
10495 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10496 return SWIG_Python_InitShadowInstance(args
);
10499 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
= 0;
10501 int arg1
= (int) 0 ;
10502 int arg2
= (int) 0 ;
10503 int arg3
= (int) 0 ;
10504 int arg4
= (int) 0 ;
10505 wxRegion
*result
= 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 PyObject
* obj2
= 0 ;
10517 PyObject
* obj3
= 0 ;
10518 char * kwnames
[] = {
10519 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10524 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10525 if (!SWIG_IsOK(ecode1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10528 arg1
= static_cast< int >(val1
);
10531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10532 if (!SWIG_IsOK(ecode2
)) {
10533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10535 arg2
= static_cast< int >(val2
);
10538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10539 if (!SWIG_IsOK(ecode3
)) {
10540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10542 arg3
= static_cast< int >(val3
);
10545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10546 if (!SWIG_IsOK(ecode4
)) {
10547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10549 arg4
= static_cast< int >(val4
);
10552 if (!wxPyCheckForApp()) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10565 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
= 0;
10567 wxBitmap
*arg1
= 0 ;
10568 wxRegion
*result
= 0 ;
10571 PyObject
* obj0
= 0 ;
10572 char * kwnames
[] = {
10573 (char *) "bmp", NULL
10576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10577 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10578 if (!SWIG_IsOK(res1
)) {
10579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10584 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10586 if (!wxPyCheckForApp()) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10599 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
= 0;
10601 wxBitmap
*arg1
= 0 ;
10602 wxColour
*arg2
= 0 ;
10603 int arg3
= (int) 0 ;
10604 wxRegion
*result
= 0 ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 PyObject
* obj2
= 0 ;
10613 char * kwnames
[] = {
10614 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10618 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10619 if (!SWIG_IsOK(res1
)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10625 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10632 if (!SWIG_IsOK(ecode3
)) {
10633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10635 arg3
= static_cast< int >(val3
);
10638 if (!wxPyCheckForApp()) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10651 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
= 0;
10654 wxPoint
*arg2
= (wxPoint
*) 0 ;
10655 int arg3
= (int) wxWINDING_RULE
;
10656 wxRegion
*result
= 0 ;
10659 PyObject
* obj0
= 0 ;
10660 PyObject
* obj1
= 0 ;
10661 char * kwnames
[] = {
10662 (char *) "points",(char *) "fillStyle", NULL
10665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10667 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10668 if (arg2
== NULL
) SWIG_fail
;
10671 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10672 if (!SWIG_IsOK(ecode3
)) {
10673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10675 arg3
= static_cast< int >(val3
);
10678 if (!wxPyCheckForApp()) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10686 if (arg2
) delete [] arg2
;
10691 if (arg2
) delete [] arg2
;
10697 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10698 PyObject
*resultobj
= 0;
10699 wxRegion
*arg1
= (wxRegion
*) 0 ;
10702 PyObject
*swig_obj
[1] ;
10704 if (!args
) SWIG_fail
;
10705 swig_obj
[0] = args
;
10706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10707 if (!SWIG_IsOK(res1
)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10710 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_Py_Void();
10725 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10726 PyObject
*resultobj
= 0;
10727 wxRegion
*arg1
= (wxRegion
*) 0 ;
10730 PyObject
*swig_obj
[1] ;
10732 if (!args
) SWIG_fail
;
10733 swig_obj
[0] = args
;
10734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10738 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_Py_Void();
10752 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
= 0;
10754 wxRegion
*arg1
= (wxRegion
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 PyObject
* obj2
= 0 ;
10767 char * kwnames
[] = {
10768 (char *) "self",(char *) "x",(char *) "y", NULL
10771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) 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_Offset" "', 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_Offset" "', 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_Offset" "', expected argument " "3"" of type '" "int""'");
10786 arg3
= static_cast< int >(val3
);
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10802 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
= 0;
10804 wxRegion
*arg1
= (wxRegion
*) 0 ;
10807 wxRegionContain result
;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 PyObject
* obj2
= 0 ;
10817 char * kwnames
[] = {
10818 (char *) "self",(char *) "x",(char *) "y", NULL
10821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10826 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10828 if (!SWIG_IsOK(ecode2
)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10831 arg2
= static_cast< int >(val2
);
10832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10833 if (!SWIG_IsOK(ecode3
)) {
10834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10836 arg3
= static_cast< int >(val3
);
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= SWIG_From_int(static_cast< int >(result
));
10850 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
= 0;
10852 wxRegion
*arg1
= (wxRegion
*) 0 ;
10853 wxPoint
*arg2
= 0 ;
10854 wxRegionContain result
;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 char * kwnames
[] = {
10861 (char *) "self",(char *) "pt", NULL
10864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10866 if (!SWIG_IsOK(res1
)) {
10867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10869 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= SWIG_From_int(static_cast< int >(result
));
10887 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
= 0;
10889 wxRegion
*arg1
= (wxRegion
*) 0 ;
10891 wxRegionContain result
;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "self",(char *) "rect", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10906 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10909 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= SWIG_From_int(static_cast< int >(result
));
10924 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
= 0;
10926 wxRegion
*arg1
= (wxRegion
*) 0 ;
10931 wxRegionContain result
;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 PyObject
* obj2
= 0 ;
10945 PyObject
* obj3
= 0 ;
10946 PyObject
* obj4
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10956 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10958 if (!SWIG_IsOK(ecode2
)) {
10959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10961 arg2
= static_cast< int >(val2
);
10962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10963 if (!SWIG_IsOK(ecode3
)) {
10964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10966 arg3
= static_cast< int >(val3
);
10967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10968 if (!SWIG_IsOK(ecode4
)) {
10969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10971 arg4
= static_cast< int >(val4
);
10972 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10973 if (!SWIG_IsOK(ecode5
)) {
10974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10976 arg5
= static_cast< int >(val5
);
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_From_int(static_cast< int >(result
));
10990 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10991 PyObject
*resultobj
= 0;
10992 wxRegion
*arg1
= (wxRegion
*) 0 ;
10996 PyObject
*swig_obj
[1] ;
10998 if (!args
) SWIG_fail
;
10999 swig_obj
[0] = args
;
11000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11001 if (!SWIG_IsOK(res1
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11004 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (arg1
)->GetBox();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11018 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
= 0;
11020 wxRegion
*arg1
= (wxRegion
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 PyObject
* obj2
= 0 ;
11039 PyObject
* obj3
= 0 ;
11040 PyObject
* obj4
= 0 ;
11041 char * kwnames
[] = {
11042 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11047 if (!SWIG_IsOK(res1
)) {
11048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11050 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11052 if (!SWIG_IsOK(ecode2
)) {
11053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11055 arg2
= static_cast< int >(val2
);
11056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11057 if (!SWIG_IsOK(ecode3
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11060 arg3
= static_cast< int >(val3
);
11061 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11062 if (!SWIG_IsOK(ecode4
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11065 arg4
= static_cast< int >(val4
);
11066 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11067 if (!SWIG_IsOK(ecode5
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11070 arg5
= static_cast< int >(val5
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
= 0;
11088 wxRegion
*arg1
= (wxRegion
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 char * kwnames
[] = {
11097 (char *) "self",(char *) "rect", NULL
11100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11105 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11108 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11125 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
= 0;
11127 wxRegion
*arg1
= (wxRegion
*) 0 ;
11128 wxRegion
*arg2
= 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 char * kwnames
[] = {
11137 (char *) "self",(char *) "region", NULL
11140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11145 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11147 if (!SWIG_IsOK(res2
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11153 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 PyObject
*resultobj
= 0;
11171 wxRegion
*arg1
= (wxRegion
*) 0 ;
11175 PyObject
*swig_obj
[1] ;
11177 if (!args
) SWIG_fail
;
11178 swig_obj
[0] = args
;
11179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11183 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (bool)(arg1
)->IsEmpty();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11199 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
= 0;
11201 wxRegion
*arg1
= (wxRegion
*) 0 ;
11202 wxRegion
*arg2
= 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 char * kwnames
[] = {
11211 (char *) "self",(char *) "region", NULL
11214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11216 if (!SWIG_IsOK(res1
)) {
11217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11219 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11221 if (!SWIG_IsOK(res2
)) {
11222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11227 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11243 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
= 0;
11245 wxRegion
*arg1
= (wxRegion
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 PyObject
* obj2
= 0 ;
11264 PyObject
* obj3
= 0 ;
11265 PyObject
* obj4
= 0 ;
11266 char * kwnames
[] = {
11267 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11272 if (!SWIG_IsOK(res1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11275 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11277 if (!SWIG_IsOK(ecode2
)) {
11278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11280 arg2
= static_cast< int >(val2
);
11281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11282 if (!SWIG_IsOK(ecode3
)) {
11283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11285 arg3
= static_cast< int >(val3
);
11286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11287 if (!SWIG_IsOK(ecode4
)) {
11288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11290 arg4
= static_cast< int >(val4
);
11291 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11292 if (!SWIG_IsOK(ecode5
)) {
11293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11295 arg5
= static_cast< int >(val5
);
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11311 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
= 0;
11313 wxRegion
*arg1
= (wxRegion
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 char * kwnames
[] = {
11322 (char *) "self",(char *) "rect", NULL
11325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11327 if (!SWIG_IsOK(res1
)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11330 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11333 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11350 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
= 0;
11352 wxRegion
*arg1
= (wxRegion
*) 0 ;
11353 wxRegion
*arg2
= 0 ;
11359 PyObject
* obj0
= 0 ;
11360 PyObject
* obj1
= 0 ;
11361 char * kwnames
[] = {
11362 (char *) "self",(char *) "region", NULL
11365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11367 if (!SWIG_IsOK(res1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11370 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11372 if (!SWIG_IsOK(res2
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11378 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11394 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
= 0;
11396 wxRegion
*arg1
= (wxRegion
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 PyObject
* obj2
= 0 ;
11415 PyObject
* obj3
= 0 ;
11416 PyObject
* obj4
= 0 ;
11417 char * kwnames
[] = {
11418 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11423 if (!SWIG_IsOK(res1
)) {
11424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11426 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11428 if (!SWIG_IsOK(ecode2
)) {
11429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11431 arg2
= static_cast< int >(val2
);
11432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11433 if (!SWIG_IsOK(ecode3
)) {
11434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11436 arg3
= static_cast< int >(val3
);
11437 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11438 if (!SWIG_IsOK(ecode4
)) {
11439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11441 arg4
= static_cast< int >(val4
);
11442 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11443 if (!SWIG_IsOK(ecode5
)) {
11444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11446 arg5
= static_cast< int >(val5
);
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11462 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
= 0;
11464 wxRegion
*arg1
= (wxRegion
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 char * kwnames
[] = {
11473 (char *) "self",(char *) "rect", NULL
11476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11478 if (!SWIG_IsOK(res1
)) {
11479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11481 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11484 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11501 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
= 0;
11503 wxRegion
*arg1
= (wxRegion
*) 0 ;
11504 wxRegion
*arg2
= 0 ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 char * kwnames
[] = {
11513 (char *) "self",(char *) "region", NULL
11516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11518 if (!SWIG_IsOK(res1
)) {
11519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11521 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11523 if (!SWIG_IsOK(res2
)) {
11524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11529 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11545 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
= 0;
11547 wxRegion
*arg1
= (wxRegion
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 PyObject
* obj2
= 0 ;
11566 PyObject
* obj3
= 0 ;
11567 PyObject
* obj4
= 0 ;
11568 char * kwnames
[] = {
11569 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11577 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11579 if (!SWIG_IsOK(ecode2
)) {
11580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11582 arg2
= static_cast< int >(val2
);
11583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11584 if (!SWIG_IsOK(ecode3
)) {
11585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11587 arg3
= static_cast< int >(val3
);
11588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11589 if (!SWIG_IsOK(ecode4
)) {
11590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11592 arg4
= static_cast< int >(val4
);
11593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11594 if (!SWIG_IsOK(ecode5
)) {
11595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11597 arg5
= static_cast< int >(val5
);
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11613 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
= 0;
11615 wxRegion
*arg1
= (wxRegion
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 char * kwnames
[] = {
11624 (char *) "self",(char *) "rect", NULL
11627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11629 if (!SWIG_IsOK(res1
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11632 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11635 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11652 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
= 0;
11654 wxRegion
*arg1
= (wxRegion
*) 0 ;
11655 wxRegion
*arg2
= 0 ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 char * kwnames
[] = {
11664 (char *) "self",(char *) "region", NULL
11667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11669 if (!SWIG_IsOK(res1
)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11672 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11674 if (!SWIG_IsOK(res2
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11680 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11696 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11697 PyObject
*resultobj
= 0;
11698 wxRegion
*arg1
= (wxRegion
*) 0 ;
11699 SwigValueWrapper
<wxBitmap
> result
;
11702 PyObject
*swig_obj
[1] ;
11704 if (!args
) SWIG_fail
;
11705 swig_obj
[0] = args
;
11706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11707 if (!SWIG_IsOK(res1
)) {
11708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11710 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (arg1
)->ConvertToBitmap();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11724 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
= 0;
11726 wxRegion
*arg1
= (wxRegion
*) 0 ;
11727 wxBitmap
*arg2
= 0 ;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 char * kwnames
[] = {
11736 (char *) "self",(char *) "bmp", NULL
11739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11741 if (!SWIG_IsOK(res1
)) {
11742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11744 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11746 if (!SWIG_IsOK(res2
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11752 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11768 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
= 0;
11770 wxRegion
*arg1
= (wxRegion
*) 0 ;
11771 wxBitmap
*arg2
= 0 ;
11772 wxColour
*arg3
= 0 ;
11773 int arg4
= (int) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 PyObject
* obj1
= 0 ;
11784 PyObject
* obj2
= 0 ;
11785 PyObject
* obj3
= 0 ;
11786 char * kwnames
[] = {
11787 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11792 if (!SWIG_IsOK(res1
)) {
11793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11795 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11797 if (!SWIG_IsOK(res2
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11803 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11806 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11809 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11810 if (!SWIG_IsOK(ecode4
)) {
11811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11813 arg4
= static_cast< int >(val4
);
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11830 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11833 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11834 return SWIG_Py_Void();
11837 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11838 return SWIG_Python_InitShadowInstance(args
);
11841 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
= 0;
11843 wxRegion
*arg1
= 0 ;
11844 wxRegionIterator
*result
= 0 ;
11847 PyObject
* obj0
= 0 ;
11848 char * kwnames
[] = {
11849 (char *) "region", NULL
11852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11853 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11854 if (!SWIG_IsOK(res1
)) {
11855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11860 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11862 if (!wxPyCheckForApp()) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11875 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11876 PyObject
*resultobj
= 0;
11877 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11880 PyObject
*swig_obj
[1] ;
11882 if (!args
) SWIG_fail
;
11883 swig_obj
[0] = args
;
11884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11888 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_Py_Void();
11903 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11904 PyObject
*resultobj
= 0;
11905 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11909 PyObject
*swig_obj
[1] ;
11911 if (!args
) SWIG_fail
;
11912 swig_obj
[0] = args
;
11913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11914 if (!SWIG_IsOK(res1
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11917 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (int)(arg1
)->GetX();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_From_int(static_cast< int >(result
));
11931 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11932 PyObject
*resultobj
= 0;
11933 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11937 PyObject
*swig_obj
[1] ;
11939 if (!args
) SWIG_fail
;
11940 swig_obj
[0] = args
;
11941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11945 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (int)(arg1
)->GetY();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_From_int(static_cast< int >(result
));
11959 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11973 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (int)(arg1
)->GetW();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_From_int(static_cast< int >(result
));
11987 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11988 PyObject
*resultobj
= 0;
11989 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11993 PyObject
*swig_obj
[1] ;
11995 if (!args
) SWIG_fail
;
11996 swig_obj
[0] = args
;
11997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11998 if (!SWIG_IsOK(res1
)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12001 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (int)(arg1
)->GetWidth();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_From_int(static_cast< int >(result
));
12015 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12016 PyObject
*resultobj
= 0;
12017 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12021 PyObject
*swig_obj
[1] ;
12023 if (!args
) SWIG_fail
;
12024 swig_obj
[0] = args
;
12025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12026 if (!SWIG_IsOK(res1
)) {
12027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12029 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (int)(arg1
)->GetH();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= SWIG_From_int(static_cast< int >(result
));
12043 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12044 PyObject
*resultobj
= 0;
12045 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12049 PyObject
*swig_obj
[1] ;
12051 if (!args
) SWIG_fail
;
12052 swig_obj
[0] = args
;
12053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12057 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (int)(arg1
)->GetHeight();
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= SWIG_From_int(static_cast< int >(result
));
12071 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12072 PyObject
*resultobj
= 0;
12073 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12077 PyObject
*swig_obj
[1] ;
12079 if (!args
) SWIG_fail
;
12080 swig_obj
[0] = args
;
12081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12082 if (!SWIG_IsOK(res1
)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12085 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (arg1
)->GetRect();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12099 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12100 PyObject
*resultobj
= 0;
12101 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12105 PyObject
*swig_obj
[1] ;
12107 if (!args
) SWIG_fail
;
12108 swig_obj
[0] = args
;
12109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12110 if (!SWIG_IsOK(res1
)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12113 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (bool)(arg1
)->HaveRects();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12129 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12130 PyObject
*resultobj
= 0;
12131 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12134 PyObject
*swig_obj
[1] ;
12136 if (!args
) SWIG_fail
;
12137 swig_obj
[0] = args
;
12138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12139 if (!SWIG_IsOK(res1
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12142 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_Py_Void();
12156 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12161 PyObject
*swig_obj
[1] ;
12163 if (!args
) SWIG_fail
;
12164 swig_obj
[0] = args
;
12165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12166 if (!SWIG_IsOK(res1
)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12169 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 wxRegionIterator_Next(arg1
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_Py_Void();
12183 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12184 PyObject
*resultobj
= 0;
12185 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12189 PyObject
*swig_obj
[1] ;
12191 if (!args
) SWIG_fail
;
12192 swig_obj
[0] = args
;
12193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12194 if (!SWIG_IsOK(res1
)) {
12195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12197 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12216 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12217 return SWIG_Py_Void();
12220 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12221 return SWIG_Python_InitShadowInstance(args
);
12224 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12225 PyObject
*resultobj
= 0;
12226 wxNativeFontInfo
*result
= 0 ;
12228 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12242 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12247 PyObject
*swig_obj
[1] ;
12249 if (!args
) SWIG_fail
;
12250 swig_obj
[0] = args
;
12251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12255 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_Py_Void();
12270 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12271 PyObject
*resultobj
= 0;
12272 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12283 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_Py_Void();
12297 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
= 0;
12299 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 char * kwnames
[] = {
12308 (char *) "self",(char *) "font", NULL
12311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12316 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12318 if (!SWIG_IsOK(res2
)) {
12319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12324 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= SWIG_Py_Void();
12338 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12339 PyObject
*resultobj
= 0;
12340 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12344 PyObject
*swig_obj
[1] ;
12346 if (!args
) SWIG_fail
;
12347 swig_obj
[0] = args
;
12348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12349 if (!SWIG_IsOK(res1
)) {
12350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12352 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_From_int(static_cast< int >(result
));
12366 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12367 PyObject
*resultobj
= 0;
12368 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12369 wxFontStyle result
;
12372 PyObject
*swig_obj
[1] ;
12374 if (!args
) SWIG_fail
;
12375 swig_obj
[0] = args
;
12376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12377 if (!SWIG_IsOK(res1
)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12380 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_From_int(static_cast< int >(result
));
12394 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12395 PyObject
*resultobj
= 0;
12396 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12397 wxFontWeight result
;
12400 PyObject
*swig_obj
[1] ;
12402 if (!args
) SWIG_fail
;
12403 swig_obj
[0] = args
;
12404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12408 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_From_int(static_cast< int >(result
));
12422 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12423 PyObject
*resultobj
= 0;
12424 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12428 PyObject
*swig_obj
[1] ;
12430 if (!args
) SWIG_fail
;
12431 swig_obj
[0] = args
;
12432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12436 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12452 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12453 PyObject
*resultobj
= 0;
12454 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12458 PyObject
*swig_obj
[1] ;
12460 if (!args
) SWIG_fail
;
12461 swig_obj
[0] = args
;
12462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12463 if (!SWIG_IsOK(res1
)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12466 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12486 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12487 PyObject
*resultobj
= 0;
12488 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12489 wxFontFamily result
;
12492 PyObject
*swig_obj
[1] ;
12494 if (!args
) SWIG_fail
;
12495 swig_obj
[0] = args
;
12496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12497 if (!SWIG_IsOK(res1
)) {
12498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12500 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_From_int(static_cast< int >(result
));
12514 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12515 PyObject
*resultobj
= 0;
12516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12517 wxFontEncoding result
;
12520 PyObject
*swig_obj
[1] ;
12522 if (!args
) SWIG_fail
;
12523 swig_obj
[0] = args
;
12524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12528 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_From_int(static_cast< int >(result
));
12542 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
= 0;
12544 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 char * kwnames
[] = {
12553 (char *) "self",(char *) "pointsize", NULL
12556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12558 if (!SWIG_IsOK(res1
)) {
12559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12561 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12563 if (!SWIG_IsOK(ecode2
)) {
12564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12566 arg2
= static_cast< int >(val2
);
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 (arg1
)->SetPointSize(arg2
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= SWIG_Py_Void();
12580 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
= 0;
12582 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 char * kwnames
[] = {
12591 (char *) "self",(char *) "style", NULL
12594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12599 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12601 if (!SWIG_IsOK(ecode2
)) {
12602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12604 arg2
= static_cast< wxFontStyle
>(val2
);
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->SetStyle(arg2
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= SWIG_Py_Void();
12618 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
= 0;
12620 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12621 wxFontWeight arg2
;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char * kwnames
[] = {
12629 (char *) "self",(char *) "weight", NULL
12632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12634 if (!SWIG_IsOK(res1
)) {
12635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12637 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12639 if (!SWIG_IsOK(ecode2
)) {
12640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12642 arg2
= static_cast< wxFontWeight
>(val2
);
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 (arg1
)->SetWeight(arg2
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= SWIG_Py_Void();
12656 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
= 0;
12658 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 PyObject
* obj1
= 0 ;
12666 char * kwnames
[] = {
12667 (char *) "self",(char *) "underlined", NULL
12670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12672 if (!SWIG_IsOK(res1
)) {
12673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12675 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12676 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12677 if (!SWIG_IsOK(ecode2
)) {
12678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12680 arg2
= static_cast< bool >(val2
);
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 (arg1
)->SetUnderlined(arg2
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= SWIG_Py_Void();
12694 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
= 0;
12696 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 char * kwnames
[] = {
12704 (char *) "self",(char *) "facename", NULL
12707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12709 if (!SWIG_IsOK(res1
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12712 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12714 wxString
* sptr
= wxString_in_helper(obj1
);
12715 if (sptr
== NULL
) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (bool)(arg1
)->SetFaceName(arg2
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12734 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
= 0;
12736 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12737 wxFontFamily arg2
;
12742 PyObject
* obj0
= 0 ;
12743 PyObject
* obj1
= 0 ;
12744 char * kwnames
[] = {
12745 (char *) "self",(char *) "family", NULL
12748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12750 if (!SWIG_IsOK(res1
)) {
12751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12753 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12755 if (!SWIG_IsOK(ecode2
)) {
12756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12758 arg2
= static_cast< wxFontFamily
>(val2
);
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 (arg1
)->SetFamily(arg2
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= SWIG_Py_Void();
12772 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
= 0;
12774 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12775 wxFontEncoding arg2
;
12780 PyObject
* obj0
= 0 ;
12781 PyObject
* obj1
= 0 ;
12782 char * kwnames
[] = {
12783 (char *) "self",(char *) "encoding", NULL
12786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12788 if (!SWIG_IsOK(res1
)) {
12789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12791 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12793 if (!SWIG_IsOK(ecode2
)) {
12794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12796 arg2
= static_cast< wxFontEncoding
>(val2
);
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 (arg1
)->SetEncoding(arg2
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= SWIG_Py_Void();
12810 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
= 0;
12812 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12813 wxString
*arg2
= 0 ;
12817 bool temp2
= false ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 char * kwnames
[] = {
12821 (char *) "self",(char *) "s", NULL
12824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12829 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12831 arg2
= wxString_in_helper(obj1
);
12832 if (arg2
== NULL
) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12859 PyObject
*resultobj
= 0;
12860 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12864 PyObject
*swig_obj
[1] ;
12866 if (!args
) SWIG_fail
;
12867 swig_obj
[0] = args
;
12868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12869 if (!SWIG_IsOK(res1
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12872 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12892 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 PyObject
*resultobj
= 0;
12894 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12898 PyObject
*swig_obj
[1] ;
12900 if (!args
) SWIG_fail
;
12901 swig_obj
[0] = args
;
12902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12903 if (!SWIG_IsOK(res1
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12906 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= wxNativeFontInfo___str__(arg1
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12926 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
= 0;
12928 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12929 wxString
*arg2
= 0 ;
12933 bool temp2
= false ;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 char * kwnames
[] = {
12937 (char *) "self",(char *) "s", NULL
12940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12942 if (!SWIG_IsOK(res1
)) {
12943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12945 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12947 arg2
= wxString_in_helper(obj1
);
12948 if (arg2
== NULL
) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12974 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12980 PyObject
*swig_obj
[1] ;
12982 if (!args
) SWIG_fail
;
12983 swig_obj
[0] = args
;
12984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12985 if (!SWIG_IsOK(res1
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12988 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13008 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13011 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13012 return SWIG_Py_Void();
13015 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13016 return SWIG_Python_InitShadowInstance(args
);
13019 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13020 PyObject
*resultobj
= 0;
13021 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13022 wxString
*arg2
= (wxString
*) 0 ;
13025 bool temp2
= false ;
13026 PyObject
*swig_obj
[2] ;
13028 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13030 if (!SWIG_IsOK(res1
)) {
13031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13033 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13035 arg2
= wxString_in_helper(swig_obj
[1]);
13036 if (arg2
== NULL
) SWIG_fail
;
13039 if (arg1
) (arg1
)->facename
= *arg2
;
13041 resultobj
= SWIG_Py_Void();
13056 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13057 PyObject
*resultobj
= 0;
13058 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13059 wxString
*result
= 0 ;
13062 PyObject
*swig_obj
[1] ;
13064 if (!args
) SWIG_fail
;
13065 swig_obj
[0] = args
;
13066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13067 if (!SWIG_IsOK(res1
)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13070 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13071 result
= (wxString
*)& ((arg1
)->facename
);
13074 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13076 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13085 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13086 PyObject
*resultobj
= 0;
13087 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13088 wxFontEncoding arg2
;
13093 PyObject
*swig_obj
[2] ;
13095 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13097 if (!SWIG_IsOK(res1
)) {
13098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13100 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13101 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13102 if (!SWIG_IsOK(ecode2
)) {
13103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13105 arg2
= static_cast< wxFontEncoding
>(val2
);
13106 if (arg1
) (arg1
)->encoding
= arg2
;
13108 resultobj
= SWIG_Py_Void();
13115 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13116 PyObject
*resultobj
= 0;
13117 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13118 wxFontEncoding result
;
13121 PyObject
*swig_obj
[1] ;
13123 if (!args
) SWIG_fail
;
13124 swig_obj
[0] = args
;
13125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13126 if (!SWIG_IsOK(res1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13129 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13130 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13131 resultobj
= SWIG_From_int(static_cast< int >(result
));
13138 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13139 PyObject
*resultobj
= 0;
13140 wxNativeEncodingInfo
*result
= 0 ;
13142 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13156 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13157 PyObject
*resultobj
= 0;
13158 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13161 PyObject
*swig_obj
[1] ;
13163 if (!args
) SWIG_fail
;
13164 swig_obj
[0] = args
;
13165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13166 if (!SWIG_IsOK(res1
)) {
13167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13169 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_Py_Void();
13184 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
= 0;
13186 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13187 wxString
*arg2
= 0 ;
13191 bool temp2
= false ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "self",(char *) "s", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13203 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13205 arg2
= wxString_in_helper(obj1
);
13206 if (arg2
== NULL
) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13232 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13233 PyObject
*resultobj
= 0;
13234 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13238 PyObject
*swig_obj
[1] ;
13240 if (!args
) SWIG_fail
;
13241 swig_obj
[0] = args
;
13242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13243 if (!SWIG_IsOK(res1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13246 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13266 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13269 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13270 return SWIG_Py_Void();
13273 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13274 return SWIG_Python_InitShadowInstance(args
);
13277 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
= 0;
13279 wxFontEncoding arg1
;
13280 wxNativeEncodingInfo
*result
= 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char * kwnames
[] = {
13285 (char *) "encoding", NULL
13288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13289 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13290 if (!SWIG_IsOK(ecode1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13293 arg1
= static_cast< wxFontEncoding
>(val1
);
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13307 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
= 0;
13309 wxNativeEncodingInfo
*arg1
= 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char * kwnames
[] = {
13315 (char *) "info", NULL
13318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13319 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13320 if (!SWIG_IsOK(res1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13326 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13342 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13343 PyObject
*resultobj
= 0;
13344 wxFontMapper
*result
= 0 ;
13346 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (wxFontMapper
*)new wxFontMapper();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13360 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13361 PyObject
*resultobj
= 0;
13362 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13365 PyObject
*swig_obj
[1] ;
13367 if (!args
) SWIG_fail
;
13368 swig_obj
[0] = args
;
13369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13370 if (!SWIG_IsOK(res1
)) {
13371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13373 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_Py_Void();
13388 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 PyObject
*resultobj
= 0;
13390 wxFontMapper
*result
= 0 ;
13392 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (wxFontMapper
*)wxFontMapper::Get();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13406 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
= 0;
13408 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13409 wxFontMapper
*result
= 0 ;
13412 PyObject
* obj0
= 0 ;
13413 char * kwnames
[] = {
13414 (char *) "mapper", NULL
13417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13419 if (!SWIG_IsOK(res1
)) {
13420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13422 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13436 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
= 0;
13438 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13439 wxString
*arg2
= 0 ;
13440 bool arg3
= (bool) true ;
13441 wxFontEncoding result
;
13444 bool temp2
= false ;
13447 PyObject
* obj0
= 0 ;
13448 PyObject
* obj1
= 0 ;
13449 PyObject
* obj2
= 0 ;
13450 char * kwnames
[] = {
13451 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13456 if (!SWIG_IsOK(res1
)) {
13457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13459 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13461 arg2
= wxString_in_helper(obj1
);
13462 if (arg2
== NULL
) SWIG_fail
;
13466 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13467 if (!SWIG_IsOK(ecode3
)) {
13468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13470 arg3
= static_cast< bool >(val3
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_From_int(static_cast< int >(result
));
13493 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 PyObject
*resultobj
= 0;
13497 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13511 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
= 0;
13514 wxFontEncoding result
;
13517 PyObject
* obj0
= 0 ;
13518 char * kwnames
[] = {
13522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13523 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13524 if (!SWIG_IsOK(ecode1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13527 arg1
= static_cast< size_t >(val1
);
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= SWIG_From_int(static_cast< int >(result
));
13541 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
= 0;
13543 wxFontEncoding arg1
;
13547 PyObject
* obj0
= 0 ;
13548 char * kwnames
[] = {
13549 (char *) "encoding", NULL
13552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13553 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13554 if (!SWIG_IsOK(ecode1
)) {
13555 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13557 arg1
= static_cast< wxFontEncoding
>(val1
);
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= wxFontMapper::GetEncodingName(arg1
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13577 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
= 0;
13579 wxFontEncoding arg1
;
13583 PyObject
* obj0
= 0 ;
13584 char * kwnames
[] = {
13585 (char *) "encoding", NULL
13588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13589 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13590 if (!SWIG_IsOK(ecode1
)) {
13591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13593 arg1
= static_cast< wxFontEncoding
>(val1
);
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= wxFontMapper::GetEncodingDescription(arg1
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13613 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
= 0;
13615 wxString
*arg1
= 0 ;
13616 wxFontEncoding result
;
13617 bool temp1
= false ;
13618 PyObject
* obj0
= 0 ;
13619 char * kwnames
[] = {
13620 (char *) "name", NULL
13623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13625 arg1
= wxString_in_helper(obj0
);
13626 if (arg1
== NULL
) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_From_int(static_cast< int >(result
));
13650 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
= 0;
13652 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13653 wxString
*arg2
= 0 ;
13656 bool temp2
= false ;
13657 PyObject
* obj0
= 0 ;
13658 PyObject
* obj1
= 0 ;
13659 char * kwnames
[] = {
13660 (char *) "self",(char *) "prefix", NULL
13663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13665 if (!SWIG_IsOK(res1
)) {
13666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13668 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13670 arg2
= wxString_in_helper(obj1
);
13671 if (arg2
== NULL
) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= SWIG_Py_Void();
13695 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13696 PyObject
*resultobj
= 0;
13699 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= wxFontMapper::GetDefaultConfigPath();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13719 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
= 0;
13721 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13722 wxFontEncoding arg2
;
13723 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13724 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13725 bool arg4
= (bool) true ;
13726 PyObject
*result
= 0 ;
13731 bool temp3
= false ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 PyObject
* obj2
= 0 ;
13737 PyObject
* obj3
= 0 ;
13738 char * kwnames
[] = {
13739 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13744 if (!SWIG_IsOK(res1
)) {
13745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13747 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13749 if (!SWIG_IsOK(ecode2
)) {
13750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13752 arg2
= static_cast< wxFontEncoding
>(val2
);
13755 arg3
= wxString_in_helper(obj2
);
13756 if (arg3
== NULL
) SWIG_fail
;
13761 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13762 if (!SWIG_IsOK(ecode4
)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13765 arg4
= static_cast< bool >(val4
);
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= result
;
13788 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
= 0;
13790 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13791 wxFontEncoding arg2
;
13792 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13793 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13799 bool temp3
= false ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 PyObject
* obj2
= 0 ;
13803 char * kwnames
[] = {
13804 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13809 if (!SWIG_IsOK(res1
)) {
13810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13812 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13814 if (!SWIG_IsOK(ecode2
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13817 arg2
= static_cast< wxFontEncoding
>(val2
);
13820 arg3
= wxString_in_helper(obj2
);
13821 if (arg3
== NULL
) SWIG_fail
;
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13848 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
= 0;
13850 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13851 wxWindow
*arg2
= (wxWindow
*) 0 ;
13856 PyObject
* obj0
= 0 ;
13857 PyObject
* obj1
= 0 ;
13858 char * kwnames
[] = {
13859 (char *) "self",(char *) "parent", NULL
13862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13864 if (!SWIG_IsOK(res1
)) {
13865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13867 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13869 if (!SWIG_IsOK(res2
)) {
13870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13872 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 (arg1
)->SetDialogParent(arg2
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_Py_Void();
13886 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= 0;
13888 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13889 wxString
*arg2
= 0 ;
13892 bool temp2
= false ;
13893 PyObject
* obj0
= 0 ;
13894 PyObject
* obj1
= 0 ;
13895 char * kwnames
[] = {
13896 (char *) "self",(char *) "title", NULL
13899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13901 if (!SWIG_IsOK(res1
)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13904 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13906 arg2
= wxString_in_helper(obj1
);
13907 if (arg2
== NULL
) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_Py_Void();
13931 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13934 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13935 return SWIG_Py_Void();
13938 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13939 return SWIG_Python_InitShadowInstance(args
);
13942 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
= 0;
13948 bool arg5
= (bool) false ;
13949 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13950 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13951 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13952 wxFont
*result
= 0 ;
13963 bool temp6
= false ;
13966 PyObject
* obj0
= 0 ;
13967 PyObject
* obj1
= 0 ;
13968 PyObject
* obj2
= 0 ;
13969 PyObject
* obj3
= 0 ;
13970 PyObject
* obj4
= 0 ;
13971 PyObject
* obj5
= 0 ;
13972 PyObject
* obj6
= 0 ;
13973 char * kwnames
[] = {
13974 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13978 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13979 if (!SWIG_IsOK(ecode1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13982 arg1
= static_cast< int >(val1
);
13983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13984 if (!SWIG_IsOK(ecode2
)) {
13985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13987 arg2
= static_cast< int >(val2
);
13988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13989 if (!SWIG_IsOK(ecode3
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13992 arg3
= static_cast< int >(val3
);
13993 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13994 if (!SWIG_IsOK(ecode4
)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13997 arg4
= static_cast< int >(val4
);
13999 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14000 if (!SWIG_IsOK(ecode5
)) {
14001 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14003 arg5
= static_cast< bool >(val5
);
14007 arg6
= wxString_in_helper(obj5
);
14008 if (arg6
== NULL
) SWIG_fail
;
14013 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14014 if (!SWIG_IsOK(ecode7
)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14017 arg7
= static_cast< wxFontEncoding
>(val7
);
14020 if (!wxPyCheckForApp()) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14041 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14042 PyObject
*resultobj
= 0;
14043 wxFont
*arg1
= (wxFont
*) 0 ;
14046 PyObject
*swig_obj
[1] ;
14048 if (!args
) SWIG_fail
;
14049 swig_obj
[0] = args
;
14050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14054 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_Py_Void();
14069 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
= 0;
14071 wxNativeFontInfo
*arg1
= 0 ;
14072 wxFont
*result
= 0 ;
14075 PyObject
* obj0
= 0 ;
14076 char * kwnames
[] = {
14077 (char *) "info", NULL
14080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14081 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14082 if (!SWIG_IsOK(res1
)) {
14083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14088 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14090 if (!wxPyCheckForApp()) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14103 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
= 0;
14105 wxString
*arg1
= 0 ;
14106 wxFont
*result
= 0 ;
14107 bool temp1
= false ;
14108 PyObject
* obj0
= 0 ;
14109 char * kwnames
[] = {
14110 (char *) "info", NULL
14113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14115 arg1
= wxString_in_helper(obj0
);
14116 if (arg1
== NULL
) SWIG_fail
;
14120 if (!wxPyCheckForApp()) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14141 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
= 0;
14144 wxFontFamily arg2
;
14145 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14146 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14147 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14148 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14149 wxFont
*result
= 0 ;
14156 bool temp4
= false ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 PyObject
* obj2
= 0 ;
14162 PyObject
* obj3
= 0 ;
14163 PyObject
* obj4
= 0 ;
14164 char * kwnames
[] = {
14165 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14169 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14170 if (!SWIG_IsOK(ecode1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14173 arg1
= static_cast< int >(val1
);
14174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14175 if (!SWIG_IsOK(ecode2
)) {
14176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14178 arg2
= static_cast< wxFontFamily
>(val2
);
14180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14181 if (!SWIG_IsOK(ecode3
)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14184 arg3
= static_cast< int >(val3
);
14188 arg4
= wxString_in_helper(obj3
);
14189 if (arg4
== NULL
) SWIG_fail
;
14194 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14195 if (!SWIG_IsOK(ecode5
)) {
14196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14198 arg5
= static_cast< wxFontEncoding
>(val5
);
14201 if (!wxPyCheckForApp()) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14222 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
= 0;
14228 bool arg5
= (bool) false ;
14229 wxString
const &arg6_defvalue
= wxEmptyString
;
14230 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14231 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14232 wxFont
*result
= 0 ;
14242 bool temp6
= false ;
14245 PyObject
* obj0
= 0 ;
14246 PyObject
* obj1
= 0 ;
14247 PyObject
* obj2
= 0 ;
14248 PyObject
* obj3
= 0 ;
14249 PyObject
* obj4
= 0 ;
14250 PyObject
* obj5
= 0 ;
14251 PyObject
* obj6
= 0 ;
14252 char * kwnames
[] = {
14253 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14259 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14262 if (!SWIG_IsOK(ecode2
)) {
14263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14265 arg2
= static_cast< int >(val2
);
14266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14267 if (!SWIG_IsOK(ecode3
)) {
14268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14270 arg3
= static_cast< int >(val3
);
14271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14272 if (!SWIG_IsOK(ecode4
)) {
14273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14275 arg4
= static_cast< int >(val4
);
14277 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14278 if (!SWIG_IsOK(ecode5
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14281 arg5
= static_cast< bool >(val5
);
14285 arg6
= wxString_in_helper(obj5
);
14286 if (arg6
== NULL
) SWIG_fail
;
14291 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14292 if (!SWIG_IsOK(ecode7
)) {
14293 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14295 arg7
= static_cast< wxFontEncoding
>(val7
);
14298 if (!wxPyCheckForApp()) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14301 wxPyEndAllowThreads(__tstate
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14319 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
= 0;
14322 wxFontFamily arg2
;
14323 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14324 wxString
const &arg4_defvalue
= wxEmptyString
;
14325 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14326 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14327 wxFont
*result
= 0 ;
14333 bool temp4
= false ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 PyObject
* obj2
= 0 ;
14339 PyObject
* obj3
= 0 ;
14340 PyObject
* obj4
= 0 ;
14341 char * kwnames
[] = {
14342 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14348 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14351 if (!SWIG_IsOK(ecode2
)) {
14352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14354 arg2
= static_cast< wxFontFamily
>(val2
);
14356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14357 if (!SWIG_IsOK(ecode3
)) {
14358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14360 arg3
= static_cast< int >(val3
);
14364 arg4
= wxString_in_helper(obj3
);
14365 if (arg4
== NULL
) SWIG_fail
;
14370 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14371 if (!SWIG_IsOK(ecode5
)) {
14372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14374 arg5
= static_cast< wxFontEncoding
>(val5
);
14377 if (!wxPyCheckForApp()) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14398 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14399 PyObject
*resultobj
= 0;
14400 wxFont
*arg1
= (wxFont
*) 0 ;
14404 PyObject
*swig_obj
[1] ;
14406 if (!args
) SWIG_fail
;
14407 swig_obj
[0] = args
;
14408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14412 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14428 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
= 0;
14430 wxFont
*arg1
= (wxFont
*) 0 ;
14431 wxFont
*arg2
= (wxFont
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 char * kwnames
[] = {
14440 (char *) "self",(char *) "other", NULL
14443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14445 if (!SWIG_IsOK(res1
)) {
14446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14448 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14450 if (!SWIG_IsOK(res2
)) {
14451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14453 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14469 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
= 0;
14471 wxFont
*arg1
= (wxFont
*) 0 ;
14472 wxFont
*arg2
= (wxFont
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 char * kwnames
[] = {
14481 (char *) "self",(char *) "other", NULL
14484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14486 if (!SWIG_IsOK(res1
)) {
14487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14489 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14490 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14491 if (!SWIG_IsOK(res2
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14494 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14510 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14511 PyObject
*resultobj
= 0;
14512 wxFont
*arg1
= (wxFont
*) 0 ;
14516 PyObject
*swig_obj
[1] ;
14518 if (!args
) SWIG_fail
;
14519 swig_obj
[0] = args
;
14520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14521 if (!SWIG_IsOK(res1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14524 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_From_int(static_cast< int >(result
));
14538 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14539 PyObject
*resultobj
= 0;
14540 wxFont
*arg1
= (wxFont
*) 0 ;
14544 PyObject
*swig_obj
[1] ;
14546 if (!args
) SWIG_fail
;
14547 swig_obj
[0] = args
;
14548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14552 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14566 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14567 PyObject
*resultobj
= 0;
14568 wxFont
*arg1
= (wxFont
*) 0 ;
14572 PyObject
*swig_obj
[1] ;
14574 if (!args
) SWIG_fail
;
14575 swig_obj
[0] = args
;
14576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14580 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14596 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14597 PyObject
*resultobj
= 0;
14598 wxFont
*arg1
= (wxFont
*) 0 ;
14602 PyObject
*swig_obj
[1] ;
14604 if (!args
) SWIG_fail
;
14605 swig_obj
[0] = args
;
14606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14607 if (!SWIG_IsOK(res1
)) {
14608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14610 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= SWIG_From_int(static_cast< int >(result
));
14624 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14625 PyObject
*resultobj
= 0;
14626 wxFont
*arg1
= (wxFont
*) 0 ;
14630 PyObject
*swig_obj
[1] ;
14632 if (!args
) SWIG_fail
;
14633 swig_obj
[0] = args
;
14634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14635 if (!SWIG_IsOK(res1
)) {
14636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14638 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_From_int(static_cast< int >(result
));
14652 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14653 PyObject
*resultobj
= 0;
14654 wxFont
*arg1
= (wxFont
*) 0 ;
14658 PyObject
*swig_obj
[1] ;
14660 if (!args
) SWIG_fail
;
14661 swig_obj
[0] = args
;
14662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14663 if (!SWIG_IsOK(res1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14666 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= SWIG_From_int(static_cast< int >(result
));
14680 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14681 PyObject
*resultobj
= 0;
14682 wxFont
*arg1
= (wxFont
*) 0 ;
14686 PyObject
*swig_obj
[1] ;
14688 if (!args
) SWIG_fail
;
14689 swig_obj
[0] = args
;
14690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14694 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14710 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14711 PyObject
*resultobj
= 0;
14712 wxFont
*arg1
= (wxFont
*) 0 ;
14716 PyObject
*swig_obj
[1] ;
14718 if (!args
) SWIG_fail
;
14719 swig_obj
[0] = args
;
14720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14721 if (!SWIG_IsOK(res1
)) {
14722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14724 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= ((wxFont
const *)arg1
)->GetFaceName();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14744 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14745 PyObject
*resultobj
= 0;
14746 wxFont
*arg1
= (wxFont
*) 0 ;
14747 wxFontEncoding result
;
14750 PyObject
*swig_obj
[1] ;
14752 if (!args
) SWIG_fail
;
14753 swig_obj
[0] = args
;
14754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14755 if (!SWIG_IsOK(res1
)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14758 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_From_int(static_cast< int >(result
));
14772 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14773 PyObject
*resultobj
= 0;
14774 wxFont
*arg1
= (wxFont
*) 0 ;
14775 wxNativeFontInfo
*result
= 0 ;
14778 PyObject
*swig_obj
[1] ;
14780 if (!args
) SWIG_fail
;
14781 swig_obj
[0] = args
;
14782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14783 if (!SWIG_IsOK(res1
)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14786 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14800 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14801 PyObject
*resultobj
= 0;
14802 wxFont
*arg1
= (wxFont
*) 0 ;
14806 PyObject
*swig_obj
[1] ;
14808 if (!args
) SWIG_fail
;
14809 swig_obj
[0] = args
;
14810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14814 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14830 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14831 PyObject
*resultobj
= 0;
14832 wxFont
*arg1
= (wxFont
*) 0 ;
14836 PyObject
*swig_obj
[1] ;
14838 if (!args
) SWIG_fail
;
14839 swig_obj
[0] = args
;
14840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14841 if (!SWIG_IsOK(res1
)) {
14842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14844 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14864 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14865 PyObject
*resultobj
= 0;
14866 wxFont
*arg1
= (wxFont
*) 0 ;
14870 PyObject
*swig_obj
[1] ;
14872 if (!args
) SWIG_fail
;
14873 swig_obj
[0] = args
;
14874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14875 if (!SWIG_IsOK(res1
)) {
14876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14878 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14898 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
= 0;
14900 wxFont
*arg1
= (wxFont
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 PyObject
* obj1
= 0 ;
14908 char * kwnames
[] = {
14909 (char *) "self",(char *) "pointSize", NULL
14912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14914 if (!SWIG_IsOK(res1
)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14917 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14919 if (!SWIG_IsOK(ecode2
)) {
14920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14922 arg2
= static_cast< int >(val2
);
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 (arg1
)->SetPointSize(arg2
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_Py_Void();
14936 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
= 0;
14938 wxFont
*arg1
= (wxFont
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 PyObject
* obj1
= 0 ;
14945 char * kwnames
[] = {
14946 (char *) "self",(char *) "pixelSize", NULL
14949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14951 if (!SWIG_IsOK(res1
)) {
14952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14954 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14957 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_Py_Void();
14972 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
= 0;
14974 wxFont
*arg1
= (wxFont
*) 0 ;
14980 PyObject
* obj0
= 0 ;
14981 PyObject
* obj1
= 0 ;
14982 char * kwnames
[] = {
14983 (char *) "self",(char *) "family", NULL
14986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14991 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14993 if (!SWIG_IsOK(ecode2
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14996 arg2
= static_cast< int >(val2
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 (arg1
)->SetFamily(arg2
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= SWIG_Py_Void();
15010 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
= 0;
15012 wxFont
*arg1
= (wxFont
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 PyObject
* obj1
= 0 ;
15020 char * kwnames
[] = {
15021 (char *) "self",(char *) "style", NULL
15024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15026 if (!SWIG_IsOK(res1
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15029 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15031 if (!SWIG_IsOK(ecode2
)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15034 arg2
= static_cast< int >(val2
);
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 (arg1
)->SetStyle(arg2
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_Py_Void();
15048 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
= 0;
15050 wxFont
*arg1
= (wxFont
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 char * kwnames
[] = {
15059 (char *) "self",(char *) "weight", NULL
15062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15064 if (!SWIG_IsOK(res1
)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15067 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15069 if (!SWIG_IsOK(ecode2
)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15072 arg2
= static_cast< int >(val2
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->SetWeight(arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_Py_Void();
15086 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxFont
*arg1
= (wxFont
*) 0 ;
15089 wxString
*arg2
= 0 ;
15093 bool temp2
= false ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char * kwnames
[] = {
15097 (char *) "self",(char *) "faceName", NULL
15100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15105 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15107 arg2
= wxString_in_helper(obj1
);
15108 if (arg2
== NULL
) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15134 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
= 0;
15136 wxFont
*arg1
= (wxFont
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char * kwnames
[] = {
15145 (char *) "self",(char *) "underlined", NULL
15148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15153 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15154 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15155 if (!SWIG_IsOK(ecode2
)) {
15156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15158 arg2
= static_cast< bool >(val2
);
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->SetUnderlined(arg2
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_Py_Void();
15172 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
= 0;
15174 wxFont
*arg1
= (wxFont
*) 0 ;
15175 wxFontEncoding arg2
;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 char * kwnames
[] = {
15183 (char *) "self",(char *) "encoding", NULL
15186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15188 if (!SWIG_IsOK(res1
)) {
15189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15191 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15193 if (!SWIG_IsOK(ecode2
)) {
15194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15196 arg2
= static_cast< wxFontEncoding
>(val2
);
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 (arg1
)->SetEncoding(arg2
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_Py_Void();
15210 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
= 0;
15212 wxFont
*arg1
= (wxFont
*) 0 ;
15213 wxNativeFontInfo
*arg2
= 0 ;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 char * kwnames
[] = {
15221 (char *) "self",(char *) "info", NULL
15224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15226 if (!SWIG_IsOK(res1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15229 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15231 if (!SWIG_IsOK(res2
)) {
15232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15237 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_Py_Void();
15251 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
= 0;
15253 wxFont
*arg1
= (wxFont
*) 0 ;
15254 wxString
*arg2
= 0 ;
15258 bool temp2
= false ;
15259 PyObject
* obj0
= 0 ;
15260 PyObject
* obj1
= 0 ;
15261 char * kwnames
[] = {
15262 (char *) "self",(char *) "info", NULL
15265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15267 if (!SWIG_IsOK(res1
)) {
15268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15270 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15272 arg2
= wxString_in_helper(obj1
);
15273 if (arg2
== NULL
) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15299 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
= 0;
15301 wxFont
*arg1
= (wxFont
*) 0 ;
15302 wxString
*arg2
= 0 ;
15306 bool temp2
= false ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char * kwnames
[] = {
15310 (char *) "self",(char *) "info", NULL
15313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15315 if (!SWIG_IsOK(res1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15318 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15320 arg2
= wxString_in_helper(obj1
);
15321 if (arg2
== NULL
) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15347 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15348 PyObject
*resultobj
= 0;
15349 wxFont
*arg1
= (wxFont
*) 0 ;
15353 PyObject
*swig_obj
[1] ;
15355 if (!args
) SWIG_fail
;
15356 swig_obj
[0] = args
;
15357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15358 if (!SWIG_IsOK(res1
)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15361 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15381 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15382 PyObject
*resultobj
= 0;
15383 wxFont
*arg1
= (wxFont
*) 0 ;
15387 PyObject
*swig_obj
[1] ;
15389 if (!args
) SWIG_fail
;
15390 swig_obj
[0] = args
;
15391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15392 if (!SWIG_IsOK(res1
)) {
15393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15395 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= ((wxFont
const *)arg1
)->GetStyleString();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15415 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15416 PyObject
*resultobj
= 0;
15417 wxFont
*arg1
= (wxFont
*) 0 ;
15421 PyObject
*swig_obj
[1] ;
15423 if (!args
) SWIG_fail
;
15424 swig_obj
[0] = args
;
15425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15429 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= ((wxFont
const *)arg1
)->GetWeightString();
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15449 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
= 0;
15451 wxFont
*arg1
= (wxFont
*) 0 ;
15452 bool arg2
= (bool) true ;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15459 char * kwnames
[] = {
15460 (char *) "self",(char *) "no", NULL
15463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15465 if (!SWIG_IsOK(res1
)) {
15466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15468 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15470 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15471 if (!SWIG_IsOK(ecode2
)) {
15472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15474 arg2
= static_cast< bool >(val2
);
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 (arg1
)->SetNoAntiAliasing(arg2
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_Py_Void();
15489 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15490 PyObject
*resultobj
= 0;
15491 wxFont
*arg1
= (wxFont
*) 0 ;
15495 PyObject
*swig_obj
[1] ;
15497 if (!args
) SWIG_fail
;
15498 swig_obj
[0] = args
;
15499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15500 if (!SWIG_IsOK(res1
)) {
15501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15503 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15519 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15520 PyObject
*resultobj
= 0;
15521 wxFontEncoding result
;
15523 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15525 if (!wxPyCheckForApp()) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_From_int(static_cast< int >(result
));
15538 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
= 0;
15540 wxFontEncoding arg1
;
15543 PyObject
* obj0
= 0 ;
15544 char * kwnames
[] = {
15545 (char *) "encoding", NULL
15548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15550 if (!SWIG_IsOK(ecode1
)) {
15551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15553 arg1
= static_cast< wxFontEncoding
>(val1
);
15555 if (!wxPyCheckForApp()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 wxFont::SetDefaultEncoding(arg1
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_Py_Void();
15568 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15571 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15572 return SWIG_Py_Void();
15575 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15576 return SWIG_Python_InitShadowInstance(args
);
15579 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15580 PyObject
*resultobj
= 0;
15581 wxPyFontEnumerator
*result
= 0 ;
15583 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15585 if (!wxPyCheckForApp()) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15598 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15599 PyObject
*resultobj
= 0;
15600 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15603 PyObject
*swig_obj
[1] ;
15605 if (!args
) SWIG_fail
;
15606 swig_obj
[0] = args
;
15607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15608 if (!SWIG_IsOK(res1
)) {
15609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15611 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_Py_Void();
15626 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
= 0;
15628 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15629 PyObject
*arg2
= (PyObject
*) 0 ;
15630 PyObject
*arg3
= (PyObject
*) 0 ;
15631 int arg4
= (int) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 PyObject
* obj1
= 0 ;
15638 PyObject
* obj2
= 0 ;
15639 PyObject
* obj3
= 0 ;
15640 char * kwnames
[] = {
15641 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15646 if (!SWIG_IsOK(res1
)) {
15647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15649 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15653 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15654 if (!SWIG_IsOK(ecode4
)) {
15655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15657 arg4
= static_cast< int >(val4
);
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= SWIG_Py_Void();
15672 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
= 0;
15674 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15675 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15676 bool arg3
= (bool) false ;
15684 PyObject
* obj0
= 0 ;
15685 PyObject
* obj1
= 0 ;
15686 PyObject
* obj2
= 0 ;
15687 char * kwnames
[] = {
15688 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15693 if (!SWIG_IsOK(res1
)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15696 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15699 if (!SWIG_IsOK(ecode2
)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15702 arg2
= static_cast< wxFontEncoding
>(val2
);
15705 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15706 if (!SWIG_IsOK(ecode3
)) {
15707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15709 arg3
= static_cast< bool >(val3
);
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15726 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
= 0;
15728 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15729 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15730 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15734 bool temp2
= false ;
15735 PyObject
* obj0
= 0 ;
15736 PyObject
* obj1
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "facename", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15746 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15749 arg2
= wxString_in_helper(obj1
);
15750 if (arg2
== NULL
) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15777 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15778 PyObject
*resultobj
= 0;
15779 PyObject
*result
= 0 ;
15781 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= result
;
15795 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15796 PyObject
*resultobj
= 0;
15797 PyObject
*result
= 0 ;
15799 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= result
;
15813 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
= 0;
15815 wxString
*arg1
= 0 ;
15817 bool temp1
= false ;
15818 PyObject
* obj0
= 0 ;
15819 char * kwnames
[] = {
15820 (char *) "str", NULL
15823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15825 arg1
= wxString_in_helper(obj0
);
15826 if (arg1
== NULL
) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15852 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15855 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15856 return SWIG_Py_Void();
15859 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15860 return SWIG_Python_InitShadowInstance(args
);
15863 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15864 PyObject
*resultobj
= 0;
15865 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15871 PyObject
*swig_obj
[2] ;
15873 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15875 if (!SWIG_IsOK(res1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15878 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15879 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15880 if (!SWIG_IsOK(ecode2
)) {
15881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15883 arg2
= static_cast< int >(val2
);
15884 if (arg1
) (arg1
)->Language
= arg2
;
15886 resultobj
= SWIG_Py_Void();
15893 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15894 PyObject
*resultobj
= 0;
15895 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15899 PyObject
*swig_obj
[1] ;
15901 if (!args
) SWIG_fail
;
15902 swig_obj
[0] = args
;
15903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15904 if (!SWIG_IsOK(res1
)) {
15905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15907 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15908 result
= (int) ((arg1
)->Language
);
15909 resultobj
= SWIG_From_int(static_cast< int >(result
));
15916 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15917 PyObject
*resultobj
= 0;
15918 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15919 wxString
*arg2
= (wxString
*) 0 ;
15922 bool temp2
= false ;
15923 PyObject
*swig_obj
[2] ;
15925 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15930 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15932 arg2
= wxString_in_helper(swig_obj
[1]);
15933 if (arg2
== NULL
) SWIG_fail
;
15936 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15938 resultobj
= SWIG_Py_Void();
15953 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15954 PyObject
*resultobj
= 0;
15955 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15956 wxString
*result
= 0 ;
15959 PyObject
*swig_obj
[1] ;
15961 if (!args
) SWIG_fail
;
15962 swig_obj
[0] = args
;
15963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15964 if (!SWIG_IsOK(res1
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15967 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15968 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15971 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15973 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15982 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15983 PyObject
*resultobj
= 0;
15984 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15985 wxString
*arg2
= (wxString
*) 0 ;
15988 bool temp2
= false ;
15989 PyObject
*swig_obj
[2] ;
15991 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15996 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15998 arg2
= wxString_in_helper(swig_obj
[1]);
15999 if (arg2
== NULL
) SWIG_fail
;
16002 if (arg1
) (arg1
)->Description
= *arg2
;
16004 resultobj
= SWIG_Py_Void();
16019 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16020 PyObject
*resultobj
= 0;
16021 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16022 wxString
*result
= 0 ;
16025 PyObject
*swig_obj
[1] ;
16027 if (!args
) SWIG_fail
;
16028 swig_obj
[0] = args
;
16029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16033 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16034 result
= (wxString
*)& ((arg1
)->Description
);
16037 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16039 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16048 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16051 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16052 return SWIG_Py_Void();
16055 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
= 0;
16057 int arg1
= (int) -1 ;
16058 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16059 wxLocale
*result
= 0 ;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 char * kwnames
[] = {
16067 (char *) "language",(char *) "flags", NULL
16070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16072 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16073 if (!SWIG_IsOK(ecode1
)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16076 arg1
= static_cast< int >(val1
);
16079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16080 if (!SWIG_IsOK(ecode2
)) {
16081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16083 arg2
= static_cast< int >(val2
);
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16098 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16099 PyObject
*resultobj
= 0;
16100 wxLocale
*arg1
= (wxLocale
*) 0 ;
16103 PyObject
*swig_obj
[1] ;
16105 if (!args
) SWIG_fail
;
16106 swig_obj
[0] = args
;
16107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16108 if (!SWIG_IsOK(res1
)) {
16109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16111 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_Py_Void();
16126 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
= 0;
16128 wxLocale
*arg1
= (wxLocale
*) 0 ;
16129 wxString
*arg2
= 0 ;
16130 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16132 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16133 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16134 bool arg5
= (bool) true ;
16135 bool arg6
= (bool) false ;
16139 bool temp2
= false ;
16140 bool temp3
= false ;
16141 bool temp4
= false ;
16146 PyObject
* obj0
= 0 ;
16147 PyObject
* obj1
= 0 ;
16148 PyObject
* obj2
= 0 ;
16149 PyObject
* obj3
= 0 ;
16150 PyObject
* obj4
= 0 ;
16151 PyObject
* obj5
= 0 ;
16152 char * kwnames
[] = {
16153 (char *) "self",(char *) "name",(char *) "shortName",(char *) "locale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16158 if (!SWIG_IsOK(res1
)) {
16159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16161 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16163 arg2
= wxString_in_helper(obj1
);
16164 if (arg2
== NULL
) SWIG_fail
;
16169 arg3
= wxString_in_helper(obj2
);
16170 if (arg3
== NULL
) SWIG_fail
;
16176 arg4
= wxString_in_helper(obj3
);
16177 if (arg4
== NULL
) SWIG_fail
;
16182 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16183 if (!SWIG_IsOK(ecode5
)) {
16184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16186 arg5
= static_cast< bool >(val5
);
16189 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16190 if (!SWIG_IsOK(ecode6
)) {
16191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16193 arg6
= static_cast< bool >(val6
);
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16234 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
= 0;
16236 wxLocale
*arg1
= (wxLocale
*) 0 ;
16237 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16238 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 PyObject
* obj2
= 0 ;
16249 char * kwnames
[] = {
16250 (char *) "self",(char *) "language",(char *) "flags", NULL
16253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16255 if (!SWIG_IsOK(res1
)) {
16256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16258 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16261 if (!SWIG_IsOK(ecode2
)) {
16262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16264 arg2
= static_cast< int >(val2
);
16267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16268 if (!SWIG_IsOK(ecode3
)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16271 arg3
= static_cast< int >(val3
);
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16288 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16289 PyObject
*resultobj
= 0;
16292 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (int)wxLocale::GetSystemLanguage();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= SWIG_From_int(static_cast< int >(result
));
16306 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16307 PyObject
*resultobj
= 0;
16308 wxFontEncoding result
;
16310 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= SWIG_From_int(static_cast< int >(result
));
16324 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16325 PyObject
*resultobj
= 0;
16328 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= wxLocale::GetSystemEncodingName();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16348 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16349 PyObject
*resultobj
= 0;
16350 wxLocale
*arg1
= (wxLocale
*) 0 ;
16354 PyObject
*swig_obj
[1] ;
16356 if (!args
) SWIG_fail
;
16357 swig_obj
[0] = args
;
16358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16359 if (!SWIG_IsOK(res1
)) {
16360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16362 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16378 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16379 PyObject
*resultobj
= 0;
16380 wxLocale
*arg1
= (wxLocale
*) 0 ;
16384 PyObject
*swig_obj
[1] ;
16386 if (!args
) SWIG_fail
;
16387 swig_obj
[0] = args
;
16388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16389 if (!SWIG_IsOK(res1
)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16392 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= ((wxLocale
const *)arg1
)->GetLocale();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16412 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16413 PyObject
*resultobj
= 0;
16414 wxLocale
*arg1
= (wxLocale
*) 0 ;
16418 PyObject
*swig_obj
[1] ;
16420 if (!args
) SWIG_fail
;
16421 swig_obj
[0] = args
;
16422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16423 if (!SWIG_IsOK(res1
)) {
16424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16426 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= SWIG_From_int(static_cast< int >(result
));
16440 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16441 PyObject
*resultobj
= 0;
16442 wxLocale
*arg1
= (wxLocale
*) 0 ;
16446 PyObject
*swig_obj
[1] ;
16448 if (!args
) SWIG_fail
;
16449 swig_obj
[0] = args
;
16450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16451 if (!SWIG_IsOK(res1
)) {
16452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16454 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= ((wxLocale
const *)arg1
)->GetSysName();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16474 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16475 PyObject
*resultobj
= 0;
16476 wxLocale
*arg1
= (wxLocale
*) 0 ;
16480 PyObject
*swig_obj
[1] ;
16482 if (!args
) SWIG_fail
;
16483 swig_obj
[0] = args
;
16484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16485 if (!SWIG_IsOK(res1
)) {
16486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16488 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16508 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= 0;
16510 wxString
*arg1
= 0 ;
16511 bool temp1
= false ;
16512 PyObject
* obj0
= 0 ;
16513 char * kwnames
[] = {
16514 (char *) "prefix", NULL
16517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16519 arg1
= wxString_in_helper(obj0
);
16520 if (arg1
== NULL
) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= SWIG_Py_Void();
16544 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
= 0;
16546 wxLocale
*arg1
= (wxLocale
*) 0 ;
16547 wxString
*arg2
= 0 ;
16551 bool temp2
= false ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 char * kwnames
[] = {
16555 (char *) "self",(char *) "domain", NULL
16558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16560 if (!SWIG_IsOK(res1
)) {
16561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16563 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16565 arg2
= wxString_in_helper(obj1
);
16566 if (arg2
== NULL
) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16592 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
= 0;
16598 PyObject
* obj0
= 0 ;
16599 char * kwnames
[] = {
16600 (char *) "lang", NULL
16603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16604 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16605 if (!SWIG_IsOK(ecode1
)) {
16606 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16608 arg1
= static_cast< int >(val1
);
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (bool)wxLocale::IsAvailable(arg1
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16624 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
= 0;
16626 wxLocale
*arg1
= (wxLocale
*) 0 ;
16627 wxString
*arg2
= 0 ;
16631 bool temp2
= false ;
16632 PyObject
* obj0
= 0 ;
16633 PyObject
* obj1
= 0 ;
16634 char * kwnames
[] = {
16635 (char *) "self",(char *) "domain", NULL
16638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16640 if (!SWIG_IsOK(res1
)) {
16641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16643 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16645 arg2
= wxString_in_helper(obj1
);
16646 if (arg2
== NULL
) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16672 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
= 0;
16675 wxLanguageInfo
*result
= 0 ;
16678 PyObject
* obj0
= 0 ;
16679 char * kwnames
[] = {
16680 (char *) "lang", NULL
16683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16684 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16685 if (!SWIG_IsOK(ecode1
)) {
16686 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16688 arg1
= static_cast< int >(val1
);
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16702 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
= 0;
16708 PyObject
* obj0
= 0 ;
16709 char * kwnames
[] = {
16710 (char *) "lang", NULL
16713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16715 if (!SWIG_IsOK(ecode1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16718 arg1
= static_cast< int >(val1
);
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= wxLocale::GetLanguageName(arg1
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16738 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
= 0;
16740 wxString
*arg1
= 0 ;
16741 wxLanguageInfo
*result
= 0 ;
16742 bool temp1
= false ;
16743 PyObject
* obj0
= 0 ;
16744 char * kwnames
[] = {
16745 (char *) "locale", NULL
16748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16750 arg1
= wxString_in_helper(obj0
);
16751 if (arg1
== NULL
) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16775 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
= 0;
16777 wxLanguageInfo
*arg1
= 0 ;
16780 PyObject
* obj0
= 0 ;
16781 char * kwnames
[] = {
16782 (char *) "info", NULL
16785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16786 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16787 if (!SWIG_IsOK(res1
)) {
16788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16793 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= SWIG_Py_Void();
16807 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
= 0;
16809 wxLocale
*arg1
= (wxLocale
*) 0 ;
16810 wxString
*arg2
= 0 ;
16811 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16812 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16816 bool temp2
= false ;
16817 bool temp3
= false ;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 PyObject
* obj2
= 0 ;
16821 char * kwnames
[] = {
16822 (char *) "self",(char *) "origString",(char *) "domain", NULL
16825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16827 if (!SWIG_IsOK(res1
)) {
16828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16830 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16832 arg2
= wxString_in_helper(obj1
);
16833 if (arg2
== NULL
) SWIG_fail
;
16838 arg3
= wxString_in_helper(obj2
);
16839 if (arg3
== NULL
) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16878 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16879 PyObject
*resultobj
= 0;
16880 wxLocale
*arg1
= (wxLocale
*) 0 ;
16881 wxString
*result
= 0 ;
16884 PyObject
*swig_obj
[1] ;
16886 if (!args
) SWIG_fail
;
16887 swig_obj
[0] = args
;
16888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16892 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16897 result
= (wxString
*) &_result_ref
;
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16906 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16915 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16918 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16919 return SWIG_Py_Void();
16922 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16923 return SWIG_Python_InitShadowInstance(args
);
16926 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
= 0;
16928 int arg1
= (int) -1 ;
16929 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16930 wxPyLocale
*result
= 0 ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 char * kwnames
[] = {
16938 (char *) "language",(char *) "flags", NULL
16941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16944 if (!SWIG_IsOK(ecode1
)) {
16945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16947 arg1
= static_cast< int >(val1
);
16950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16951 if (!SWIG_IsOK(ecode2
)) {
16952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16954 arg2
= static_cast< int >(val2
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16969 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16970 PyObject
*resultobj
= 0;
16971 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16974 PyObject
*swig_obj
[1] ;
16976 if (!args
) SWIG_fail
;
16977 swig_obj
[0] = args
;
16978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16979 if (!SWIG_IsOK(res1
)) {
16980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16982 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_Py_Void();
16997 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
= 0;
16999 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17000 PyObject
*arg2
= (PyObject
*) 0 ;
17001 PyObject
*arg3
= (PyObject
*) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 PyObject
* obj2
= 0 ;
17007 char * kwnames
[] = {
17008 (char *) "self",(char *) "self",(char *) "_class", NULL
17011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17013 if (!SWIG_IsOK(res1
)) {
17014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17016 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_Py_Void();
17032 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
= 0;
17034 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17035 wxString
*arg2
= 0 ;
17036 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17037 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17038 wxString
*result
= 0 ;
17041 bool temp2
= false ;
17042 bool temp3
= false ;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 PyObject
* obj2
= 0 ;
17046 char * kwnames
[] = {
17047 (char *) "self",(char *) "origString",(char *) "domain", NULL
17050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17052 if (!SWIG_IsOK(res1
)) {
17053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17055 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17057 arg2
= wxString_in_helper(obj1
);
17058 if (arg2
== NULL
) SWIG_fail
;
17063 arg3
= wxString_in_helper(obj2
);
17064 if (arg3
== NULL
) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17072 result
= (wxString
*) &_result_ref
;
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17081 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17106 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
= 0;
17108 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17109 wxString
*arg2
= 0 ;
17110 wxString
*arg3
= 0 ;
17112 wxString
const &arg5_defvalue
= wxPyEmptyString
;
17113 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17114 wxString
*result
= 0 ;
17117 bool temp2
= false ;
17118 bool temp3
= false ;
17121 bool temp5
= false ;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 PyObject
* obj2
= 0 ;
17125 PyObject
* obj3
= 0 ;
17126 PyObject
* obj4
= 0 ;
17127 char * kwnames
[] = {
17128 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
17131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17133 if (!SWIG_IsOK(res1
)) {
17134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17136 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17138 arg2
= wxString_in_helper(obj1
);
17139 if (arg2
== NULL
) SWIG_fail
;
17143 arg3
= wxString_in_helper(obj2
);
17144 if (arg3
== NULL
) SWIG_fail
;
17147 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17148 if (!SWIG_IsOK(ecode4
)) {
17149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17151 arg4
= static_cast< size_t >(val4
);
17154 arg5
= wxString_in_helper(obj4
);
17155 if (arg5
== NULL
) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
17163 result
= (wxString
*) &_result_ref
;
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17172 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17205 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17208 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17209 return SWIG_Py_Void();
17212 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17213 return SWIG_Python_InitShadowInstance(args
);
17216 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17217 PyObject
*resultobj
= 0;
17218 wxLocale
*result
= 0 ;
17220 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (wxLocale
*)wxGetLocale();
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17234 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17235 PyObject
*resultobj
= 0;
17236 wxString
*arg1
= 0 ;
17238 bool temp1
= false ;
17240 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17242 arg1
= wxString_in_helper(swig_obj
[0]);
17243 if (arg1
== NULL
) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= wxGetTranslation((wxString
const &)*arg1
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17273 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17274 PyObject
*resultobj
= 0;
17275 wxString
*arg1
= 0 ;
17276 wxString
*arg2
= 0 ;
17278 bool temp1
= false ;
17279 bool temp2
= false ;
17281 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17283 arg1
= wxString_in_helper(swig_obj
[0]);
17284 if (arg1
== NULL
) SWIG_fail
;
17288 arg2
= wxString_in_helper(swig_obj
[1]);
17289 if (arg2
== NULL
) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17327 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17328 PyObject
*resultobj
= 0;
17329 wxString
*arg1
= 0 ;
17330 wxString
*arg2
= 0 ;
17333 bool temp1
= false ;
17334 bool temp2
= false ;
17338 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17340 arg1
= wxString_in_helper(swig_obj
[0]);
17341 if (arg1
== NULL
) SWIG_fail
;
17345 arg2
= wxString_in_helper(swig_obj
[1]);
17346 if (arg2
== NULL
) SWIG_fail
;
17349 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17350 if (!SWIG_IsOK(ecode3
)) {
17351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17353 arg3
= static_cast< size_t >(val3
);
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17389 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17390 PyObject
*resultobj
= 0;
17391 wxString
*arg1
= 0 ;
17392 wxString
*arg2
= 0 ;
17394 wxString
*arg4
= 0 ;
17396 bool temp1
= false ;
17397 bool temp2
= false ;
17400 bool temp4
= false ;
17402 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17404 arg1
= wxString_in_helper(swig_obj
[0]);
17405 if (arg1
== NULL
) SWIG_fail
;
17409 arg2
= wxString_in_helper(swig_obj
[1]);
17410 if (arg2
== NULL
) SWIG_fail
;
17413 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17414 if (!SWIG_IsOK(ecode3
)) {
17415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17417 arg3
= static_cast< size_t >(val3
);
17419 arg4
= wxString_in_helper(swig_obj
[3]);
17420 if (arg4
== NULL
) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17466 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17470 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17473 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17476 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17479 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17482 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17486 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17491 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17492 PyObject
*resultobj
= 0;
17493 wxEncodingConverter
*result
= 0 ;
17495 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17509 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17510 PyObject
*resultobj
= 0;
17511 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17514 PyObject
*swig_obj
[1] ;
17516 if (!args
) SWIG_fail
;
17517 swig_obj
[0] = args
;
17518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17519 if (!SWIG_IsOK(res1
)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17522 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_Py_Void();
17537 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
= 0;
17539 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17540 wxFontEncoding arg2
;
17541 wxFontEncoding arg3
;
17542 int arg4
= (int) wxCONVERT_STRICT
;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 PyObject
* obj3
= 0 ;
17556 char * kwnames
[] = {
17557 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17562 if (!SWIG_IsOK(res1
)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17565 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17567 if (!SWIG_IsOK(ecode2
)) {
17568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17570 arg2
= static_cast< wxFontEncoding
>(val2
);
17571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17572 if (!SWIG_IsOK(ecode3
)) {
17573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17575 arg3
= static_cast< wxFontEncoding
>(val3
);
17577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17578 if (!SWIG_IsOK(ecode4
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17581 arg4
= static_cast< int >(val4
);
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17598 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
= 0;
17600 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17601 wxString
*arg2
= 0 ;
17605 bool temp2
= false ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "self",(char *) "input", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17617 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17619 arg2
= wxString_in_helper(obj1
);
17620 if (arg2
== NULL
) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17650 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
= 0;
17652 wxFontEncoding arg1
;
17653 int arg2
= (int) wxPLATFORM_CURRENT
;
17654 wxFontEncodingArray result
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 char * kwnames
[] = {
17662 (char *) "enc",(char *) "platform", NULL
17665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17666 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17667 if (!SWIG_IsOK(ecode1
)) {
17668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17670 arg1
= static_cast< wxFontEncoding
>(val1
);
17672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17673 if (!SWIG_IsOK(ecode2
)) {
17674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17676 arg2
= static_cast< int >(val2
);
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= PyList_New(0);
17686 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17687 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17688 PyList_Append(resultobj
, number
);
17698 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
= 0;
17700 wxFontEncoding arg1
;
17701 wxFontEncodingArray result
;
17704 PyObject
* obj0
= 0 ;
17705 char * kwnames
[] = {
17706 (char *) "enc", NULL
17709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17711 if (!SWIG_IsOK(ecode1
)) {
17712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17714 arg1
= static_cast< wxFontEncoding
>(val1
);
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17722 resultobj
= PyList_New(0);
17723 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17724 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17725 PyList_Append(resultobj
, number
);
17735 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
= 0;
17737 wxFontEncoding arg1
;
17738 wxFontEncoding arg2
;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 char * kwnames
[] = {
17747 (char *) "encIn",(char *) "encOut", NULL
17750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17752 if (!SWIG_IsOK(ecode1
)) {
17753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17755 arg1
= static_cast< wxFontEncoding
>(val1
);
17756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17757 if (!SWIG_IsOK(ecode2
)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17760 arg2
= static_cast< wxFontEncoding
>(val2
);
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17776 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17779 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17780 return SWIG_Py_Void();
17783 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17784 return SWIG_Python_InitShadowInstance(args
);
17787 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17788 PyObject
*resultobj
= 0;
17789 wxDC
*arg1
= (wxDC
*) 0 ;
17792 PyObject
*swig_obj
[1] ;
17794 if (!args
) SWIG_fail
;
17795 swig_obj
[0] = args
;
17796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17797 if (!SWIG_IsOK(res1
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_Py_Void();
17815 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
= 0;
17817 wxDC
*arg1
= (wxDC
*) 0 ;
17820 wxColour
*arg4
= 0 ;
17821 int arg5
= (int) wxFLOOD_SURFACE
;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 PyObject
* obj2
= 0 ;
17835 PyObject
* obj3
= 0 ;
17836 PyObject
* obj4
= 0 ;
17837 char * kwnames
[] = {
17838 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17843 if (!SWIG_IsOK(res1
)) {
17844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17848 if (!SWIG_IsOK(ecode2
)) {
17849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17851 arg2
= static_cast< int >(val2
);
17852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17853 if (!SWIG_IsOK(ecode3
)) {
17854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17856 arg3
= static_cast< int >(val3
);
17859 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17862 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17863 if (!SWIG_IsOK(ecode5
)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17866 arg5
= static_cast< int >(val5
);
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17883 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
= 0;
17885 wxDC
*arg1
= (wxDC
*) 0 ;
17886 wxPoint
*arg2
= 0 ;
17887 wxColour
*arg3
= 0 ;
17888 int arg4
= (int) wxFLOOD_SURFACE
;
17896 PyObject
* obj0
= 0 ;
17897 PyObject
* obj1
= 0 ;
17898 PyObject
* obj2
= 0 ;
17899 PyObject
* obj3
= 0 ;
17900 char * kwnames
[] = {
17901 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17906 if (!SWIG_IsOK(res1
)) {
17907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17916 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17919 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17920 if (!SWIG_IsOK(ecode4
)) {
17921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17923 arg4
= static_cast< int >(val4
);
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17940 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
= 0;
17942 wxDC
*arg1
= (wxDC
*) 0 ;
17944 wxColour
*arg3
= 0 ;
17945 wxColour
*arg4
= 0 ;
17946 wxPoint
*arg5
= 0 ;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 PyObject
* obj2
= 0 ;
17956 PyObject
* obj3
= 0 ;
17957 PyObject
* obj4
= 0 ;
17958 char * kwnames
[] = {
17959 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17970 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17974 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17978 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17982 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= SWIG_Py_Void();
17997 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
= 0;
17999 wxDC
*arg1
= (wxDC
*) 0 ;
18001 wxColour
*arg3
= 0 ;
18002 wxColour
*arg4
= 0 ;
18003 wxDirection arg5
= (wxDirection
) wxEAST
;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 PyObject
* obj2
= 0 ;
18014 PyObject
* obj3
= 0 ;
18015 PyObject
* obj4
= 0 ;
18016 char * kwnames
[] = {
18017 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18022 if (!SWIG_IsOK(res1
)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18028 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18032 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18036 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18039 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18040 if (!SWIG_IsOK(ecode5
)) {
18041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18043 arg5
= static_cast< wxDirection
>(val5
);
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= SWIG_Py_Void();
18058 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
= 0;
18060 wxDC
*arg1
= (wxDC
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 PyObject
* obj2
= 0 ;
18073 char * kwnames
[] = {
18074 (char *) "self",(char *) "x",(char *) "y", NULL
18077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18079 if (!SWIG_IsOK(res1
)) {
18080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18084 if (!SWIG_IsOK(ecode2
)) {
18085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18087 arg2
= static_cast< int >(val2
);
18088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18089 if (!SWIG_IsOK(ecode3
)) {
18090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18092 arg3
= static_cast< int >(val3
);
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18106 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
= 0;
18108 wxDC
*arg1
= (wxDC
*) 0 ;
18109 wxPoint
*arg2
= 0 ;
18114 PyObject
* obj0
= 0 ;
18115 PyObject
* obj1
= 0 ;
18116 char * kwnames
[] = {
18117 (char *) "self",(char *) "pt", NULL
18120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18122 if (!SWIG_IsOK(res1
)) {
18123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18143 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= 0;
18145 wxDC
*arg1
= (wxDC
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 PyObject
* obj1
= 0 ;
18162 PyObject
* obj2
= 0 ;
18163 PyObject
* obj3
= 0 ;
18164 PyObject
* obj4
= 0 ;
18165 char * kwnames
[] = {
18166 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18176 if (!SWIG_IsOK(ecode2
)) {
18177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18179 arg2
= static_cast< int >(val2
);
18180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18181 if (!SWIG_IsOK(ecode3
)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18184 arg3
= static_cast< int >(val3
);
18185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18186 if (!SWIG_IsOK(ecode4
)) {
18187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18189 arg4
= static_cast< int >(val4
);
18190 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18191 if (!SWIG_IsOK(ecode5
)) {
18192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18194 arg5
= static_cast< int >(val5
);
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_Py_Void();
18208 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
= 0;
18210 wxDC
*arg1
= (wxDC
*) 0 ;
18211 wxPoint
*arg2
= 0 ;
18212 wxPoint
*arg3
= 0 ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 PyObject
* obj2
= 0 ;
18220 char * kwnames
[] = {
18221 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18226 if (!SWIG_IsOK(res1
)) {
18227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= SWIG_Py_Void();
18251 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
= 0;
18253 wxDC
*arg1
= (wxDC
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 PyObject
* obj2
= 0 ;
18265 char * kwnames
[] = {
18266 (char *) "self",(char *) "x",(char *) "y", NULL
18269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18271 if (!SWIG_IsOK(res1
)) {
18272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18276 if (!SWIG_IsOK(ecode2
)) {
18277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18279 arg2
= static_cast< int >(val2
);
18280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18281 if (!SWIG_IsOK(ecode3
)) {
18282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18284 arg3
= static_cast< int >(val3
);
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 (arg1
)->CrossHair(arg2
,arg3
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_Py_Void();
18298 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
= 0;
18300 wxDC
*arg1
= (wxDC
*) 0 ;
18301 wxPoint
*arg2
= 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 char * kwnames
[] = {
18308 (char *) "self",(char *) "pt", NULL
18311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18313 if (!SWIG_IsOK(res1
)) {
18314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_Py_Void();
18334 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
= 0;
18336 wxDC
*arg1
= (wxDC
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 PyObject
* obj3
= 0 ;
18361 PyObject
* obj4
= 0 ;
18362 PyObject
* obj5
= 0 ;
18363 PyObject
* obj6
= 0 ;
18364 char * kwnames
[] = {
18365 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18370 if (!SWIG_IsOK(res1
)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18375 if (!SWIG_IsOK(ecode2
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18378 arg2
= static_cast< int >(val2
);
18379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18380 if (!SWIG_IsOK(ecode3
)) {
18381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18383 arg3
= static_cast< int >(val3
);
18384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18385 if (!SWIG_IsOK(ecode4
)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18388 arg4
= static_cast< int >(val4
);
18389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18390 if (!SWIG_IsOK(ecode5
)) {
18391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18393 arg5
= static_cast< int >(val5
);
18394 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18395 if (!SWIG_IsOK(ecode6
)) {
18396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18398 arg6
= static_cast< int >(val6
);
18399 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18400 if (!SWIG_IsOK(ecode7
)) {
18401 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18403 arg7
= static_cast< int >(val7
);
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_Py_Void();
18417 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
= 0;
18419 wxDC
*arg1
= (wxDC
*) 0 ;
18420 wxPoint
*arg2
= 0 ;
18421 wxPoint
*arg3
= 0 ;
18422 wxPoint
*arg4
= 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 PyObject
* obj3
= 0 ;
18432 char * kwnames
[] = {
18433 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18438 if (!SWIG_IsOK(res1
)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18444 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18452 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= SWIG_Py_Void();
18467 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
= 0;
18469 wxDC
*arg1
= (wxDC
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 PyObject
* obj2
= 0 ;
18487 PyObject
* obj3
= 0 ;
18488 PyObject
* obj4
= 0 ;
18489 char * kwnames
[] = {
18490 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18500 if (!SWIG_IsOK(ecode2
)) {
18501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18503 arg2
= static_cast< int >(val2
);
18504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18505 if (!SWIG_IsOK(ecode3
)) {
18506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18508 arg3
= static_cast< int >(val3
);
18509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18510 if (!SWIG_IsOK(ecode4
)) {
18511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18513 arg4
= static_cast< int >(val4
);
18514 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18515 if (!SWIG_IsOK(ecode5
)) {
18516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18518 arg5
= static_cast< int >(val5
);
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= SWIG_Py_Void();
18532 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
= 0;
18534 wxDC
*arg1
= (wxDC
*) 0 ;
18539 PyObject
* obj0
= 0 ;
18540 PyObject
* obj1
= 0 ;
18541 char * kwnames
[] = {
18542 (char *) "self",(char *) "rect", NULL
18545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18547 if (!SWIG_IsOK(res1
)) {
18548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18553 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_Py_Void();
18568 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= 0;
18570 wxDC
*arg1
= (wxDC
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 PyObject
* obj1
= 0 ;
18593 PyObject
* obj2
= 0 ;
18594 PyObject
* obj3
= 0 ;
18595 PyObject
* obj4
= 0 ;
18596 PyObject
* obj5
= 0 ;
18597 PyObject
* obj6
= 0 ;
18598 char * kwnames
[] = {
18599 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18604 if (!SWIG_IsOK(res1
)) {
18605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18609 if (!SWIG_IsOK(ecode2
)) {
18610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18612 arg2
= static_cast< int >(val2
);
18613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18614 if (!SWIG_IsOK(ecode3
)) {
18615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18617 arg3
= static_cast< int >(val3
);
18618 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18619 if (!SWIG_IsOK(ecode4
)) {
18620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18622 arg4
= static_cast< int >(val4
);
18623 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18624 if (!SWIG_IsOK(ecode5
)) {
18625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18627 arg5
= static_cast< int >(val5
);
18628 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18629 if (!SWIG_IsOK(ecode6
)) {
18630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18632 arg6
= static_cast< double >(val6
);
18633 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18634 if (!SWIG_IsOK(ecode7
)) {
18635 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18637 arg7
= static_cast< double >(val7
);
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_Py_Void();
18651 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
= 0;
18653 wxDC
*arg1
= (wxDC
*) 0 ;
18654 wxPoint
*arg2
= 0 ;
18666 PyObject
* obj0
= 0 ;
18667 PyObject
* obj1
= 0 ;
18668 PyObject
* obj2
= 0 ;
18669 PyObject
* obj3
= 0 ;
18670 PyObject
* obj4
= 0 ;
18671 char * kwnames
[] = {
18672 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18677 if (!SWIG_IsOK(res1
)) {
18678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18687 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18689 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18690 if (!SWIG_IsOK(ecode4
)) {
18691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18693 arg4
= static_cast< double >(val4
);
18694 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18695 if (!SWIG_IsOK(ecode5
)) {
18696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18698 arg5
= static_cast< double >(val5
);
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= SWIG_Py_Void();
18712 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
= 0;
18714 wxDC
*arg1
= (wxDC
*) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 PyObject
* obj2
= 0 ;
18726 char * kwnames
[] = {
18727 (char *) "self",(char *) "x",(char *) "y", NULL
18730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18732 if (!SWIG_IsOK(res1
)) {
18733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18737 if (!SWIG_IsOK(ecode2
)) {
18738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18740 arg2
= static_cast< int >(val2
);
18741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18742 if (!SWIG_IsOK(ecode3
)) {
18743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18745 arg3
= static_cast< int >(val3
);
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 (arg1
)->DrawPoint(arg2
,arg3
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_Py_Void();
18759 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
= 0;
18761 wxDC
*arg1
= (wxDC
*) 0 ;
18762 wxPoint
*arg2
= 0 ;
18766 PyObject
* obj0
= 0 ;
18767 PyObject
* obj1
= 0 ;
18768 char * kwnames
[] = {
18769 (char *) "self",(char *) "pt", NULL
18772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18774 if (!SWIG_IsOK(res1
)) {
18775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_Py_Void();
18795 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
= 0;
18797 wxDC
*arg1
= (wxDC
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 PyObject
* obj1
= 0 ;
18814 PyObject
* obj2
= 0 ;
18815 PyObject
* obj3
= 0 ;
18816 PyObject
* obj4
= 0 ;
18817 char * kwnames
[] = {
18818 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18823 if (!SWIG_IsOK(res1
)) {
18824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18828 if (!SWIG_IsOK(ecode2
)) {
18829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18831 arg2
= static_cast< int >(val2
);
18832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18833 if (!SWIG_IsOK(ecode3
)) {
18834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18836 arg3
= static_cast< int >(val3
);
18837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18838 if (!SWIG_IsOK(ecode4
)) {
18839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18841 arg4
= static_cast< int >(val4
);
18842 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18843 if (!SWIG_IsOK(ecode5
)) {
18844 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18846 arg5
= static_cast< int >(val5
);
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= SWIG_Py_Void();
18860 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
= 0;
18862 wxDC
*arg1
= (wxDC
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 char * kwnames
[] = {
18870 (char *) "self",(char *) "rect", NULL
18873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18875 if (!SWIG_IsOK(res1
)) {
18876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18881 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= SWIG_Py_Void();
18896 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
= 0;
18898 wxDC
*arg1
= (wxDC
*) 0 ;
18899 wxPoint
*arg2
= 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 PyObject
* obj2
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "self",(char *) "pt",(char *) "sz", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18920 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18924 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= SWIG_Py_Void();
18939 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
= 0;
18941 wxDC
*arg1
= (wxDC
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 PyObject
* obj2
= 0 ;
18962 PyObject
* obj3
= 0 ;
18963 PyObject
* obj4
= 0 ;
18964 PyObject
* obj5
= 0 ;
18965 char * kwnames
[] = {
18966 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18971 if (!SWIG_IsOK(res1
)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18976 if (!SWIG_IsOK(ecode2
)) {
18977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18979 arg2
= static_cast< int >(val2
);
18980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18981 if (!SWIG_IsOK(ecode3
)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18984 arg3
= static_cast< int >(val3
);
18985 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18986 if (!SWIG_IsOK(ecode4
)) {
18987 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18989 arg4
= static_cast< int >(val4
);
18990 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18991 if (!SWIG_IsOK(ecode5
)) {
18992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18994 arg5
= static_cast< int >(val5
);
18995 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18996 if (!SWIG_IsOK(ecode6
)) {
18997 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18999 arg6
= static_cast< double >(val6
);
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= SWIG_Py_Void();
19013 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
= 0;
19015 wxDC
*arg1
= (wxDC
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 PyObject
* obj1
= 0 ;
19025 PyObject
* obj2
= 0 ;
19026 char * kwnames
[] = {
19027 (char *) "self",(char *) "r",(char *) "radius", NULL
19030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19032 if (!SWIG_IsOK(res1
)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19035 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19038 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19040 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19041 if (!SWIG_IsOK(ecode3
)) {
19042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19044 arg3
= static_cast< double >(val3
);
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_Py_Void();
19058 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
= 0;
19060 wxDC
*arg1
= (wxDC
*) 0 ;
19061 wxPoint
*arg2
= 0 ;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 PyObject
* obj2
= 0 ;
19073 PyObject
* obj3
= 0 ;
19074 char * kwnames
[] = {
19075 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19080 if (!SWIG_IsOK(res1
)) {
19081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19090 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19092 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19093 if (!SWIG_IsOK(ecode4
)) {
19094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19096 arg4
= static_cast< double >(val4
);
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= SWIG_Py_Void();
19110 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
= 0;
19112 wxDC
*arg1
= (wxDC
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 PyObject
* obj2
= 0 ;
19127 PyObject
* obj3
= 0 ;
19128 char * kwnames
[] = {
19129 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19134 if (!SWIG_IsOK(res1
)) {
19135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19139 if (!SWIG_IsOK(ecode2
)) {
19140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19142 arg2
= static_cast< int >(val2
);
19143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19144 if (!SWIG_IsOK(ecode3
)) {
19145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19147 arg3
= static_cast< int >(val3
);
19148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19149 if (!SWIG_IsOK(ecode4
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19152 arg4
= static_cast< int >(val4
);
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_Py_Void();
19166 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
= 0;
19168 wxDC
*arg1
= (wxDC
*) 0 ;
19169 wxPoint
*arg2
= 0 ;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 PyObject
* obj2
= 0 ;
19179 char * kwnames
[] = {
19180 (char *) "self",(char *) "pt",(char *) "radius", NULL
19183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19185 if (!SWIG_IsOK(res1
)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19194 if (!SWIG_IsOK(ecode3
)) {
19195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19197 arg3
= static_cast< int >(val3
);
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= SWIG_Py_Void();
19211 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
= 0;
19213 wxDC
*arg1
= (wxDC
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 PyObject
* obj1
= 0 ;
19230 PyObject
* obj2
= 0 ;
19231 PyObject
* obj3
= 0 ;
19232 PyObject
* obj4
= 0 ;
19233 char * kwnames
[] = {
19234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19239 if (!SWIG_IsOK(res1
)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19244 if (!SWIG_IsOK(ecode2
)) {
19245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19247 arg2
= static_cast< int >(val2
);
19248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19249 if (!SWIG_IsOK(ecode3
)) {
19250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19252 arg3
= static_cast< int >(val3
);
19253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19254 if (!SWIG_IsOK(ecode4
)) {
19255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19257 arg4
= static_cast< int >(val4
);
19258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19259 if (!SWIG_IsOK(ecode5
)) {
19260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19262 arg5
= static_cast< int >(val5
);
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_Py_Void();
19276 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
= 0;
19278 wxDC
*arg1
= (wxDC
*) 0 ;
19283 PyObject
* obj0
= 0 ;
19284 PyObject
* obj1
= 0 ;
19285 char * kwnames
[] = {
19286 (char *) "self",(char *) "rect", NULL
19289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19297 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_Py_Void();
19312 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
= 0;
19314 wxDC
*arg1
= (wxDC
*) 0 ;
19315 wxPoint
*arg2
= 0 ;
19321 PyObject
* obj0
= 0 ;
19322 PyObject
* obj1
= 0 ;
19323 PyObject
* obj2
= 0 ;
19324 char * kwnames
[] = {
19325 (char *) "self",(char *) "pt",(char *) "sz", NULL
19328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19330 if (!SWIG_IsOK(res1
)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19340 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= SWIG_Py_Void();
19355 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
= 0;
19357 wxDC
*arg1
= (wxDC
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 PyObject
* obj2
= 0 ;
19372 PyObject
* obj3
= 0 ;
19373 char * kwnames
[] = {
19374 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",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_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19384 if (!SWIG_IsOK(res2
)) {
19385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19390 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19392 if (!SWIG_IsOK(ecode3
)) {
19393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19395 arg3
= static_cast< int >(val3
);
19396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19397 if (!SWIG_IsOK(ecode4
)) {
19398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19400 arg4
= static_cast< int >(val4
);
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= SWIG_Py_Void();
19414 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
= 0;
19416 wxDC
*arg1
= (wxDC
*) 0 ;
19418 wxPoint
*arg3
= 0 ;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 PyObject
* obj2
= 0 ;
19427 char * kwnames
[] = {
19428 (char *) "self",(char *) "icon",(char *) "pt", NULL
19431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19433 if (!SWIG_IsOK(res1
)) {
19434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19438 if (!SWIG_IsOK(res2
)) {
19439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19444 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_Py_Void();
19462 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
= 0;
19464 wxDC
*arg1
= (wxDC
*) 0 ;
19465 wxBitmap
*arg2
= 0 ;
19468 bool arg5
= (bool) false ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 PyObject
* obj2
= 0 ;
19482 PyObject
* obj3
= 0 ;
19483 PyObject
* obj4
= 0 ;
19484 char * kwnames
[] = {
19485 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19495 if (!SWIG_IsOK(res2
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19501 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19503 if (!SWIG_IsOK(ecode3
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19506 arg3
= static_cast< int >(val3
);
19507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19508 if (!SWIG_IsOK(ecode4
)) {
19509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19511 arg4
= static_cast< int >(val4
);
19513 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19514 if (!SWIG_IsOK(ecode5
)) {
19515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19517 arg5
= static_cast< bool >(val5
);
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_Py_Void();
19532 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
= 0;
19534 wxDC
*arg1
= (wxDC
*) 0 ;
19535 wxBitmap
*arg2
= 0 ;
19536 wxPoint
*arg3
= 0 ;
19537 bool arg4
= (bool) false ;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 PyObject
* obj2
= 0 ;
19548 PyObject
* obj3
= 0 ;
19549 char * kwnames
[] = {
19550 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19555 if (!SWIG_IsOK(res1
)) {
19556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19560 if (!SWIG_IsOK(res2
)) {
19561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19566 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19569 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19572 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19573 if (!SWIG_IsOK(ecode4
)) {
19574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19576 arg4
= static_cast< bool >(val4
);
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= SWIG_Py_Void();
19591 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
= 0;
19593 wxDC
*arg1
= (wxDC
*) 0 ;
19594 wxString
*arg2
= 0 ;
19599 bool temp2
= false ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 PyObject
* obj2
= 0 ;
19607 PyObject
* obj3
= 0 ;
19608 char * kwnames
[] = {
19609 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19619 arg2
= wxString_in_helper(obj1
);
19620 if (arg2
== NULL
) SWIG_fail
;
19623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19624 if (!SWIG_IsOK(ecode3
)) {
19625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19627 arg3
= static_cast< int >(val3
);
19628 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19629 if (!SWIG_IsOK(ecode4
)) {
19630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19632 arg4
= static_cast< int >(val4
);
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= SWIG_Py_Void();
19654 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxDC
*arg1
= (wxDC
*) 0 ;
19657 wxString
*arg2
= 0 ;
19658 wxPoint
*arg3
= 0 ;
19661 bool temp2
= false ;
19663 PyObject
* obj0
= 0 ;
19664 PyObject
* obj1
= 0 ;
19665 PyObject
* obj2
= 0 ;
19666 char * kwnames
[] = {
19667 (char *) "self",(char *) "text",(char *) "pt", NULL
19670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19672 if (!SWIG_IsOK(res1
)) {
19673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19677 arg2
= wxString_in_helper(obj1
);
19678 if (arg2
== NULL
) SWIG_fail
;
19683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= SWIG_Py_Void();
19706 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
= 0;
19708 wxDC
*arg1
= (wxDC
*) 0 ;
19709 wxString
*arg2
= 0 ;
19715 bool temp2
= false ;
19722 PyObject
* obj0
= 0 ;
19723 PyObject
* obj1
= 0 ;
19724 PyObject
* obj2
= 0 ;
19725 PyObject
* obj3
= 0 ;
19726 PyObject
* obj4
= 0 ;
19727 char * kwnames
[] = {
19728 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19733 if (!SWIG_IsOK(res1
)) {
19734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19738 arg2
= wxString_in_helper(obj1
);
19739 if (arg2
== NULL
) SWIG_fail
;
19742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19743 if (!SWIG_IsOK(ecode3
)) {
19744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19746 arg3
= static_cast< int >(val3
);
19747 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19748 if (!SWIG_IsOK(ecode4
)) {
19749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19751 arg4
= static_cast< int >(val4
);
19752 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19753 if (!SWIG_IsOK(ecode5
)) {
19754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19756 arg5
= static_cast< double >(val5
);
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_Py_Void();
19778 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
= 0;
19780 wxDC
*arg1
= (wxDC
*) 0 ;
19781 wxString
*arg2
= 0 ;
19782 wxPoint
*arg3
= 0 ;
19786 bool temp2
= false ;
19790 PyObject
* obj0
= 0 ;
19791 PyObject
* obj1
= 0 ;
19792 PyObject
* obj2
= 0 ;
19793 PyObject
* obj3
= 0 ;
19794 char * kwnames
[] = {
19795 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19800 if (!SWIG_IsOK(res1
)) {
19801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19805 arg2
= wxString_in_helper(obj1
);
19806 if (arg2
== NULL
) SWIG_fail
;
19811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19813 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19814 if (!SWIG_IsOK(ecode4
)) {
19815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19817 arg4
= static_cast< double >(val4
);
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= SWIG_Py_Void();
19839 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
= 0;
19841 wxDC
*arg1
= (wxDC
*) 0 ;
19846 wxDC
*arg6
= (wxDC
*) 0 ;
19849 int arg9
= (int) wxCOPY
;
19850 bool arg10
= (bool) false ;
19851 int arg11
= (int) -1 ;
19852 int arg12
= (int) -1 ;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 PyObject
* obj2
= 0 ;
19881 PyObject
* obj3
= 0 ;
19882 PyObject
* obj4
= 0 ;
19883 PyObject
* obj5
= 0 ;
19884 PyObject
* obj6
= 0 ;
19885 PyObject
* obj7
= 0 ;
19886 PyObject
* obj8
= 0 ;
19887 PyObject
* obj9
= 0 ;
19888 PyObject
* obj10
= 0 ;
19889 PyObject
* obj11
= 0 ;
19890 char * kwnames
[] = {
19891 (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
19894 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
;
19895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19896 if (!SWIG_IsOK(res1
)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19901 if (!SWIG_IsOK(ecode2
)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19904 arg2
= static_cast< int >(val2
);
19905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19906 if (!SWIG_IsOK(ecode3
)) {
19907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19909 arg3
= static_cast< int >(val3
);
19910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19911 if (!SWIG_IsOK(ecode4
)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19914 arg4
= static_cast< int >(val4
);
19915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19916 if (!SWIG_IsOK(ecode5
)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19919 arg5
= static_cast< int >(val5
);
19920 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19921 if (!SWIG_IsOK(res6
)) {
19922 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19924 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19925 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19926 if (!SWIG_IsOK(ecode7
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19929 arg7
= static_cast< int >(val7
);
19930 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19931 if (!SWIG_IsOK(ecode8
)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19934 arg8
= static_cast< int >(val8
);
19936 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19937 if (!SWIG_IsOK(ecode9
)) {
19938 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19940 arg9
= static_cast< int >(val9
);
19943 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19944 if (!SWIG_IsOK(ecode10
)) {
19945 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19947 arg10
= static_cast< bool >(val10
);
19950 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19951 if (!SWIG_IsOK(ecode11
)) {
19952 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19954 arg11
= static_cast< int >(val11
);
19957 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19958 if (!SWIG_IsOK(ecode12
)) {
19959 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19961 arg12
= static_cast< int >(val12
);
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19978 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
= 0;
19980 wxDC
*arg1
= (wxDC
*) 0 ;
19981 wxPoint
*arg2
= 0 ;
19983 wxDC
*arg4
= (wxDC
*) 0 ;
19984 wxPoint
*arg5
= 0 ;
19985 int arg6
= (int) wxCOPY
;
19986 bool arg7
= (bool) false ;
19987 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19988 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 PyObject
* obj2
= 0 ;
20005 PyObject
* obj3
= 0 ;
20006 PyObject
* obj4
= 0 ;
20007 PyObject
* obj5
= 0 ;
20008 PyObject
* obj6
= 0 ;
20009 PyObject
* obj7
= 0 ;
20010 char * kwnames
[] = {
20011 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20016 if (!SWIG_IsOK(res1
)) {
20017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20026 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20028 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20029 if (!SWIG_IsOK(res4
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20032 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20035 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20038 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20039 if (!SWIG_IsOK(ecode6
)) {
20040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20042 arg6
= static_cast< int >(val6
);
20045 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20046 if (!SWIG_IsOK(ecode7
)) {
20047 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20049 arg7
= static_cast< bool >(val7
);
20054 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20072 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
= 0;
20074 wxDC
*arg1
= (wxDC
*) 0 ;
20079 wxDC
*arg6
= (wxDC
*) 0 ;
20084 int arg11
= (int) wxCOPY
;
20085 bool arg12
= (bool) false ;
20086 int arg13
= (int) wxDefaultCoord
;
20087 int arg14
= (int) wxDefaultCoord
;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 PyObject
* obj2
= 0 ;
20120 PyObject
* obj3
= 0 ;
20121 PyObject
* obj4
= 0 ;
20122 PyObject
* obj5
= 0 ;
20123 PyObject
* obj6
= 0 ;
20124 PyObject
* obj7
= 0 ;
20125 PyObject
* obj8
= 0 ;
20126 PyObject
* obj9
= 0 ;
20127 PyObject
* obj10
= 0 ;
20128 PyObject
* obj11
= 0 ;
20129 PyObject
* obj12
= 0 ;
20130 PyObject
* obj13
= 0 ;
20131 char * kwnames
[] = {
20132 (char *) "self",(char *) "dstX",(char *) "dstY",(char *) "dstWidth",(char *) "dstHeight",(char *) "source",(char *) "srcX",(char *) "srcY",(char *) "srcWidth",(char *) "srcHeight",(char *) "rop",(char *) "useMask",(char *) "srcMaskX",(char *) "srcMaskY", NULL
20135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOOOO|OOOO:DC_StretchBlit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
,&obj12
,&obj13
)) SWIG_fail
;
20136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
20140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20142 if (!SWIG_IsOK(ecode2
)) {
20143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
20145 arg2
= static_cast< int >(val2
);
20146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20147 if (!SWIG_IsOK(ecode3
)) {
20148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
20150 arg3
= static_cast< int >(val3
);
20151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20152 if (!SWIG_IsOK(ecode4
)) {
20153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
20155 arg4
= static_cast< int >(val4
);
20156 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20157 if (!SWIG_IsOK(ecode5
)) {
20158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
20160 arg5
= static_cast< int >(val5
);
20161 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20162 if (!SWIG_IsOK(res6
)) {
20163 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
20165 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20166 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20167 if (!SWIG_IsOK(ecode7
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
20170 arg7
= static_cast< int >(val7
);
20171 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20172 if (!SWIG_IsOK(ecode8
)) {
20173 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
20175 arg8
= static_cast< int >(val8
);
20176 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20177 if (!SWIG_IsOK(ecode9
)) {
20178 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20180 arg9
= static_cast< int >(val9
);
20181 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20182 if (!SWIG_IsOK(ecode10
)) {
20183 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20185 arg10
= static_cast< int >(val10
);
20187 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20188 if (!SWIG_IsOK(ecode11
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20191 arg11
= static_cast< int >(val11
);
20194 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20195 if (!SWIG_IsOK(ecode12
)) {
20196 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20198 arg12
= static_cast< bool >(val12
);
20201 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20202 if (!SWIG_IsOK(ecode13
)) {
20203 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20205 arg13
= static_cast< int >(val13
);
20208 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20209 if (!SWIG_IsOK(ecode14
)) {
20210 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20212 arg14
= static_cast< int >(val14
);
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20229 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
= 0;
20231 wxDC
*arg1
= (wxDC
*) 0 ;
20232 wxPoint
*arg2
= 0 ;
20234 wxDC
*arg4
= (wxDC
*) 0 ;
20235 wxPoint
*arg5
= 0 ;
20237 int arg7
= (int) wxCOPY
;
20238 bool arg8
= (bool) false ;
20239 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20240 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 PyObject
* obj2
= 0 ;
20258 PyObject
* obj3
= 0 ;
20259 PyObject
* obj4
= 0 ;
20260 PyObject
* obj5
= 0 ;
20261 PyObject
* obj6
= 0 ;
20262 PyObject
* obj7
= 0 ;
20263 PyObject
* obj8
= 0 ;
20264 char * kwnames
[] = {
20265 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20270 if (!SWIG_IsOK(res1
)) {
20271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20276 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20280 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20282 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20283 if (!SWIG_IsOK(res4
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20286 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20293 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20296 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20297 if (!SWIG_IsOK(ecode7
)) {
20298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20300 arg7
= static_cast< int >(val7
);
20303 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20304 if (!SWIG_IsOK(ecode8
)) {
20305 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20307 arg8
= static_cast< bool >(val8
);
20312 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20330 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
= 0;
20332 wxDC
*arg1
= (wxDC
*) 0 ;
20333 wxRect
*arg2
= (wxRect
*) NULL
;
20334 SwigValueWrapper
<wxBitmap
> result
;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char * kwnames
[] = {
20342 (char *) "self",(char *) "subrect", NULL
20345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20347 if (!SWIG_IsOK(res1
)) {
20348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20353 if (!SWIG_IsOK(res2
)) {
20354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20356 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20371 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
= 0;
20373 wxDC
*arg1
= (wxDC
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 PyObject
* obj2
= 0 ;
20391 PyObject
* obj3
= 0 ;
20392 PyObject
* obj4
= 0 ;
20393 char * kwnames
[] = {
20394 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20399 if (!SWIG_IsOK(res1
)) {
20400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20404 if (!SWIG_IsOK(ecode2
)) {
20405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20407 arg2
= static_cast< int >(val2
);
20408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20409 if (!SWIG_IsOK(ecode3
)) {
20410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20412 arg3
= static_cast< int >(val3
);
20413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20414 if (!SWIG_IsOK(ecode4
)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20417 arg4
= static_cast< int >(val4
);
20418 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20419 if (!SWIG_IsOK(ecode5
)) {
20420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20422 arg5
= static_cast< int >(val5
);
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= SWIG_Py_Void();
20436 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
= 0;
20438 wxDC
*arg1
= (wxDC
*) 0 ;
20439 wxPoint
*arg2
= 0 ;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 PyObject
* obj2
= 0 ;
20448 char * kwnames
[] = {
20449 (char *) "self",(char *) "pt",(char *) "sz", NULL
20452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20464 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= SWIG_Py_Void();
20479 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
= 0;
20481 wxDC
*arg1
= (wxDC
*) 0 ;
20482 wxRegion
*arg2
= 0 ;
20487 PyObject
* obj0
= 0 ;
20488 PyObject
* obj1
= 0 ;
20489 char * kwnames
[] = {
20490 (char *) "self",(char *) "region", NULL
20493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20495 if (!SWIG_IsOK(res1
)) {
20496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20499 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20500 if (!SWIG_IsOK(res2
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20506 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_Py_Void();
20520 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
= 0;
20522 wxDC
*arg1
= (wxDC
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char * kwnames
[] = {
20530 (char *) "self",(char *) "rect", NULL
20533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20535 if (!SWIG_IsOK(res1
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20541 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_Py_Void();
20556 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
= 0;
20558 wxDC
*arg1
= (wxDC
*) 0 ;
20560 wxPoint
*arg3
= (wxPoint
*) 0 ;
20561 int arg4
= (int) 0 ;
20562 int arg5
= (int) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 PyObject
* obj2
= 0 ;
20572 PyObject
* obj3
= 0 ;
20573 char * kwnames
[] = {
20574 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20579 if (!SWIG_IsOK(res1
)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20584 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20585 if (arg3
== NULL
) SWIG_fail
;
20588 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20589 if (!SWIG_IsOK(ecode4
)) {
20590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20592 arg4
= static_cast< int >(val4
);
20595 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20596 if (!SWIG_IsOK(ecode5
)) {
20597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20599 arg5
= static_cast< int >(val5
);
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= SWIG_Py_Void();
20609 if (arg3
) delete [] arg3
;
20614 if (arg3
) delete [] arg3
;
20620 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
= 0;
20622 wxDC
*arg1
= (wxDC
*) 0 ;
20624 wxPoint
*arg3
= (wxPoint
*) 0 ;
20625 int arg4
= (int) 0 ;
20626 int arg5
= (int) 0 ;
20627 int arg6
= (int) wxODDEVEN_RULE
;
20636 PyObject
* obj0
= 0 ;
20637 PyObject
* obj1
= 0 ;
20638 PyObject
* obj2
= 0 ;
20639 PyObject
* obj3
= 0 ;
20640 PyObject
* obj4
= 0 ;
20641 char * kwnames
[] = {
20642 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20647 if (!SWIG_IsOK(res1
)) {
20648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20652 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20653 if (arg3
== NULL
) SWIG_fail
;
20656 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20657 if (!SWIG_IsOK(ecode4
)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20660 arg4
= static_cast< int >(val4
);
20663 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20664 if (!SWIG_IsOK(ecode5
)) {
20665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20667 arg5
= static_cast< int >(val5
);
20670 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20671 if (!SWIG_IsOK(ecode6
)) {
20672 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20674 arg6
= static_cast< int >(val6
);
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_Py_Void();
20684 if (arg3
) delete [] arg3
;
20689 if (arg3
) delete [] arg3
;
20695 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
= 0;
20697 wxDC
*arg1
= (wxDC
*) 0 ;
20698 wxString
*arg2
= 0 ;
20700 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20701 int arg5
= (int) -1 ;
20704 bool temp2
= false ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 PyObject
* obj2
= 0 ;
20713 PyObject
* obj3
= 0 ;
20714 PyObject
* obj4
= 0 ;
20715 char * kwnames
[] = {
20716 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20721 if (!SWIG_IsOK(res1
)) {
20722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20726 arg2
= wxString_in_helper(obj1
);
20727 if (arg2
== NULL
) SWIG_fail
;
20732 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20736 if (!SWIG_IsOK(ecode4
)) {
20737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20739 arg4
= static_cast< int >(val4
);
20742 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20743 if (!SWIG_IsOK(ecode5
)) {
20744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20746 arg5
= static_cast< int >(val5
);
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_Py_Void();
20769 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
= 0;
20771 wxDC
*arg1
= (wxDC
*) 0 ;
20772 wxString
*arg2
= 0 ;
20773 wxBitmap
*arg3
= 0 ;
20775 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20776 int arg6
= (int) -1 ;
20780 bool temp2
= false ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 PyObject
* obj2
= 0 ;
20791 PyObject
* obj3
= 0 ;
20792 PyObject
* obj4
= 0 ;
20793 PyObject
* obj5
= 0 ;
20794 char * kwnames
[] = {
20795 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20800 if (!SWIG_IsOK(res1
)) {
20801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20805 arg2
= wxString_in_helper(obj1
);
20806 if (arg2
== NULL
) SWIG_fail
;
20809 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20810 if (!SWIG_IsOK(res3
)) {
20811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20816 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20819 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20822 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20823 if (!SWIG_IsOK(ecode5
)) {
20824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20826 arg5
= static_cast< int >(val5
);
20829 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20830 if (!SWIG_IsOK(ecode6
)) {
20831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20833 arg6
= static_cast< int >(val6
);
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20856 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
= 0;
20858 wxDC
*arg1
= (wxDC
*) 0 ;
20860 wxPoint
*arg3
= (wxPoint
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20865 char * kwnames
[] = {
20866 (char *) "self",(char *) "points", NULL
20869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20871 if (!SWIG_IsOK(res1
)) {
20872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20876 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20877 if (arg3
== NULL
) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 (arg1
)->DrawSpline(arg2
,arg3
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_Py_Void();
20887 if (arg3
) delete [] arg3
;
20892 if (arg3
) delete [] arg3
;
20898 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 PyObject
*resultobj
= 0;
20900 wxDC
*arg1
= (wxDC
*) 0 ;
20903 PyObject
*swig_obj
[1] ;
20905 if (!args
) SWIG_fail
;
20906 swig_obj
[0] = args
;
20907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_Py_Void();
20925 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
= 0;
20927 wxDC
*arg1
= (wxDC
*) 0 ;
20928 wxString
*arg2
= 0 ;
20932 bool temp2
= false ;
20933 PyObject
* obj0
= 0 ;
20934 PyObject
* obj1
= 0 ;
20935 char * kwnames
[] = {
20936 (char *) "self",(char *) "message", NULL
20939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20941 if (!SWIG_IsOK(res1
)) {
20942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20946 arg2
= wxString_in_helper(obj1
);
20947 if (arg2
== NULL
) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20973 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20974 PyObject
*resultobj
= 0;
20975 wxDC
*arg1
= (wxDC
*) 0 ;
20978 PyObject
*swig_obj
[1] ;
20980 if (!args
) SWIG_fail
;
20981 swig_obj
[0] = args
;
20982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20983 if (!SWIG_IsOK(res1
)) {
20984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_Py_Void();
21000 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21001 PyObject
*resultobj
= 0;
21002 wxDC
*arg1
= (wxDC
*) 0 ;
21005 PyObject
*swig_obj
[1] ;
21007 if (!args
) SWIG_fail
;
21008 swig_obj
[0] = args
;
21009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 (arg1
)->StartPage();
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_Py_Void();
21027 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21028 PyObject
*resultobj
= 0;
21029 wxDC
*arg1
= (wxDC
*) 0 ;
21032 PyObject
*swig_obj
[1] ;
21034 if (!args
) SWIG_fail
;
21035 swig_obj
[0] = args
;
21036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21037 if (!SWIG_IsOK(res1
)) {
21038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_Py_Void();
21054 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
= 0;
21056 wxDC
*arg1
= (wxDC
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char * kwnames
[] = {
21065 (char *) "self",(char *) "font", NULL
21068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21070 if (!SWIG_IsOK(res1
)) {
21071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21075 if (!SWIG_IsOK(res2
)) {
21076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21081 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->SetFont((wxFont
const &)*arg2
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= SWIG_Py_Void();
21095 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
= 0;
21097 wxDC
*arg1
= (wxDC
*) 0 ;
21103 PyObject
* obj0
= 0 ;
21104 PyObject
* obj1
= 0 ;
21105 char * kwnames
[] = {
21106 (char *) "self",(char *) "pen", NULL
21109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21111 if (!SWIG_IsOK(res1
)) {
21112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21116 if (!SWIG_IsOK(res2
)) {
21117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21122 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 (arg1
)->SetPen((wxPen
const &)*arg2
);
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= SWIG_Py_Void();
21136 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
= 0;
21138 wxDC
*arg1
= (wxDC
*) 0 ;
21139 wxBrush
*arg2
= 0 ;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 char * kwnames
[] = {
21147 (char *) "self",(char *) "brush", NULL
21150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21152 if (!SWIG_IsOK(res1
)) {
21153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21157 if (!SWIG_IsOK(res2
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21163 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= SWIG_Py_Void();
21177 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
= 0;
21179 wxDC
*arg1
= (wxDC
*) 0 ;
21180 wxBrush
*arg2
= 0 ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 char * kwnames
[] = {
21188 (char *) "self",(char *) "brush", NULL
21191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21198 if (!SWIG_IsOK(res2
)) {
21199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21204 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_Py_Void();
21218 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
= 0;
21220 wxDC
*arg1
= (wxDC
*) 0 ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char * kwnames
[] = {
21229 (char *) "self",(char *) "mode", NULL
21232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21234 if (!SWIG_IsOK(res1
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21239 if (!SWIG_IsOK(ecode2
)) {
21240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21242 arg2
= static_cast< int >(val2
);
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 (arg1
)->SetBackgroundMode(arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_Py_Void();
21256 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
= 0;
21258 wxDC
*arg1
= (wxDC
*) 0 ;
21259 wxPalette
*arg2
= 0 ;
21264 PyObject
* obj0
= 0 ;
21265 PyObject
* obj1
= 0 ;
21266 char * kwnames
[] = {
21267 (char *) "self",(char *) "palette", NULL
21270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21272 if (!SWIG_IsOK(res1
)) {
21273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21277 if (!SWIG_IsOK(res2
)) {
21278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21283 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_Py_Void();
21297 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21298 PyObject
*resultobj
= 0;
21299 wxDC
*arg1
= (wxDC
*) 0 ;
21302 PyObject
*swig_obj
[1] ;
21304 if (!args
) SWIG_fail
;
21305 swig_obj
[0] = args
;
21306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21307 if (!SWIG_IsOK(res1
)) {
21308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 (arg1
)->DestroyClippingRegion();
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= SWIG_Py_Void();
21324 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21325 PyObject
*resultobj
= 0;
21326 wxDC
*arg1
= (wxDC
*) 0 ;
21327 int *arg2
= (int *) 0 ;
21328 int *arg3
= (int *) 0 ;
21329 int *arg4
= (int *) 0 ;
21330 int *arg5
= (int *) 0 ;
21334 int res2
= SWIG_TMPOBJ
;
21336 int res3
= SWIG_TMPOBJ
;
21338 int res4
= SWIG_TMPOBJ
;
21340 int res5
= SWIG_TMPOBJ
;
21341 PyObject
*swig_obj
[1] ;
21347 if (!args
) SWIG_fail
;
21348 swig_obj
[0] = args
;
21349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21350 if (!SWIG_IsOK(res1
)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_Py_Void();
21361 if (SWIG_IsTmpObj(res2
)) {
21362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21364 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21367 if (SWIG_IsTmpObj(res3
)) {
21368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21370 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21373 if (SWIG_IsTmpObj(res4
)) {
21374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21376 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21379 if (SWIG_IsTmpObj(res5
)) {
21380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21382 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21391 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21392 PyObject
*resultobj
= 0;
21393 wxDC
*arg1
= (wxDC
*) 0 ;
21397 PyObject
*swig_obj
[1] ;
21399 if (!args
) SWIG_fail
;
21400 swig_obj
[0] = args
;
21401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21402 if (!SWIG_IsOK(res1
)) {
21403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= wxDC_GetClippingRect(arg1
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21419 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21420 PyObject
*resultobj
= 0;
21421 wxDC
*arg1
= (wxDC
*) 0 ;
21425 PyObject
*swig_obj
[1] ;
21427 if (!args
) SWIG_fail
;
21428 swig_obj
[0] = args
;
21429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21430 if (!SWIG_IsOK(res1
)) {
21431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_From_int(static_cast< int >(result
));
21447 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21448 PyObject
*resultobj
= 0;
21449 wxDC
*arg1
= (wxDC
*) 0 ;
21453 PyObject
*swig_obj
[1] ;
21455 if (!args
) SWIG_fail
;
21456 swig_obj
[0] = args
;
21457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21458 if (!SWIG_IsOK(res1
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_From_int(static_cast< int >(result
));
21475 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
= 0;
21477 wxDC
*arg1
= (wxDC
*) 0 ;
21478 wxString
*arg2
= 0 ;
21479 int *arg3
= (int *) 0 ;
21480 int *arg4
= (int *) 0 ;
21483 bool temp2
= false ;
21485 int res3
= SWIG_TMPOBJ
;
21487 int res4
= SWIG_TMPOBJ
;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char * kwnames
[] = {
21491 (char *) "self",(char *) "string", NULL
21496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21498 if (!SWIG_IsOK(res1
)) {
21499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21503 arg2
= wxString_in_helper(obj1
);
21504 if (arg2
== NULL
) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21513 resultobj
= SWIG_Py_Void();
21514 if (SWIG_IsTmpObj(res3
)) {
21515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21517 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21520 if (SWIG_IsTmpObj(res4
)) {
21521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21523 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21540 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
= 0;
21542 wxDC
*arg1
= (wxDC
*) 0 ;
21543 wxString
*arg2
= 0 ;
21544 int *arg3
= (int *) 0 ;
21545 int *arg4
= (int *) 0 ;
21546 int *arg5
= (int *) 0 ;
21547 int *arg6
= (int *) 0 ;
21548 wxFont
*arg7
= (wxFont
*) NULL
;
21551 bool temp2
= false ;
21553 int res3
= SWIG_TMPOBJ
;
21555 int res4
= SWIG_TMPOBJ
;
21557 int res5
= SWIG_TMPOBJ
;
21559 int res6
= SWIG_TMPOBJ
;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 PyObject
* obj2
= 0 ;
21565 char * kwnames
[] = {
21566 (char *) "self",(char *) "string",(char *) "font", NULL
21573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21575 if (!SWIG_IsOK(res1
)) {
21576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21580 arg2
= wxString_in_helper(obj1
);
21581 if (arg2
== NULL
) SWIG_fail
;
21585 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21586 if (!SWIG_IsOK(res7
)) {
21587 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21589 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= SWIG_Py_Void();
21598 if (SWIG_IsTmpObj(res3
)) {
21599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21601 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21604 if (SWIG_IsTmpObj(res4
)) {
21605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21607 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21610 if (SWIG_IsTmpObj(res5
)) {
21611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21613 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21616 if (SWIG_IsTmpObj(res6
)) {
21617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21619 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21636 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
= 0;
21638 wxDC
*arg1
= (wxDC
*) 0 ;
21639 wxString
*arg2
= 0 ;
21640 int *arg3
= (int *) 0 ;
21641 int *arg4
= (int *) 0 ;
21642 int *arg5
= (int *) 0 ;
21643 wxFont
*arg6
= (wxFont
*) NULL
;
21646 bool temp2
= false ;
21648 int res3
= SWIG_TMPOBJ
;
21650 int res4
= SWIG_TMPOBJ
;
21652 int res5
= SWIG_TMPOBJ
;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 PyObject
* obj2
= 0 ;
21658 char * kwnames
[] = {
21659 (char *) "self",(char *) "text",(char *) "font", NULL
21665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21667 if (!SWIG_IsOK(res1
)) {
21668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21672 arg2
= wxString_in_helper(obj1
);
21673 if (arg2
== NULL
) SWIG_fail
;
21677 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21678 if (!SWIG_IsOK(res6
)) {
21679 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21681 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_Py_Void();
21690 if (SWIG_IsTmpObj(res3
)) {
21691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21693 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21696 if (SWIG_IsTmpObj(res4
)) {
21697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21699 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21702 if (SWIG_IsTmpObj(res5
)) {
21703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21705 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21722 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
= 0;
21724 wxDC
*arg1
= (wxDC
*) 0 ;
21725 wxString
*arg2
= 0 ;
21729 bool temp2
= false ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 char * kwnames
[] = {
21733 (char *) "self",(char *) "text", NULL
21736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21738 if (!SWIG_IsOK(res1
)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21743 arg2
= wxString_in_helper(obj1
);
21744 if (arg2
== NULL
) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= wxArrayInt2PyList_helper(result
);
21770 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21771 PyObject
*resultobj
= 0;
21772 wxDC
*arg1
= (wxDC
*) 0 ;
21776 PyObject
*swig_obj
[1] ;
21778 if (!args
) SWIG_fail
;
21779 swig_obj
[0] = args
;
21780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21781 if (!SWIG_IsOK(res1
)) {
21782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (arg1
)->GetSize();
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21798 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21799 PyObject
*resultobj
= 0;
21800 wxDC
*arg1
= (wxDC
*) 0 ;
21801 int *arg2
= (int *) 0 ;
21802 int *arg3
= (int *) 0 ;
21806 int res2
= SWIG_TMPOBJ
;
21808 int res3
= SWIG_TMPOBJ
;
21809 PyObject
*swig_obj
[1] ;
21813 if (!args
) SWIG_fail
;
21814 swig_obj
[0] = args
;
21815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21816 if (!SWIG_IsOK(res1
)) {
21817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 (arg1
)->GetSize(arg2
,arg3
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_Py_Void();
21827 if (SWIG_IsTmpObj(res2
)) {
21828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21830 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21833 if (SWIG_IsTmpObj(res3
)) {
21834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21836 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21845 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21846 PyObject
*resultobj
= 0;
21847 wxDC
*arg1
= (wxDC
*) 0 ;
21851 PyObject
*swig_obj
[1] ;
21853 if (!args
) SWIG_fail
;
21854 swig_obj
[0] = args
;
21855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21856 if (!SWIG_IsOK(res1
)) {
21857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21873 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21874 PyObject
*resultobj
= 0;
21875 wxDC
*arg1
= (wxDC
*) 0 ;
21876 int *arg2
= (int *) 0 ;
21877 int *arg3
= (int *) 0 ;
21881 int res2
= SWIG_TMPOBJ
;
21883 int res3
= SWIG_TMPOBJ
;
21884 PyObject
*swig_obj
[1] ;
21888 if (!args
) SWIG_fail
;
21889 swig_obj
[0] = args
;
21890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21891 if (!SWIG_IsOK(res1
)) {
21892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 resultobj
= SWIG_Py_Void();
21902 if (SWIG_IsTmpObj(res2
)) {
21903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21905 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21908 if (SWIG_IsTmpObj(res3
)) {
21909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21911 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21920 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
= 0;
21922 wxDC
*arg1
= (wxDC
*) 0 ;
21929 PyObject
* obj0
= 0 ;
21930 PyObject
* obj1
= 0 ;
21931 char * kwnames
[] = {
21932 (char *) "self",(char *) "x", NULL
21935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21937 if (!SWIG_IsOK(res1
)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21942 if (!SWIG_IsOK(ecode2
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21945 arg2
= static_cast< int >(val2
);
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= SWIG_From_int(static_cast< int >(result
));
21959 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
= 0;
21961 wxDC
*arg1
= (wxDC
*) 0 ;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 char * kwnames
[] = {
21971 (char *) "self",(char *) "y", NULL
21974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21976 if (!SWIG_IsOK(res1
)) {
21977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21981 if (!SWIG_IsOK(ecode2
)) {
21982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21984 arg2
= static_cast< int >(val2
);
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_From_int(static_cast< int >(result
));
21998 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
= 0;
22000 wxDC
*arg1
= (wxDC
*) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char * kwnames
[] = {
22010 (char *) "self",(char *) "x", NULL
22013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22020 if (!SWIG_IsOK(ecode2
)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22023 arg2
= static_cast< int >(val2
);
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= SWIG_From_int(static_cast< int >(result
));
22037 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
= 0;
22039 wxDC
*arg1
= (wxDC
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 char * kwnames
[] = {
22049 (char *) "self",(char *) "y", NULL
22052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22054 if (!SWIG_IsOK(res1
)) {
22055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22059 if (!SWIG_IsOK(ecode2
)) {
22060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22062 arg2
= static_cast< int >(val2
);
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= SWIG_From_int(static_cast< int >(result
));
22076 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
= 0;
22078 wxDC
*arg1
= (wxDC
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char * kwnames
[] = {
22088 (char *) "self",(char *) "x", NULL
22091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22093 if (!SWIG_IsOK(res1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22098 if (!SWIG_IsOK(ecode2
)) {
22099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22101 arg2
= static_cast< int >(val2
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_From_int(static_cast< int >(result
));
22115 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= 0;
22117 wxDC
*arg1
= (wxDC
*) 0 ;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 char * kwnames
[] = {
22127 (char *) "self",(char *) "y", NULL
22130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22132 if (!SWIG_IsOK(res1
)) {
22133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22137 if (!SWIG_IsOK(ecode2
)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22140 arg2
= static_cast< int >(val2
);
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= SWIG_From_int(static_cast< int >(result
));
22154 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
= 0;
22156 wxDC
*arg1
= (wxDC
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char * kwnames
[] = {
22166 (char *) "self",(char *) "x", NULL
22169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22171 if (!SWIG_IsOK(res1
)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22176 if (!SWIG_IsOK(ecode2
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22179 arg2
= static_cast< int >(val2
);
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= SWIG_From_int(static_cast< int >(result
));
22193 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
= 0;
22195 wxDC
*arg1
= (wxDC
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 char * kwnames
[] = {
22205 (char *) "self",(char *) "y", NULL
22208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22215 if (!SWIG_IsOK(ecode2
)) {
22216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22218 arg2
= static_cast< int >(val2
);
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_From_int(static_cast< int >(result
));
22232 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22233 PyObject
*resultobj
= 0;
22234 wxDC
*arg1
= (wxDC
*) 0 ;
22238 PyObject
*swig_obj
[1] ;
22240 if (!args
) SWIG_fail
;
22241 swig_obj
[0] = args
;
22242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22243 if (!SWIG_IsOK(res1
)) {
22244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22262 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22263 PyObject
*resultobj
= 0;
22264 wxDC
*arg1
= (wxDC
*) 0 ;
22268 PyObject
*swig_obj
[1] ;
22270 if (!args
) SWIG_fail
;
22271 swig_obj
[0] = args
;
22272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22273 if (!SWIG_IsOK(res1
)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22292 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22293 PyObject
*resultobj
= 0;
22294 wxDC
*arg1
= (wxDC
*) 0 ;
22298 PyObject
*swig_obj
[1] ;
22300 if (!args
) SWIG_fail
;
22301 swig_obj
[0] = args
;
22302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22303 if (!SWIG_IsOK(res1
)) {
22304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= SWIG_From_int(static_cast< int >(result
));
22320 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22321 PyObject
*resultobj
= 0;
22322 wxDC
*arg1
= (wxDC
*) 0 ;
22326 PyObject
*swig_obj
[1] ;
22328 if (!args
) SWIG_fail
;
22329 swig_obj
[0] = args
;
22330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22331 if (!SWIG_IsOK(res1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= ((wxDC
const *)arg1
)->GetPPI();
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22348 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22349 PyObject
*resultobj
= 0;
22350 wxDC
*arg1
= (wxDC
*) 0 ;
22354 PyObject
*swig_obj
[1] ;
22356 if (!args
) SWIG_fail
;
22357 swig_obj
[0] = args
;
22358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22359 if (!SWIG_IsOK(res1
)) {
22360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22378 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22379 PyObject
*resultobj
= 0;
22380 wxDC
*arg1
= (wxDC
*) 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_From_int(static_cast< int >(result
));
22406 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22408 wxDC
*arg1
= (wxDC
*) 0 ;
22409 wxBrush
*result
= 0 ;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22425 result
= (wxBrush
*) &_result_ref
;
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22431 wxBrush
* resultptr
= new wxBrush(*result
);
22432 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22440 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22441 PyObject
*resultobj
= 0;
22442 wxDC
*arg1
= (wxDC
*) 0 ;
22443 wxBrush
*result
= 0 ;
22446 PyObject
*swig_obj
[1] ;
22448 if (!args
) SWIG_fail
;
22449 swig_obj
[0] = args
;
22450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22451 if (!SWIG_IsOK(res1
)) {
22452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22459 result
= (wxBrush
*) &_result_ref
;
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22465 wxBrush
* resultptr
= new wxBrush(*result
);
22466 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22474 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 PyObject
*resultobj
= 0;
22476 wxDC
*arg1
= (wxDC
*) 0 ;
22477 wxFont
*result
= 0 ;
22480 PyObject
*swig_obj
[1] ;
22482 if (!args
) SWIG_fail
;
22483 swig_obj
[0] = args
;
22484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22485 if (!SWIG_IsOK(res1
)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22493 result
= (wxFont
*) &_result_ref
;
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22499 wxFont
* resultptr
= new wxFont(*result
);
22500 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22508 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22509 PyObject
*resultobj
= 0;
22510 wxDC
*arg1
= (wxDC
*) 0 ;
22511 wxPen
*result
= 0 ;
22514 PyObject
*swig_obj
[1] ;
22516 if (!args
) SWIG_fail
;
22517 swig_obj
[0] = args
;
22518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22519 if (!SWIG_IsOK(res1
)) {
22520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22527 result
= (wxPen
*) &_result_ref
;
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22533 wxPen
* resultptr
= new wxPen(*result
);
22534 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22542 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22543 PyObject
*resultobj
= 0;
22544 wxDC
*arg1
= (wxDC
*) 0 ;
22545 wxColour
*result
= 0 ;
22548 PyObject
*swig_obj
[1] ;
22550 if (!args
) SWIG_fail
;
22551 swig_obj
[0] = args
;
22552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22553 if (!SWIG_IsOK(res1
)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22561 result
= (wxColour
*) &_result_ref
;
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22573 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22574 PyObject
*resultobj
= 0;
22575 wxDC
*arg1
= (wxDC
*) 0 ;
22576 wxColour
*result
= 0 ;
22579 PyObject
*swig_obj
[1] ;
22581 if (!args
) SWIG_fail
;
22582 swig_obj
[0] = args
;
22583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22584 if (!SWIG_IsOK(res1
)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22587 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22592 result
= (wxColour
*) &_result_ref
;
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22604 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
= 0;
22606 wxDC
*arg1
= (wxDC
*) 0 ;
22607 wxColour
*arg2
= 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char * kwnames
[] = {
22614 (char *) "self",(char *) "colour", NULL
22617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22619 if (!SWIG_IsOK(res1
)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22625 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= SWIG_Py_Void();
22640 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
= 0;
22642 wxDC
*arg1
= (wxDC
*) 0 ;
22643 wxColour
*arg2
= 0 ;
22647 PyObject
* obj0
= 0 ;
22648 PyObject
* obj1
= 0 ;
22649 char * kwnames
[] = {
22650 (char *) "self",(char *) "colour", NULL
22653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22655 if (!SWIG_IsOK(res1
)) {
22656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22665 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= SWIG_Py_Void();
22676 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22677 PyObject
*resultobj
= 0;
22678 wxDC
*arg1
= (wxDC
*) 0 ;
22682 PyObject
*swig_obj
[1] ;
22684 if (!args
) SWIG_fail
;
22685 swig_obj
[0] = args
;
22686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22687 if (!SWIG_IsOK(res1
)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= SWIG_From_int(static_cast< int >(result
));
22704 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
= 0;
22706 wxDC
*arg1
= (wxDC
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 char * kwnames
[] = {
22715 (char *) "self",(char *) "mode", NULL
22718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22720 if (!SWIG_IsOK(res1
)) {
22721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22725 if (!SWIG_IsOK(ecode2
)) {
22726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22728 arg2
= static_cast< int >(val2
);
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 (arg1
)->SetMapMode(arg2
);
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_Py_Void();
22742 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22743 PyObject
*resultobj
= 0;
22744 wxDC
*arg1
= (wxDC
*) 0 ;
22745 double *arg2
= (double *) 0 ;
22746 double *arg3
= (double *) 0 ;
22750 int res2
= SWIG_TMPOBJ
;
22752 int res3
= SWIG_TMPOBJ
;
22753 PyObject
*swig_obj
[1] ;
22757 if (!args
) SWIG_fail
;
22758 swig_obj
[0] = args
;
22759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22760 if (!SWIG_IsOK(res1
)) {
22761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 resultobj
= SWIG_Py_Void();
22771 if (SWIG_IsTmpObj(res2
)) {
22772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22774 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22777 if (SWIG_IsTmpObj(res3
)) {
22778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22780 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22789 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
= 0;
22791 wxDC
*arg1
= (wxDC
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 PyObject
* obj2
= 0 ;
22803 char * kwnames
[] = {
22804 (char *) "self",(char *) "x",(char *) "y", NULL
22807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22809 if (!SWIG_IsOK(res1
)) {
22810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22813 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22814 if (!SWIG_IsOK(ecode2
)) {
22815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22817 arg2
= static_cast< double >(val2
);
22818 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22819 if (!SWIG_IsOK(ecode3
)) {
22820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22822 arg3
= static_cast< double >(val3
);
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 (arg1
)->SetUserScale(arg2
,arg3
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= SWIG_Py_Void();
22836 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 PyObject
*resultobj
= 0;
22838 wxDC
*arg1
= (wxDC
*) 0 ;
22839 double *arg2
= (double *) 0 ;
22840 double *arg3
= (double *) 0 ;
22844 int res2
= SWIG_TMPOBJ
;
22846 int res3
= SWIG_TMPOBJ
;
22847 PyObject
*swig_obj
[1] ;
22851 if (!args
) SWIG_fail
;
22852 swig_obj
[0] = args
;
22853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22854 if (!SWIG_IsOK(res1
)) {
22855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 (arg1
)->GetLogicalScale(arg2
,arg3
);
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= SWIG_Py_Void();
22865 if (SWIG_IsTmpObj(res2
)) {
22866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22868 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22871 if (SWIG_IsTmpObj(res3
)) {
22872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22883 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
= 0;
22885 wxDC
*arg1
= (wxDC
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 PyObject
* obj2
= 0 ;
22897 char * kwnames
[] = {
22898 (char *) "self",(char *) "x",(char *) "y", NULL
22901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22907 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22908 if (!SWIG_IsOK(ecode2
)) {
22909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22911 arg2
= static_cast< double >(val2
);
22912 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22913 if (!SWIG_IsOK(ecode3
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22916 arg3
= static_cast< double >(val3
);
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 (arg1
)->SetLogicalScale(arg2
,arg3
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= SWIG_Py_Void();
22930 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22931 PyObject
*resultobj
= 0;
22932 wxDC
*arg1
= (wxDC
*) 0 ;
22936 PyObject
*swig_obj
[1] ;
22938 if (!args
) SWIG_fail
;
22939 swig_obj
[0] = args
;
22940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22958 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 PyObject
*resultobj
= 0;
22960 wxDC
*arg1
= (wxDC
*) 0 ;
22961 int *arg2
= (int *) 0 ;
22962 int *arg3
= (int *) 0 ;
22966 int res2
= SWIG_TMPOBJ
;
22968 int res3
= SWIG_TMPOBJ
;
22969 PyObject
*swig_obj
[1] ;
22973 if (!args
) SWIG_fail
;
22974 swig_obj
[0] = args
;
22975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22976 if (!SWIG_IsOK(res1
)) {
22977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= SWIG_Py_Void();
22987 if (SWIG_IsTmpObj(res2
)) {
22988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22990 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22993 if (SWIG_IsTmpObj(res3
)) {
22994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22996 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23005 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
= 0;
23007 wxDC
*arg1
= (wxDC
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 PyObject
* obj2
= 0 ;
23019 char * kwnames
[] = {
23020 (char *) "self",(char *) "x",(char *) "y", NULL
23023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23025 if (!SWIG_IsOK(res1
)) {
23026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23030 if (!SWIG_IsOK(ecode2
)) {
23031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23033 arg2
= static_cast< int >(val2
);
23034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23035 if (!SWIG_IsOK(ecode3
)) {
23036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23038 arg3
= static_cast< int >(val3
);
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_Py_Void();
23052 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
= 0;
23054 wxDC
*arg1
= (wxDC
*) 0 ;
23055 wxPoint
*arg2
= 0 ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 char * kwnames
[] = {
23062 (char *) "self",(char *) "point", NULL
23065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_Py_Void();
23088 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 PyObject
*resultobj
= 0;
23090 wxDC
*arg1
= (wxDC
*) 0 ;
23094 PyObject
*swig_obj
[1] ;
23096 if (!args
) SWIG_fail
;
23097 swig_obj
[0] = args
;
23098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23099 if (!SWIG_IsOK(res1
)) {
23100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23116 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23117 PyObject
*resultobj
= 0;
23118 wxDC
*arg1
= (wxDC
*) 0 ;
23119 int *arg2
= (int *) 0 ;
23120 int *arg3
= (int *) 0 ;
23124 int res2
= SWIG_TMPOBJ
;
23126 int res3
= SWIG_TMPOBJ
;
23127 PyObject
*swig_obj
[1] ;
23131 if (!args
) SWIG_fail
;
23132 swig_obj
[0] = args
;
23133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 resultobj
= SWIG_Py_Void();
23145 if (SWIG_IsTmpObj(res2
)) {
23146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23148 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23151 if (SWIG_IsTmpObj(res3
)) {
23152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23154 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23163 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
= 0;
23165 wxDC
*arg1
= (wxDC
*) 0 ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 PyObject
* obj2
= 0 ;
23177 char * kwnames
[] = {
23178 (char *) "self",(char *) "x",(char *) "y", NULL
23181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23188 if (!SWIG_IsOK(ecode2
)) {
23189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23191 arg2
= static_cast< int >(val2
);
23192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23193 if (!SWIG_IsOK(ecode3
)) {
23194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23196 arg3
= static_cast< int >(val3
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_Py_Void();
23210 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
= 0;
23212 wxDC
*arg1
= (wxDC
*) 0 ;
23213 wxPoint
*arg2
= 0 ;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 char * kwnames
[] = {
23220 (char *) "self",(char *) "point", NULL
23223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23225 if (!SWIG_IsOK(res1
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23231 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_Py_Void();
23246 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
= 0;
23248 wxDC
*arg1
= (wxDC
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 PyObject
* obj1
= 0 ;
23259 PyObject
* obj2
= 0 ;
23260 char * kwnames
[] = {
23261 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23266 if (!SWIG_IsOK(res1
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23270 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23271 if (!SWIG_IsOK(ecode2
)) {
23272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23274 arg2
= static_cast< bool >(val2
);
23275 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23276 if (!SWIG_IsOK(ecode3
)) {
23277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23279 arg3
= static_cast< bool >(val3
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= SWIG_Py_Void();
23293 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23294 PyObject
*resultobj
= 0;
23295 wxDC
*arg1
= (wxDC
*) 0 ;
23299 PyObject
*swig_obj
[1] ;
23301 if (!args
) SWIG_fail
;
23302 swig_obj
[0] = args
;
23303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_From_int(static_cast< int >(result
));
23321 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
= 0;
23323 wxDC
*arg1
= (wxDC
*) 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char * kwnames
[] = {
23332 (char *) "self",(char *) "function", NULL
23335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23342 if (!SWIG_IsOK(ecode2
)) {
23343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23345 arg2
= static_cast< int >(val2
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 (arg1
)->SetLogicalFunction(arg2
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_Py_Void();
23359 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23360 PyObject
*resultobj
= 0;
23361 wxDC
*arg1
= (wxDC
*) 0 ;
23364 PyObject
*swig_obj
[1] ;
23366 if (!args
) SWIG_fail
;
23367 swig_obj
[0] = args
;
23368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23369 if (!SWIG_IsOK(res1
)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 (arg1
)->ComputeScaleAndOrigin();
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= SWIG_Py_Void();
23386 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
= 0;
23388 wxDC
*arg1
= (wxDC
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 PyObject
* obj2
= 0 ;
23400 char * kwnames
[] = {
23401 (char *) "self",(char *) "x",(char *) "y", NULL
23404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23406 if (!SWIG_IsOK(res1
)) {
23407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23411 if (!SWIG_IsOK(ecode2
)) {
23412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23414 arg2
= static_cast< int >(val2
);
23415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23416 if (!SWIG_IsOK(ecode3
)) {
23417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23419 arg3
= static_cast< int >(val3
);
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_Py_Void();
23433 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
= 0;
23435 wxDC
*arg1
= (wxDC
*) 0 ;
23436 wxPoint
*arg2
= 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 char * kwnames
[] = {
23443 (char *) "self",(char *) "point", NULL
23446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23448 if (!SWIG_IsOK(res1
)) {
23449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23454 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= SWIG_Py_Void();
23469 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23470 PyObject
*resultobj
= 0;
23471 wxDC
*arg1
= (wxDC
*) 0 ;
23474 PyObject
*swig_obj
[1] ;
23476 if (!args
) SWIG_fail
;
23477 swig_obj
[0] = args
;
23478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23479 if (!SWIG_IsOK(res1
)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 (arg1
)->ResetBoundingBox();
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_Py_Void();
23496 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23497 PyObject
*resultobj
= 0;
23498 wxDC
*arg1
= (wxDC
*) 0 ;
23502 PyObject
*swig_obj
[1] ;
23504 if (!args
) SWIG_fail
;
23505 swig_obj
[0] = args
;
23506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23507 if (!SWIG_IsOK(res1
)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (int)((wxDC
const *)arg1
)->MinX();
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= SWIG_From_int(static_cast< int >(result
));
23524 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23525 PyObject
*resultobj
= 0;
23526 wxDC
*arg1
= (wxDC
*) 0 ;
23530 PyObject
*swig_obj
[1] ;
23532 if (!args
) SWIG_fail
;
23533 swig_obj
[0] = args
;
23534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23535 if (!SWIG_IsOK(res1
)) {
23536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 result
= (int)((wxDC
const *)arg1
)->MaxX();
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= SWIG_From_int(static_cast< int >(result
));
23552 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23553 PyObject
*resultobj
= 0;
23554 wxDC
*arg1
= (wxDC
*) 0 ;
23558 PyObject
*swig_obj
[1] ;
23560 if (!args
) SWIG_fail
;
23561 swig_obj
[0] = args
;
23562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23563 if (!SWIG_IsOK(res1
)) {
23564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (int)((wxDC
const *)arg1
)->MinY();
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= SWIG_From_int(static_cast< int >(result
));
23580 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23581 PyObject
*resultobj
= 0;
23582 wxDC
*arg1
= (wxDC
*) 0 ;
23586 PyObject
*swig_obj
[1] ;
23588 if (!args
) SWIG_fail
;
23589 swig_obj
[0] = args
;
23590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (int)((wxDC
const *)arg1
)->MaxY();
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_From_int(static_cast< int >(result
));
23608 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23609 PyObject
*resultobj
= 0;
23610 wxDC
*arg1
= (wxDC
*) 0 ;
23611 int *arg2
= (int *) 0 ;
23612 int *arg3
= (int *) 0 ;
23613 int *arg4
= (int *) 0 ;
23614 int *arg5
= (int *) 0 ;
23618 int res2
= SWIG_TMPOBJ
;
23620 int res3
= SWIG_TMPOBJ
;
23622 int res4
= SWIG_TMPOBJ
;
23624 int res5
= SWIG_TMPOBJ
;
23625 PyObject
*swig_obj
[1] ;
23631 if (!args
) SWIG_fail
;
23632 swig_obj
[0] = args
;
23633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23634 if (!SWIG_IsOK(res1
)) {
23635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= SWIG_Py_Void();
23645 if (SWIG_IsTmpObj(res2
)) {
23646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23648 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23651 if (SWIG_IsTmpObj(res3
)) {
23652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23654 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23657 if (SWIG_IsTmpObj(res4
)) {
23658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23660 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23663 if (SWIG_IsTmpObj(res5
)) {
23664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23666 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23675 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23676 PyObject
*resultobj
= 0;
23677 wxDC
*arg1
= (wxDC
*) 0 ;
23678 wxLayoutDirection result
;
23681 PyObject
*swig_obj
[1] ;
23683 if (!args
) SWIG_fail
;
23684 swig_obj
[0] = args
;
23685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23686 if (!SWIG_IsOK(res1
)) {
23687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= SWIG_From_int(static_cast< int >(result
));
23703 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
= 0;
23705 wxDC
*arg1
= (wxDC
*) 0 ;
23706 wxLayoutDirection arg2
;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 char * kwnames
[] = {
23714 (char *) "self",(char *) "dir", NULL
23717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23719 if (!SWIG_IsOK(res1
)) {
23720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23724 if (!SWIG_IsOK(ecode2
)) {
23725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23727 arg2
= static_cast< wxLayoutDirection
>(val2
);
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 (arg1
)->SetLayoutDirection(arg2
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= SWIG_Py_Void();
23741 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
= 0;
23743 wxDC
*arg1
= (wxDC
*) 0 ;
23744 PyObject
*arg2
= (PyObject
*) 0 ;
23745 PyObject
*arg3
= (PyObject
*) 0 ;
23746 PyObject
*arg4
= (PyObject
*) 0 ;
23747 PyObject
*result
= 0 ;
23750 PyObject
* obj0
= 0 ;
23751 PyObject
* obj1
= 0 ;
23752 PyObject
* obj2
= 0 ;
23753 PyObject
* obj3
= 0 ;
23754 char * kwnames
[] = {
23755 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23760 if (!SWIG_IsOK(res1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= result
;
23780 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
= 0;
23782 wxDC
*arg1
= (wxDC
*) 0 ;
23783 PyObject
*arg2
= (PyObject
*) 0 ;
23784 PyObject
*arg3
= (PyObject
*) 0 ;
23785 PyObject
*arg4
= (PyObject
*) 0 ;
23786 PyObject
*result
= 0 ;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 PyObject
* obj2
= 0 ;
23792 PyObject
* obj3
= 0 ;
23793 char * kwnames
[] = {
23794 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23799 if (!SWIG_IsOK(res1
)) {
23800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= result
;
23819 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
= 0;
23821 wxDC
*arg1
= (wxDC
*) 0 ;
23822 PyObject
*arg2
= (PyObject
*) 0 ;
23823 PyObject
*arg3
= (PyObject
*) 0 ;
23824 PyObject
*arg4
= (PyObject
*) 0 ;
23825 PyObject
*result
= 0 ;
23828 PyObject
* obj0
= 0 ;
23829 PyObject
* obj1
= 0 ;
23830 PyObject
* obj2
= 0 ;
23831 PyObject
* obj3
= 0 ;
23832 char * kwnames
[] = {
23833 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23838 if (!SWIG_IsOK(res1
)) {
23839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= result
;
23858 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
= 0;
23860 wxDC
*arg1
= (wxDC
*) 0 ;
23861 PyObject
*arg2
= (PyObject
*) 0 ;
23862 PyObject
*arg3
= (PyObject
*) 0 ;
23863 PyObject
*arg4
= (PyObject
*) 0 ;
23864 PyObject
*result
= 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 PyObject
* obj2
= 0 ;
23870 PyObject
* obj3
= 0 ;
23871 char * kwnames
[] = {
23872 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23877 if (!SWIG_IsOK(res1
)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= result
;
23897 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
= 0;
23899 wxDC
*arg1
= (wxDC
*) 0 ;
23900 PyObject
*arg2
= (PyObject
*) 0 ;
23901 PyObject
*arg3
= (PyObject
*) 0 ;
23902 PyObject
*arg4
= (PyObject
*) 0 ;
23903 PyObject
*result
= 0 ;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 PyObject
* obj2
= 0 ;
23909 PyObject
* obj3
= 0 ;
23910 char * kwnames
[] = {
23911 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23916 if (!SWIG_IsOK(res1
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= result
;
23936 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
= 0;
23938 wxDC
*arg1
= (wxDC
*) 0 ;
23939 PyObject
*arg2
= (PyObject
*) 0 ;
23940 PyObject
*arg3
= (PyObject
*) 0 ;
23941 PyObject
*arg4
= (PyObject
*) 0 ;
23942 PyObject
*arg5
= (PyObject
*) 0 ;
23943 PyObject
*result
= 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 PyObject
* obj2
= 0 ;
23949 PyObject
* obj3
= 0 ;
23950 PyObject
* obj4
= 0 ;
23951 char * kwnames
[] = {
23952 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23957 if (!SWIG_IsOK(res1
)) {
23958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= result
;
23978 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23981 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23982 return SWIG_Py_Void();
23985 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
= 0;
23988 wxColour
*arg2
= 0 ;
23989 wxDCTextColourChanger
*result
= 0 ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 char * kwnames
[] = {
23996 (char *) "dc",(char *) "col", NULL
23999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24000 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24001 if (!SWIG_IsOK(res1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24025 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24026 PyObject
*resultobj
= 0;
24027 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24030 PyObject
*swig_obj
[1] ;
24032 if (!args
) SWIG_fail
;
24033 swig_obj
[0] = args
;
24034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24035 if (!SWIG_IsOK(res1
)) {
24036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24038 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= SWIG_Py_Void();
24053 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24056 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24057 return SWIG_Py_Void();
24060 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24061 return SWIG_Python_InitShadowInstance(args
);
24064 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
= 0;
24068 wxDCPenChanger
*result
= 0 ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 char * kwnames
[] = {
24076 (char *) "dc",(char *) "pen", NULL
24079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24080 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24081 if (!SWIG_IsOK(res1
)) {
24082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24088 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24089 if (!SWIG_IsOK(res2
)) {
24090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24095 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24109 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24110 PyObject
*resultobj
= 0;
24111 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24114 PyObject
*swig_obj
[1] ;
24116 if (!args
) SWIG_fail
;
24117 swig_obj
[0] = args
;
24118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24119 if (!SWIG_IsOK(res1
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24122 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= SWIG_Py_Void();
24137 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24140 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24141 return SWIG_Py_Void();
24144 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24145 return SWIG_Python_InitShadowInstance(args
);
24148 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
= 0;
24151 wxBrush
*arg2
= 0 ;
24152 wxDCBrushChanger
*result
= 0 ;
24157 PyObject
* obj0
= 0 ;
24158 PyObject
* obj1
= 0 ;
24159 char * kwnames
[] = {
24160 (char *) "dc",(char *) "brush", NULL
24163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24164 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24165 if (!SWIG_IsOK(res1
)) {
24166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24173 if (!SWIG_IsOK(res2
)) {
24174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24179 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24193 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24198 PyObject
*swig_obj
[1] ;
24200 if (!args
) SWIG_fail
;
24201 swig_obj
[0] = args
;
24202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24206 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_Py_Void();
24221 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24224 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24225 return SWIG_Py_Void();
24228 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24229 return SWIG_Python_InitShadowInstance(args
);
24232 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24233 PyObject
*resultobj
= 0;
24235 wxRegion
*arg2
= 0 ;
24236 wxDCClipper
*result
= 0 ;
24242 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24250 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24251 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24252 if (!SWIG_IsOK(res2
)) {
24253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24258 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24272 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24273 PyObject
*resultobj
= 0;
24276 wxDCClipper
*result
= 0 ;
24281 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24283 if (!SWIG_IsOK(res1
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24292 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24307 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24308 PyObject
*resultobj
= 0;
24314 wxDCClipper
*result
= 0 ;
24326 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24335 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24336 if (!SWIG_IsOK(ecode2
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24339 arg2
= static_cast< int >(val2
);
24340 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24341 if (!SWIG_IsOK(ecode3
)) {
24342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24344 arg3
= static_cast< int >(val3
);
24345 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24346 if (!SWIG_IsOK(ecode4
)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24349 arg4
= static_cast< int >(val4
);
24350 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24351 if (!SWIG_IsOK(ecode5
)) {
24352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24354 arg5
= static_cast< int >(val5
);
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24368 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24372 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24377 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24378 _v
= SWIG_CheckState(res
);
24380 if (!_v
) goto check_1
;
24381 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24386 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24389 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24393 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24398 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24399 PyObject
*resultobj
= 0;
24400 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24403 PyObject
*swig_obj
[1] ;
24405 if (!args
) SWIG_fail
;
24406 swig_obj
[0] = args
;
24407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24411 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_Py_Void();
24426 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24429 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24430 return SWIG_Py_Void();
24433 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24434 return SWIG_Python_InitShadowInstance(args
);
24437 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24438 PyObject
*resultobj
= 0;
24439 wxScreenDC
*result
= 0 ;
24441 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24443 if (!wxPyCheckForApp()) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (wxScreenDC
*)new wxScreenDC();
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24456 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
= 0;
24458 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24459 wxWindow
*arg2
= (wxWindow
*) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 PyObject
* obj1
= 0 ;
24467 char * kwnames
[] = {
24468 (char *) "self",(char *) "window", NULL
24471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24473 if (!SWIG_IsOK(res1
)) {
24474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24476 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24478 if (!SWIG_IsOK(res2
)) {
24479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24481 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24497 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
= 0;
24499 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24500 wxRect
*arg2
= (wxRect
*) NULL
;
24506 PyObject
* obj0
= 0 ;
24507 PyObject
* obj1
= 0 ;
24508 char * kwnames
[] = {
24509 (char *) "self",(char *) "rect", NULL
24512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24514 if (!SWIG_IsOK(res1
)) {
24515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24517 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24520 if (!SWIG_IsOK(res2
)) {
24521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24523 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24540 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24541 PyObject
*resultobj
= 0;
24542 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24546 PyObject
*swig_obj
[1] ;
24548 if (!args
) SWIG_fail
;
24549 swig_obj
[0] = args
;
24550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24554 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (bool)(arg1
)->EndDrawingOnTop();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24570 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24573 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24574 return SWIG_Py_Void();
24577 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24578 return SWIG_Python_InitShadowInstance(args
);
24581 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
= 0;
24583 wxWindow
*arg1
= (wxWindow
*) 0 ;
24584 wxWindowDC
*result
= 0 ;
24587 PyObject
* obj0
= 0 ;
24588 char * kwnames
[] = {
24589 (char *) "win", NULL
24592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24594 if (!SWIG_IsOK(res1
)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24599 if (!wxPyCheckForApp()) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24612 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24615 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24616 return SWIG_Py_Void();
24619 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24620 return SWIG_Python_InitShadowInstance(args
);
24623 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
= 0;
24625 wxWindow
*arg1
= (wxWindow
*) 0 ;
24626 wxClientDC
*result
= 0 ;
24629 PyObject
* obj0
= 0 ;
24630 char * kwnames
[] = {
24631 (char *) "win", NULL
24634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24636 if (!SWIG_IsOK(res1
)) {
24637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24639 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24641 if (!wxPyCheckForApp()) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (wxClientDC
*)new wxClientDC(arg1
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24654 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24657 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24658 return SWIG_Py_Void();
24661 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24662 return SWIG_Python_InitShadowInstance(args
);
24665 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
= 0;
24667 wxWindow
*arg1
= (wxWindow
*) 0 ;
24668 wxPaintDC
*result
= 0 ;
24671 PyObject
* obj0
= 0 ;
24672 char * kwnames
[] = {
24673 (char *) "win", NULL
24676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24678 if (!SWIG_IsOK(res1
)) {
24679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24681 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24683 if (!wxPyCheckForApp()) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24696 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24699 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24700 return SWIG_Py_Void();
24703 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24704 return SWIG_Python_InitShadowInstance(args
);
24707 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
= 0;
24709 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24710 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24711 wxMemoryDC
*result
= 0 ;
24714 PyObject
* obj0
= 0 ;
24715 char * kwnames
[] = {
24716 (char *) "bitmap", NULL
24719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24721 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24722 if (!SWIG_IsOK(res1
)) {
24723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24728 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24731 if (!wxPyCheckForApp()) SWIG_fail
;
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24744 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
= 0;
24746 wxDC
*arg1
= (wxDC
*) 0 ;
24747 wxMemoryDC
*result
= 0 ;
24750 PyObject
* obj0
= 0 ;
24751 char * kwnames
[] = {
24752 (char *) "oldDC", NULL
24755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24757 if (!SWIG_IsOK(res1
)) {
24758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24762 if (!wxPyCheckForApp()) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24775 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
= 0;
24777 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24778 wxBitmap
*arg2
= 0 ;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 char * kwnames
[] = {
24786 (char *) "self",(char *) "bitmap", NULL
24789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24791 if (!SWIG_IsOK(res1
)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24794 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24796 if (!SWIG_IsOK(res2
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24802 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->SelectObject(*arg2
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_Py_Void();
24816 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
= 0;
24818 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24819 wxBitmap
*arg2
= 0 ;
24824 PyObject
* obj0
= 0 ;
24825 PyObject
* obj1
= 0 ;
24826 char * kwnames
[] = {
24827 (char *) "self",(char *) "bmp", NULL
24830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24832 if (!SWIG_IsOK(res1
)) {
24833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24835 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24837 if (!SWIG_IsOK(res2
)) {
24838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24843 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= SWIG_Py_Void();
24857 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24860 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24861 return SWIG_Py_Void();
24864 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24865 return SWIG_Python_InitShadowInstance(args
);
24868 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24869 PyObject
*resultobj
= 0;
24870 wxDC
*arg1
= (wxDC
*) 0 ;
24871 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24872 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24873 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24874 wxBufferedDC
*result
= 0 ;
24882 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24884 if (!SWIG_IsOK(res1
)) {
24885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24889 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24890 if (!SWIG_IsOK(res2
)) {
24891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24896 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24899 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24900 if (!SWIG_IsOK(ecode3
)) {
24901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24903 arg3
= static_cast< int >(val3
);
24906 if (!wxPyCheckForApp()) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24919 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24920 PyObject
*resultobj
= 0;
24921 wxDC
*arg1
= (wxDC
*) 0 ;
24923 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24924 wxBufferedDC
*result
= 0 ;
24931 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24933 if (!SWIG_IsOK(res1
)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24939 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24942 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24943 if (!SWIG_IsOK(ecode3
)) {
24944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24946 arg3
= static_cast< int >(val3
);
24949 if (!wxPyCheckForApp()) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24962 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24966 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24968 if ((argc
>= 1) && (argc
<= 3)) {
24973 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24974 _v
= SWIG_CheckState(res
);
24976 if (!_v
) goto check_1
;
24978 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24982 if ((argc
>= 2) && (argc
<= 3)) {
24983 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24987 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24992 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24993 PyObject
*resultobj
= 0;
24994 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24997 PyObject
*swig_obj
[1] ;
24999 if (!args
) SWIG_fail
;
25000 swig_obj
[0] = args
;
25001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25005 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= SWIG_Py_Void();
25020 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25021 PyObject
*resultobj
= 0;
25022 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25025 PyObject
*swig_obj
[1] ;
25027 if (!args
) SWIG_fail
;
25028 swig_obj
[0] = args
;
25029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25030 if (!SWIG_IsOK(res1
)) {
25031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25033 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= SWIG_Py_Void();
25047 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
= 0;
25049 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 char * kwnames
[] = {
25058 (char *) "self",(char *) "style", NULL
25061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25063 if (!SWIG_IsOK(res1
)) {
25064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25066 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25068 if (!SWIG_IsOK(ecode2
)) {
25069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25071 arg2
= static_cast< int >(val2
);
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 (arg1
)->SetStyle(arg2
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_Py_Void();
25085 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25086 PyObject
*resultobj
= 0;
25087 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25091 PyObject
*swig_obj
[1] ;
25093 if (!args
) SWIG_fail
;
25094 swig_obj
[0] = args
;
25095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25099 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_From_int(static_cast< int >(result
));
25113 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25116 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25117 return SWIG_Py_Void();
25120 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25121 return SWIG_Python_InitShadowInstance(args
);
25124 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
= 0;
25126 wxWindow
*arg1
= (wxWindow
*) 0 ;
25127 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25128 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25129 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25130 wxBufferedPaintDC
*result
= 0 ;
25137 PyObject
* obj0
= 0 ;
25138 PyObject
* obj1
= 0 ;
25139 PyObject
* obj2
= 0 ;
25140 char * kwnames
[] = {
25141 (char *) "window",(char *) "buffer",(char *) "style", NULL
25144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25146 if (!SWIG_IsOK(res1
)) {
25147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25152 if (!SWIG_IsOK(res2
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25158 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25162 if (!SWIG_IsOK(ecode3
)) {
25163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25165 arg3
= static_cast< int >(val3
);
25168 if (!wxPyCheckForApp()) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25181 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25184 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25185 return SWIG_Py_Void();
25188 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25189 return SWIG_Python_InitShadowInstance(args
);
25192 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
= 0;
25194 wxWindow
*arg1
= (wxWindow
*) 0 ;
25195 wxAutoBufferedPaintDC
*result
= 0 ;
25198 PyObject
* obj0
= 0 ;
25199 char * kwnames
[] = {
25200 (char *) "win", NULL
25203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25205 if (!SWIG_IsOK(res1
)) {
25206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25208 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25222 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25225 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25226 return SWIG_Py_Void();
25229 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25230 return SWIG_Python_InitShadowInstance(args
);
25233 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 wxWindow
*arg1
= (wxWindow
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 char * kwnames
[] = {
25241 (char *) "window", NULL
25244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25246 if (!SWIG_IsOK(res1
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25257 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25265 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
= 0;
25269 wxMirrorDC
*result
= 0 ;
25274 PyObject
* obj0
= 0 ;
25275 PyObject
* obj1
= 0 ;
25276 char * kwnames
[] = {
25277 (char *) "dc",(char *) "mirror", NULL
25280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25281 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25282 if (!SWIG_IsOK(res1
)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25289 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25290 if (!SWIG_IsOK(ecode2
)) {
25291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25293 arg2
= static_cast< bool >(val2
);
25295 if (!wxPyCheckForApp()) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25308 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25311 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25312 return SWIG_Py_Void();
25315 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25316 return SWIG_Python_InitShadowInstance(args
);
25319 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
= 0;
25321 wxPrintData
*arg1
= 0 ;
25322 wxPostScriptDC
*result
= 0 ;
25325 PyObject
* obj0
= 0 ;
25326 char * kwnames
[] = {
25327 (char *) "printData", NULL
25330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25331 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25332 if (!SWIG_IsOK(res1
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25338 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25340 if (!wxPyCheckForApp()) SWIG_fail
;
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25353 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25354 PyObject
*resultobj
= 0;
25355 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25356 wxPrintData
*result
= 0 ;
25359 PyObject
*swig_obj
[1] ;
25361 if (!args
) SWIG_fail
;
25362 swig_obj
[0] = args
;
25363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25364 if (!SWIG_IsOK(res1
)) {
25365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25367 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25372 result
= (wxPrintData
*) &_result_ref
;
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25384 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
= 0;
25386 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25387 wxPrintData
*arg2
= 0 ;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 char * kwnames
[] = {
25395 (char *) "self",(char *) "data", NULL
25398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25400 if (!SWIG_IsOK(res1
)) {
25401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25403 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25405 if (!SWIG_IsOK(res2
)) {
25406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25411 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_Py_Void();
25425 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
= 0;
25430 PyObject
* obj0
= 0 ;
25431 char * kwnames
[] = {
25432 (char *) "ppi", NULL
25435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25437 if (!SWIG_IsOK(ecode1
)) {
25438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25440 arg1
= static_cast< int >(val1
);
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 wxPostScriptDC::SetResolution(arg1
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_Py_Void();
25454 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25455 PyObject
*resultobj
= 0;
25458 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 result
= (int)wxPostScriptDC::GetResolution();
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= SWIG_From_int(static_cast< int >(result
));
25472 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25475 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25476 return SWIG_Py_Void();
25479 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25480 return SWIG_Python_InitShadowInstance(args
);
25483 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
= 0;
25485 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25486 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25487 wxMetaFile
*result
= 0 ;
25488 bool temp1
= false ;
25489 PyObject
* obj0
= 0 ;
25490 char * kwnames
[] = {
25491 (char *) "filename", NULL
25494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25497 arg1
= wxString_in_helper(obj0
);
25498 if (arg1
== NULL
) SWIG_fail
;
25503 if (!wxPyCheckForApp()) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25524 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25527 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25528 return SWIG_Py_Void();
25531 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25532 return SWIG_Python_InitShadowInstance(args
);
25535 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
= 0;
25537 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25538 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25539 int arg2
= (int) 0 ;
25540 int arg3
= (int) 0 ;
25541 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25543 wxMetaFileDC
*result
= 0 ;
25544 bool temp1
= false ;
25549 bool temp4
= false ;
25550 PyObject
* obj0
= 0 ;
25551 PyObject
* obj1
= 0 ;
25552 PyObject
* obj2
= 0 ;
25553 PyObject
* obj3
= 0 ;
25554 char * kwnames
[] = {
25555 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25561 arg1
= wxString_in_helper(obj0
);
25562 if (arg1
== NULL
) SWIG_fail
;
25567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25568 if (!SWIG_IsOK(ecode2
)) {
25569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25571 arg2
= static_cast< int >(val2
);
25574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25575 if (!SWIG_IsOK(ecode3
)) {
25576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25578 arg3
= static_cast< int >(val3
);
25582 arg4
= wxString_in_helper(obj3
);
25583 if (arg4
== NULL
) SWIG_fail
;
25588 if (!wxPyCheckForApp()) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25617 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25620 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25621 return SWIG_Py_Void();
25624 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25625 return SWIG_Python_InitShadowInstance(args
);
25628 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25629 PyObject
*resultobj
= 0;
25630 wxPrintData
*arg1
= 0 ;
25631 wxPrinterDC
*result
= 0 ;
25634 PyObject
* obj0
= 0 ;
25635 char * kwnames
[] = {
25636 (char *) "printData", NULL
25639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25640 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25641 if (!SWIG_IsOK(res1
)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25647 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25649 if (!wxPyCheckForApp()) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25662 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25665 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25666 return SWIG_Py_Void();
25669 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25670 return SWIG_Python_InitShadowInstance(args
);
25673 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
= 0;
25675 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25676 wxGraphicsObject
*result
= 0 ;
25679 PyObject
* obj0
= 0 ;
25680 char * kwnames
[] = {
25681 (char *) "renderer", NULL
25684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25687 if (!SWIG_IsOK(res1
)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25690 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25693 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25703 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25704 PyObject
*resultobj
= 0;
25705 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25708 PyObject
*swig_obj
[1] ;
25710 if (!args
) SWIG_fail
;
25711 swig_obj
[0] = args
;
25712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25713 if (!SWIG_IsOK(res1
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25716 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= SWIG_Py_Void();
25729 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25730 PyObject
*resultobj
= 0;
25731 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25735 PyObject
*swig_obj
[1] ;
25737 if (!args
) SWIG_fail
;
25738 swig_obj
[0] = args
;
25739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25740 if (!SWIG_IsOK(res1
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25743 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25745 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25757 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25758 PyObject
*resultobj
= 0;
25759 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25760 wxGraphicsRenderer
*result
= 0 ;
25763 PyObject
*swig_obj
[1] ;
25765 if (!args
) SWIG_fail
;
25766 swig_obj
[0] = args
;
25767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25771 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25773 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25783 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25786 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25787 return SWIG_Py_Void();
25790 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25791 return SWIG_Python_InitShadowInstance(args
);
25794 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25795 PyObject
*resultobj
= 0;
25796 wxGraphicsPen
*result
= 0 ;
25798 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25800 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25810 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25811 PyObject
*resultobj
= 0;
25812 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25815 PyObject
*swig_obj
[1] ;
25817 if (!args
) SWIG_fail
;
25818 swig_obj
[0] = args
;
25819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25820 if (!SWIG_IsOK(res1
)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25823 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_Py_Void();
25836 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25839 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25840 return SWIG_Py_Void();
25843 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25844 return SWIG_Python_InitShadowInstance(args
);
25847 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25848 PyObject
*resultobj
= 0;
25849 wxGraphicsBrush
*result
= 0 ;
25851 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25853 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25863 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25864 PyObject
*resultobj
= 0;
25865 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25868 PyObject
*swig_obj
[1] ;
25870 if (!args
) SWIG_fail
;
25871 swig_obj
[0] = args
;
25872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25873 if (!SWIG_IsOK(res1
)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25876 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= SWIG_Py_Void();
25889 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25892 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25893 return SWIG_Py_Void();
25896 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25897 return SWIG_Python_InitShadowInstance(args
);
25900 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25901 PyObject
*resultobj
= 0;
25902 wxGraphicsFont
*result
= 0 ;
25904 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25906 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25916 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25917 PyObject
*resultobj
= 0;
25918 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25921 PyObject
*swig_obj
[1] ;
25923 if (!args
) SWIG_fail
;
25924 swig_obj
[0] = args
;
25925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25926 if (!SWIG_IsOK(res1
)) {
25927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25929 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_Py_Void();
25942 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25945 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25946 return SWIG_Py_Void();
25949 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25950 return SWIG_Python_InitShadowInstance(args
);
25953 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25954 PyObject
*resultobj
= 0;
25955 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25958 PyObject
*swig_obj
[1] ;
25960 if (!args
) SWIG_fail
;
25961 swig_obj
[0] = args
;
25962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25966 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= SWIG_Py_Void();
25979 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25980 PyObject
*resultobj
= 0;
25981 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25982 wxGraphicsMatrix
*arg2
= 0 ;
25987 PyObject
* obj0
= 0 ;
25988 PyObject
* obj1
= 0 ;
25989 char * kwnames
[] = {
25990 (char *) "self",(char *) "t", NULL
25993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25995 if (!SWIG_IsOK(res1
)) {
25996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25998 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26000 if (!SWIG_IsOK(res2
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26006 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26008 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= SWIG_Py_Void();
26018 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
= 0;
26020 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26021 wxDouble arg2
= (wxDouble
) 1.0 ;
26022 wxDouble arg3
= (wxDouble
) 0.0 ;
26023 wxDouble arg4
= (wxDouble
) 0.0 ;
26024 wxDouble arg5
= (wxDouble
) 1.0 ;
26025 wxDouble arg6
= (wxDouble
) 0.0 ;
26026 wxDouble arg7
= (wxDouble
) 0.0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 PyObject
* obj2
= 0 ;
26044 PyObject
* obj3
= 0 ;
26045 PyObject
* obj4
= 0 ;
26046 PyObject
* obj5
= 0 ;
26047 PyObject
* obj6
= 0 ;
26048 char * kwnames
[] = {
26049 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26054 if (!SWIG_IsOK(res1
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26057 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26059 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26060 if (!SWIG_IsOK(ecode2
)) {
26061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26063 arg2
= static_cast< wxDouble
>(val2
);
26066 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26067 if (!SWIG_IsOK(ecode3
)) {
26068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26070 arg3
= static_cast< wxDouble
>(val3
);
26073 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26074 if (!SWIG_IsOK(ecode4
)) {
26075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26077 arg4
= static_cast< wxDouble
>(val4
);
26080 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26081 if (!SWIG_IsOK(ecode5
)) {
26082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26084 arg5
= static_cast< wxDouble
>(val5
);
26087 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26088 if (!SWIG_IsOK(ecode6
)) {
26089 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26091 arg6
= static_cast< wxDouble
>(val6
);
26094 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26095 if (!SWIG_IsOK(ecode7
)) {
26096 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26098 arg7
= static_cast< wxDouble
>(val7
);
26101 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= SWIG_Py_Void();
26111 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26112 PyObject
*resultobj
= 0;
26113 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26114 wxDouble
*arg2
= (wxDouble
*) 0 ;
26115 wxDouble
*arg3
= (wxDouble
*) 0 ;
26116 wxDouble
*arg4
= (wxDouble
*) 0 ;
26117 wxDouble
*arg5
= (wxDouble
*) 0 ;
26118 wxDouble
*arg6
= (wxDouble
*) 0 ;
26119 wxDouble
*arg7
= (wxDouble
*) 0 ;
26123 int res2
= SWIG_TMPOBJ
;
26125 int res3
= SWIG_TMPOBJ
;
26127 int res4
= SWIG_TMPOBJ
;
26129 int res5
= SWIG_TMPOBJ
;
26131 int res6
= SWIG_TMPOBJ
;
26133 int res7
= SWIG_TMPOBJ
;
26134 PyObject
*swig_obj
[1] ;
26142 if (!args
) SWIG_fail
;
26143 swig_obj
[0] = args
;
26144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26145 if (!SWIG_IsOK(res1
)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26148 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26150 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_Py_Void();
26154 if (SWIG_IsTmpObj(res2
)) {
26155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26157 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26160 if (SWIG_IsTmpObj(res3
)) {
26161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26163 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26166 if (SWIG_IsTmpObj(res4
)) {
26167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26169 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26172 if (SWIG_IsTmpObj(res5
)) {
26173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26175 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26178 if (SWIG_IsTmpObj(res6
)) {
26179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26181 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26184 if (SWIG_IsTmpObj(res7
)) {
26185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26187 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26196 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26197 PyObject
*resultobj
= 0;
26198 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26201 PyObject
*swig_obj
[1] ;
26203 if (!args
) SWIG_fail
;
26204 swig_obj
[0] = args
;
26205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26209 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_Py_Void();
26221 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= 0;
26223 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26224 wxGraphicsMatrix
*arg2
= 0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 char * kwnames
[] = {
26233 (char *) "self",(char *) "t", NULL
26236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26238 if (!SWIG_IsOK(res1
)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26241 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26243 if (!SWIG_IsOK(res2
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26249 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26251 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26263 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26264 PyObject
*resultobj
= 0;
26265 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26269 PyObject
*swig_obj
[1] ;
26271 if (!args
) SWIG_fail
;
26272 swig_obj
[0] = args
;
26273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26274 if (!SWIG_IsOK(res1
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26277 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26279 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26280 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26291 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
= 0;
26293 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 PyObject
* obj2
= 0 ;
26305 char * kwnames
[] = {
26306 (char *) "self",(char *) "dx",(char *) "dy", NULL
26309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26311 if (!SWIG_IsOK(res1
)) {
26312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26314 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26315 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26316 if (!SWIG_IsOK(ecode2
)) {
26317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26319 arg2
= static_cast< wxDouble
>(val2
);
26320 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26321 if (!SWIG_IsOK(ecode3
)) {
26322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26324 arg3
= static_cast< wxDouble
>(val3
);
26326 (arg1
)->Translate(arg2
,arg3
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_Py_Void();
26336 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 PyObject
* obj2
= 0 ;
26350 char * kwnames
[] = {
26351 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26359 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26360 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26361 if (!SWIG_IsOK(ecode2
)) {
26362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26364 arg2
= static_cast< wxDouble
>(val2
);
26365 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26366 if (!SWIG_IsOK(ecode3
)) {
26367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26369 arg3
= static_cast< wxDouble
>(val3
);
26371 (arg1
)->Scale(arg2
,arg3
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_Py_Void();
26381 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
= 0;
26383 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 char * kwnames
[] = {
26392 (char *) "self",(char *) "angle", NULL
26395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26397 if (!SWIG_IsOK(res1
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26400 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26401 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26402 if (!SWIG_IsOK(ecode2
)) {
26403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26405 arg2
= static_cast< wxDouble
>(val2
);
26407 (arg1
)->Rotate(arg2
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_Py_Void();
26417 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
= 0;
26419 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26420 wxDouble
*arg2
= (wxDouble
*) 0 ;
26421 wxDouble
*arg3
= (wxDouble
*) 0 ;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 PyObject
* obj2
= 0 ;
26431 char * kwnames
[] = {
26432 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26437 if (!SWIG_IsOK(res1
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26440 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26441 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26443 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26444 if (!SWIG_IsOK(ecode
)) {
26445 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26447 temp2
= static_cast< wxDouble
>(val
);
26449 res2
= SWIG_AddTmpMask(ecode
);
26451 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26453 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26454 if (!SWIG_IsOK(ecode
)) {
26455 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26457 temp3
= static_cast< wxDouble
>(val
);
26459 res3
= SWIG_AddTmpMask(ecode
);
26462 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_Py_Void();
26466 if (SWIG_IsTmpObj(res2
)) {
26467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26469 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26472 if (SWIG_IsTmpObj(res3
)) {
26473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26475 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26484 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= 0;
26486 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26487 wxDouble
*arg2
= (wxDouble
*) 0 ;
26488 wxDouble
*arg3
= (wxDouble
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 PyObject
* obj2
= 0 ;
26498 char * kwnames
[] = {
26499 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26507 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26508 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26510 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26511 if (!SWIG_IsOK(ecode
)) {
26512 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26514 temp2
= static_cast< wxDouble
>(val
);
26516 res2
= SWIG_AddTmpMask(ecode
);
26518 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26520 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26521 if (!SWIG_IsOK(ecode
)) {
26522 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26524 temp3
= static_cast< wxDouble
>(val
);
26526 res3
= SWIG_AddTmpMask(ecode
);
26529 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= SWIG_Py_Void();
26533 if (SWIG_IsTmpObj(res2
)) {
26534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26536 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26539 if (SWIG_IsTmpObj(res3
)) {
26540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26551 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26552 PyObject
*resultobj
= 0;
26553 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26557 PyObject
*swig_obj
[1] ;
26559 if (!args
) SWIG_fail
;
26560 swig_obj
[0] = args
;
26561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26562 if (!SWIG_IsOK(res1
)) {
26563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26565 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26567 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26568 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26577 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26580 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26581 return SWIG_Py_Void();
26584 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26585 PyObject
*resultobj
= 0;
26586 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26589 PyObject
*swig_obj
[1] ;
26591 if (!args
) SWIG_fail
;
26592 swig_obj
[0] = args
;
26593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26594 if (!SWIG_IsOK(res1
)) {
26595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26597 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_Py_Void();
26610 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26611 PyObject
*resultobj
= 0;
26612 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26622 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26624 if (!SWIG_IsOK(res1
)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26627 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26628 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26629 if (!SWIG_IsOK(ecode2
)) {
26630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26632 arg2
= static_cast< wxDouble
>(val2
);
26633 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26634 if (!SWIG_IsOK(ecode3
)) {
26635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26637 arg3
= static_cast< wxDouble
>(val3
);
26639 (arg1
)->MoveToPoint(arg2
,arg3
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_Py_Void();
26649 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26650 PyObject
*resultobj
= 0;
26651 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26652 wxPoint2D
*arg2
= 0 ;
26657 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26662 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26665 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26668 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_Py_Void();
26678 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26682 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26685 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26688 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26692 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26697 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26698 PyObject
*resultobj
= 0;
26699 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26709 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26711 if (!SWIG_IsOK(res1
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26714 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26715 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26716 if (!SWIG_IsOK(ecode2
)) {
26717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26719 arg2
= static_cast< wxDouble
>(val2
);
26720 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26721 if (!SWIG_IsOK(ecode3
)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26724 arg3
= static_cast< wxDouble
>(val3
);
26726 (arg1
)->AddLineToPoint(arg2
,arg3
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 resultobj
= SWIG_Py_Void();
26736 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26737 PyObject
*resultobj
= 0;
26738 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26739 wxPoint2D
*arg2
= 0 ;
26744 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26749 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26752 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26755 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_Py_Void();
26765 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26769 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26772 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26775 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26779 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26784 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26785 PyObject
*resultobj
= 0;
26786 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26808 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26810 if (!SWIG_IsOK(res1
)) {
26811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26813 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26814 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26815 if (!SWIG_IsOK(ecode2
)) {
26816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26818 arg2
= static_cast< wxDouble
>(val2
);
26819 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26820 if (!SWIG_IsOK(ecode3
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26823 arg3
= static_cast< wxDouble
>(val3
);
26824 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26825 if (!SWIG_IsOK(ecode4
)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26828 arg4
= static_cast< wxDouble
>(val4
);
26829 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26830 if (!SWIG_IsOK(ecode5
)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26833 arg5
= static_cast< wxDouble
>(val5
);
26834 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26835 if (!SWIG_IsOK(ecode6
)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26838 arg6
= static_cast< wxDouble
>(val6
);
26839 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26840 if (!SWIG_IsOK(ecode7
)) {
26841 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26843 arg7
= static_cast< wxDouble
>(val7
);
26845 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= SWIG_Py_Void();
26855 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26856 PyObject
*resultobj
= 0;
26857 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26858 wxPoint2D
*arg2
= 0 ;
26859 wxPoint2D
*arg3
= 0 ;
26860 wxPoint2D
*arg4
= 0 ;
26867 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26872 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26875 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26879 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26883 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26886 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_Py_Void();
26896 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26900 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26903 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26906 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26910 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26915 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
= 0;
26917 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26918 wxGraphicsPath
*arg2
= 0 ;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 char * kwnames
[] = {
26926 (char *) "self",(char *) "path", NULL
26929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26931 if (!SWIG_IsOK(res1
)) {
26932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26934 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26936 if (!SWIG_IsOK(res2
)) {
26937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26942 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26944 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_Py_Void();
26954 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26955 PyObject
*resultobj
= 0;
26956 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26959 PyObject
*swig_obj
[1] ;
26961 if (!args
) SWIG_fail
;
26962 swig_obj
[0] = args
;
26963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26964 if (!SWIG_IsOK(res1
)) {
26965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26967 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26969 (arg1
)->CloseSubpath();
26970 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= SWIG_Py_Void();
26979 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26980 PyObject
*resultobj
= 0;
26981 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26985 PyObject
*swig_obj
[1] ;
26987 if (!args
) SWIG_fail
;
26988 swig_obj
[0] = args
;
26989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26993 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26995 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27005 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27006 PyObject
*resultobj
= 0;
27007 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27013 bool arg7
= (bool) true ;
27029 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27034 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27035 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27036 if (!SWIG_IsOK(ecode2
)) {
27037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27039 arg2
= static_cast< wxDouble
>(val2
);
27040 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27041 if (!SWIG_IsOK(ecode3
)) {
27042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27044 arg3
= static_cast< wxDouble
>(val3
);
27045 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27046 if (!SWIG_IsOK(ecode4
)) {
27047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27049 arg4
= static_cast< wxDouble
>(val4
);
27050 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27051 if (!SWIG_IsOK(ecode5
)) {
27052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27054 arg5
= static_cast< wxDouble
>(val5
);
27055 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27056 if (!SWIG_IsOK(ecode6
)) {
27057 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27059 arg6
= static_cast< wxDouble
>(val6
);
27061 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27062 if (!SWIG_IsOK(ecode7
)) {
27063 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27065 arg7
= static_cast< bool >(val7
);
27068 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= SWIG_Py_Void();
27078 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27079 PyObject
*resultobj
= 0;
27080 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27081 wxPoint2D
*arg2
= 0 ;
27085 bool arg6
= (bool) true ;
27098 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27100 if (!SWIG_IsOK(res1
)) {
27101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27103 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27106 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27108 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27109 if (!SWIG_IsOK(ecode3
)) {
27110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27112 arg3
= static_cast< wxDouble
>(val3
);
27113 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27114 if (!SWIG_IsOK(ecode4
)) {
27115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27117 arg4
= static_cast< wxDouble
>(val4
);
27118 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27119 if (!SWIG_IsOK(ecode5
)) {
27120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27122 arg5
= static_cast< wxDouble
>(val5
);
27124 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27125 if (!SWIG_IsOK(ecode6
)) {
27126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27128 arg6
= static_cast< bool >(val6
);
27131 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= SWIG_Py_Void();
27141 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27145 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27147 if ((argc
>= 5) && (argc
<= 6)) {
27151 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27154 if (!_v
) goto check_1
;
27158 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27159 _v
= SWIG_CheckState(res
);
27162 if (!_v
) goto check_1
;
27164 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27168 if ((argc
>= 6) && (argc
<= 7)) {
27169 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27173 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27178 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
= 0;
27180 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 PyObject
* obj2
= 0 ;
27198 PyObject
* obj3
= 0 ;
27199 PyObject
* obj4
= 0 ;
27200 char * kwnames
[] = {
27201 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27206 if (!SWIG_IsOK(res1
)) {
27207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27209 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27210 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27211 if (!SWIG_IsOK(ecode2
)) {
27212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27214 arg2
= static_cast< wxDouble
>(val2
);
27215 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27216 if (!SWIG_IsOK(ecode3
)) {
27217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27219 arg3
= static_cast< wxDouble
>(val3
);
27220 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27221 if (!SWIG_IsOK(ecode4
)) {
27222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27224 arg4
= static_cast< wxDouble
>(val4
);
27225 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27226 if (!SWIG_IsOK(ecode5
)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27229 arg5
= static_cast< wxDouble
>(val5
);
27231 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_Py_Void();
27241 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
= 0;
27243 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 PyObject
* obj2
= 0 ;
27261 PyObject
* obj3
= 0 ;
27262 PyObject
* obj4
= 0 ;
27263 char * kwnames
[] = {
27264 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27272 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27273 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27274 if (!SWIG_IsOK(ecode2
)) {
27275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27277 arg2
= static_cast< wxDouble
>(val2
);
27278 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27279 if (!SWIG_IsOK(ecode3
)) {
27280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27282 arg3
= static_cast< wxDouble
>(val3
);
27283 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27284 if (!SWIG_IsOK(ecode4
)) {
27285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27287 arg4
= static_cast< wxDouble
>(val4
);
27288 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27289 if (!SWIG_IsOK(ecode5
)) {
27290 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27292 arg5
= static_cast< wxDouble
>(val5
);
27294 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= SWIG_Py_Void();
27304 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
= 0;
27306 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 PyObject
* obj1
= 0 ;
27320 PyObject
* obj2
= 0 ;
27321 PyObject
* obj3
= 0 ;
27322 char * kwnames
[] = {
27323 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27328 if (!SWIG_IsOK(res1
)) {
27329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27331 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27332 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27333 if (!SWIG_IsOK(ecode2
)) {
27334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27336 arg2
= static_cast< wxDouble
>(val2
);
27337 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27338 if (!SWIG_IsOK(ecode3
)) {
27339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27341 arg3
= static_cast< wxDouble
>(val3
);
27342 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27343 if (!SWIG_IsOK(ecode4
)) {
27344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27346 arg4
= static_cast< wxDouble
>(val4
);
27348 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= SWIG_Py_Void();
27358 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
= 0;
27360 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27378 PyObject
* obj0
= 0 ;
27379 PyObject
* obj1
= 0 ;
27380 PyObject
* obj2
= 0 ;
27381 PyObject
* obj3
= 0 ;
27382 PyObject
* obj4
= 0 ;
27383 PyObject
* obj5
= 0 ;
27384 char * kwnames
[] = {
27385 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27390 if (!SWIG_IsOK(res1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27393 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27394 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27395 if (!SWIG_IsOK(ecode2
)) {
27396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27398 arg2
= static_cast< wxDouble
>(val2
);
27399 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27400 if (!SWIG_IsOK(ecode3
)) {
27401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27403 arg3
= static_cast< wxDouble
>(val3
);
27404 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27405 if (!SWIG_IsOK(ecode4
)) {
27406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27408 arg4
= static_cast< wxDouble
>(val4
);
27409 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27410 if (!SWIG_IsOK(ecode5
)) {
27411 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27413 arg5
= static_cast< wxDouble
>(val5
);
27414 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27415 if (!SWIG_IsOK(ecode6
)) {
27416 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27418 arg6
= static_cast< wxDouble
>(val6
);
27420 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_Py_Void();
27430 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
= 0;
27432 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 PyObject
* obj2
= 0 ;
27450 PyObject
* obj3
= 0 ;
27451 PyObject
* obj4
= 0 ;
27452 char * kwnames
[] = {
27453 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27458 if (!SWIG_IsOK(res1
)) {
27459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27461 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27462 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27463 if (!SWIG_IsOK(ecode2
)) {
27464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27466 arg2
= static_cast< wxDouble
>(val2
);
27467 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27468 if (!SWIG_IsOK(ecode3
)) {
27469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27471 arg3
= static_cast< wxDouble
>(val3
);
27472 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27473 if (!SWIG_IsOK(ecode4
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27476 arg4
= static_cast< wxDouble
>(val4
);
27477 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27478 if (!SWIG_IsOK(ecode5
)) {
27479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27481 arg5
= static_cast< wxDouble
>(val5
);
27483 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27486 resultobj
= SWIG_Py_Void();
27493 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
= 0;
27495 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 PyObject
* obj1
= 0 ;
27515 PyObject
* obj2
= 0 ;
27516 PyObject
* obj3
= 0 ;
27517 PyObject
* obj4
= 0 ;
27518 PyObject
* obj5
= 0 ;
27519 char * kwnames
[] = {
27520 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27525 if (!SWIG_IsOK(res1
)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27528 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27529 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27530 if (!SWIG_IsOK(ecode2
)) {
27531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27533 arg2
= static_cast< wxDouble
>(val2
);
27534 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27535 if (!SWIG_IsOK(ecode3
)) {
27536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27538 arg3
= static_cast< wxDouble
>(val3
);
27539 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27540 if (!SWIG_IsOK(ecode4
)) {
27541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27543 arg4
= static_cast< wxDouble
>(val4
);
27544 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27545 if (!SWIG_IsOK(ecode5
)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27548 arg5
= static_cast< wxDouble
>(val5
);
27549 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27550 if (!SWIG_IsOK(ecode6
)) {
27551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27553 arg6
= static_cast< wxDouble
>(val6
);
27555 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= SWIG_Py_Void();
27565 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27567 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27571 PyObject
*swig_obj
[1] ;
27573 if (!args
) SWIG_fail
;
27574 swig_obj
[0] = args
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27579 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27581 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27582 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27591 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
= 0;
27593 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27594 void *arg2
= (void *) 0 ;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 char * kwnames
[] = {
27601 (char *) "self",(char *) "p", NULL
27604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27606 if (!SWIG_IsOK(res1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27609 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27610 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27611 if (!SWIG_IsOK(res2
)) {
27612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27615 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27618 resultobj
= SWIG_Py_Void();
27625 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
= 0;
27627 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27628 wxGraphicsMatrix
*arg2
= 0 ;
27633 PyObject
* obj0
= 0 ;
27634 PyObject
* obj1
= 0 ;
27635 char * kwnames
[] = {
27636 (char *) "self",(char *) "matrix", NULL
27639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27644 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27646 if (!SWIG_IsOK(res2
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27652 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27654 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= SWIG_Py_Void();
27664 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27665 PyObject
*resultobj
= 0;
27666 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27670 PyObject
*swig_obj
[1] ;
27672 if (!args
) SWIG_fail
;
27673 swig_obj
[0] = args
;
27674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27675 if (!SWIG_IsOK(res1
)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27678 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27680 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27690 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27691 PyObject
*resultobj
= 0;
27692 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27695 int arg4
= (int) wxODDEVEN_RULE
;
27706 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27708 if (!SWIG_IsOK(res1
)) {
27709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27711 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27712 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27713 if (!SWIG_IsOK(ecode2
)) {
27714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27716 arg2
= static_cast< wxDouble
>(val2
);
27717 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27718 if (!SWIG_IsOK(ecode3
)) {
27719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27721 arg3
= static_cast< wxDouble
>(val3
);
27723 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27724 if (!SWIG_IsOK(ecode4
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27727 arg4
= static_cast< int >(val4
);
27730 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27742 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27743 PyObject
*resultobj
= 0;
27744 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27745 wxPoint2D
*arg2
= 0 ;
27746 int arg3
= (int) wxODDEVEN_RULE
;
27754 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27759 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27762 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27765 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27766 if (!SWIG_IsOK(ecode3
)) {
27767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27769 arg3
= static_cast< int >(val3
);
27772 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27784 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27788 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27790 if ((argc
>= 2) && (argc
<= 3)) {
27794 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27797 if (!_v
) goto check_1
;
27801 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27802 _v
= SWIG_CheckState(res
);
27805 if (!_v
) goto check_1
;
27807 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27811 if ((argc
>= 3) && (argc
<= 4)) {
27812 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27816 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27821 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27824 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27825 return SWIG_Py_Void();
27828 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27829 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27834 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27835 PyObject
*pyobj
= 0;
27837 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27842 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27843 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27848 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27849 PyObject
*pyobj
= 0;
27851 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27856 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27857 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27862 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27863 PyObject
*pyobj
= 0;
27865 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27870 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27871 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27876 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27877 PyObject
*pyobj
= 0;
27879 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27884 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27885 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27890 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27891 PyObject
*pyobj
= 0;
27893 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27898 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27899 PyObject
*resultobj
= 0;
27900 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27903 PyObject
*swig_obj
[1] ;
27905 if (!args
) SWIG_fail
;
27906 swig_obj
[0] = args
;
27907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27911 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= SWIG_Py_Void();
27924 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27925 PyObject
*resultobj
= 0;
27926 wxWindowDC
*arg1
= 0 ;
27927 wxGraphicsContext
*result
= 0 ;
27931 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27939 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27941 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27951 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27952 PyObject
*resultobj
= 0;
27953 wxWindow
*arg1
= (wxWindow
*) 0 ;
27954 wxGraphicsContext
*result
= 0 ;
27958 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27960 if (!SWIG_IsOK(res1
)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27963 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27965 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27975 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27979 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27984 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27985 _v
= SWIG_CheckState(res
);
27987 if (!_v
) goto check_1
;
27988 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27993 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27997 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28002 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28003 PyObject
*resultobj
= 0;
28004 wxGraphicsContext
*result
= 0 ;
28006 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28008 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28018 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
= 0;
28020 void *arg1
= (void *) 0 ;
28021 wxGraphicsContext
*result
= 0 ;
28023 PyObject
* obj0
= 0 ;
28024 char * kwnames
[] = {
28025 (char *) "context", NULL
28028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28029 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28030 if (!SWIG_IsOK(res1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28034 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28044 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
= 0;
28046 void *arg1
= (void *) 0 ;
28047 wxGraphicsContext
*result
= 0 ;
28049 PyObject
* obj0
= 0 ;
28050 char * kwnames
[] = {
28051 (char *) "window", NULL
28054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28060 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28070 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28071 PyObject
*resultobj
= 0;
28072 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28073 wxGraphicsPath result
;
28076 PyObject
*swig_obj
[1] ;
28078 if (!args
) SWIG_fail
;
28079 swig_obj
[0] = args
;
28080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28081 if (!SWIG_IsOK(res1
)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28084 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28086 result
= (arg1
)->CreatePath();
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28096 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28097 PyObject
*resultobj
= 0;
28098 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28100 wxGraphicsPen result
;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 char * kwnames
[] = {
28108 (char *) "self",(char *) "pen", NULL
28111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28116 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28118 if (!SWIG_IsOK(res2
)) {
28119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28124 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28126 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28136 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
= 0;
28138 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28139 wxBrush
*arg2
= 0 ;
28140 wxGraphicsBrush result
;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 char * kwnames
[] = {
28148 (char *) "self",(char *) "brush", NULL
28151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28153 if (!SWIG_IsOK(res1
)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28156 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28158 if (!SWIG_IsOK(res2
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28164 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28166 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28176 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
= 0;
28178 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28183 wxColour
*arg6
= 0 ;
28184 wxColour
*arg7
= 0 ;
28185 wxGraphicsBrush result
;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 PyObject
* obj2
= 0 ;
28201 PyObject
* obj3
= 0 ;
28202 PyObject
* obj4
= 0 ;
28203 PyObject
* obj5
= 0 ;
28204 PyObject
* obj6
= 0 ;
28205 char * kwnames
[] = {
28206 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28211 if (!SWIG_IsOK(res1
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28214 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28215 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28216 if (!SWIG_IsOK(ecode2
)) {
28217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28219 arg2
= static_cast< wxDouble
>(val2
);
28220 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28221 if (!SWIG_IsOK(ecode3
)) {
28222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28224 arg3
= static_cast< wxDouble
>(val3
);
28225 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28226 if (!SWIG_IsOK(ecode4
)) {
28227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28229 arg4
= static_cast< wxDouble
>(val4
);
28230 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28231 if (!SWIG_IsOK(ecode5
)) {
28232 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28234 arg5
= static_cast< wxDouble
>(val5
);
28237 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28241 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28244 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28254 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
= 0;
28256 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28262 wxColour
*arg7
= 0 ;
28263 wxColour
*arg8
= 0 ;
28264 wxGraphicsBrush result
;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 PyObject
* obj2
= 0 ;
28282 PyObject
* obj3
= 0 ;
28283 PyObject
* obj4
= 0 ;
28284 PyObject
* obj5
= 0 ;
28285 PyObject
* obj6
= 0 ;
28286 PyObject
* obj7
= 0 ;
28287 char * kwnames
[] = {
28288 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28297 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28298 if (!SWIG_IsOK(ecode2
)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28301 arg2
= static_cast< wxDouble
>(val2
);
28302 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28303 if (!SWIG_IsOK(ecode3
)) {
28304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28306 arg3
= static_cast< wxDouble
>(val3
);
28307 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28308 if (!SWIG_IsOK(ecode4
)) {
28309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28311 arg4
= static_cast< wxDouble
>(val4
);
28312 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28313 if (!SWIG_IsOK(ecode5
)) {
28314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28316 arg5
= static_cast< wxDouble
>(val5
);
28317 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28318 if (!SWIG_IsOK(ecode6
)) {
28319 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28321 arg6
= static_cast< wxDouble
>(val6
);
28324 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28328 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28331 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28341 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
= 0;
28343 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28345 wxColour
const &arg3_defvalue
= *wxBLACK
;
28346 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28347 wxGraphicsFont result
;
28353 PyObject
* obj0
= 0 ;
28354 PyObject
* obj1
= 0 ;
28355 PyObject
* obj2
= 0 ;
28356 char * kwnames
[] = {
28357 (char *) "self",(char *) "font",(char *) "col", NULL
28360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28362 if (!SWIG_IsOK(res1
)) {
28363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28365 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28367 if (!SWIG_IsOK(res2
)) {
28368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28373 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28377 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28381 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28384 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28391 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
= 0;
28393 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28394 wxDouble arg2
= (wxDouble
) 1.0 ;
28395 wxDouble arg3
= (wxDouble
) 0.0 ;
28396 wxDouble arg4
= (wxDouble
) 0.0 ;
28397 wxDouble arg5
= (wxDouble
) 1.0 ;
28398 wxDouble arg6
= (wxDouble
) 0.0 ;
28399 wxDouble arg7
= (wxDouble
) 0.0 ;
28400 wxGraphicsMatrix result
;
28415 PyObject
* obj0
= 0 ;
28416 PyObject
* obj1
= 0 ;
28417 PyObject
* obj2
= 0 ;
28418 PyObject
* obj3
= 0 ;
28419 PyObject
* obj4
= 0 ;
28420 PyObject
* obj5
= 0 ;
28421 PyObject
* obj6
= 0 ;
28422 char * kwnames
[] = {
28423 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28428 if (!SWIG_IsOK(res1
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28431 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28433 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28434 if (!SWIG_IsOK(ecode2
)) {
28435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28437 arg2
= static_cast< wxDouble
>(val2
);
28440 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28441 if (!SWIG_IsOK(ecode3
)) {
28442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28444 arg3
= static_cast< wxDouble
>(val3
);
28447 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28448 if (!SWIG_IsOK(ecode4
)) {
28449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28451 arg4
= static_cast< wxDouble
>(val4
);
28454 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28455 if (!SWIG_IsOK(ecode5
)) {
28456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28458 arg5
= static_cast< wxDouble
>(val5
);
28461 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28462 if (!SWIG_IsOK(ecode6
)) {
28463 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28465 arg6
= static_cast< wxDouble
>(val6
);
28468 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28469 if (!SWIG_IsOK(ecode7
)) {
28470 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28472 arg7
= static_cast< wxDouble
>(val7
);
28475 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28478 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28485 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28486 PyObject
*resultobj
= 0;
28487 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28490 PyObject
*swig_obj
[1] ;
28492 if (!args
) SWIG_fail
;
28493 swig_obj
[0] = args
;
28494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28495 if (!SWIG_IsOK(res1
)) {
28496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28498 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28500 (arg1
)->PushState();
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 resultobj
= SWIG_Py_Void();
28510 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28511 PyObject
*resultobj
= 0;
28512 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28515 PyObject
*swig_obj
[1] ;
28517 if (!args
) SWIG_fail
;
28518 swig_obj
[0] = args
;
28519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28523 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28525 (arg1
)->PopState();
28526 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= SWIG_Py_Void();
28535 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28536 PyObject
*resultobj
= 0;
28537 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28538 wxRegion
*arg2
= 0 ;
28543 PyObject
* obj0
= 0 ;
28544 PyObject
* obj1
= 0 ;
28545 char * kwnames
[] = {
28546 (char *) "self",(char *) "region", NULL
28549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28551 if (!SWIG_IsOK(res1
)) {
28552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28554 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28556 if (!SWIG_IsOK(res2
)) {
28557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28562 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28564 (arg1
)->Clip((wxRegion
const &)*arg2
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_Py_Void();
28574 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
= 0;
28576 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28591 PyObject
* obj0
= 0 ;
28592 PyObject
* obj1
= 0 ;
28593 PyObject
* obj2
= 0 ;
28594 PyObject
* obj3
= 0 ;
28595 PyObject
* obj4
= 0 ;
28596 char * kwnames
[] = {
28597 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28602 if (!SWIG_IsOK(res1
)) {
28603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28605 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28606 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28607 if (!SWIG_IsOK(ecode2
)) {
28608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28610 arg2
= static_cast< wxDouble
>(val2
);
28611 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28612 if (!SWIG_IsOK(ecode3
)) {
28613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28615 arg3
= static_cast< wxDouble
>(val3
);
28616 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28617 if (!SWIG_IsOK(ecode4
)) {
28618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28620 arg4
= static_cast< wxDouble
>(val4
);
28621 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28622 if (!SWIG_IsOK(ecode5
)) {
28623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28625 arg5
= static_cast< wxDouble
>(val5
);
28627 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= SWIG_Py_Void();
28637 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28638 PyObject
*resultobj
= 0;
28639 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28642 PyObject
*swig_obj
[1] ;
28644 if (!args
) SWIG_fail
;
28645 swig_obj
[0] = args
;
28646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28647 if (!SWIG_IsOK(res1
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28650 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28652 (arg1
)->ResetClip();
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_Py_Void();
28662 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28663 PyObject
*resultobj
= 0;
28664 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28668 PyObject
*swig_obj
[1] ;
28670 if (!args
) SWIG_fail
;
28671 swig_obj
[0] = args
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28676 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28678 result
= (void *)(arg1
)->GetNativeContext();
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28688 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28689 PyObject
*resultobj
= 0;
28690 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28694 PyObject
*swig_obj
[1] ;
28696 if (!args
) SWIG_fail
;
28697 swig_obj
[0] = args
;
28698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28699 if (!SWIG_IsOK(res1
)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28702 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28704 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= SWIG_From_int(static_cast< int >(result
));
28714 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
= 0;
28716 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28723 PyObject
* obj0
= 0 ;
28724 PyObject
* obj1
= 0 ;
28725 char * kwnames
[] = {
28726 (char *) "self",(char *) "function", NULL
28729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28731 if (!SWIG_IsOK(res1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28734 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28736 if (!SWIG_IsOK(ecode2
)) {
28737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28739 arg2
= static_cast< int >(val2
);
28741 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28753 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28754 PyObject
*resultobj
= 0;
28755 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28764 PyObject
* obj0
= 0 ;
28765 PyObject
* obj1
= 0 ;
28766 PyObject
* obj2
= 0 ;
28767 char * kwnames
[] = {
28768 (char *) "self",(char *) "dx",(char *) "dy", NULL
28771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28773 if (!SWIG_IsOK(res1
)) {
28774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28776 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28777 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28778 if (!SWIG_IsOK(ecode2
)) {
28779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28781 arg2
= static_cast< wxDouble
>(val2
);
28782 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28783 if (!SWIG_IsOK(ecode3
)) {
28784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28786 arg3
= static_cast< wxDouble
>(val3
);
28788 (arg1
)->Translate(arg2
,arg3
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_Py_Void();
28798 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
= 0;
28800 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28809 PyObject
* obj0
= 0 ;
28810 PyObject
* obj1
= 0 ;
28811 PyObject
* obj2
= 0 ;
28812 char * kwnames
[] = {
28813 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28818 if (!SWIG_IsOK(res1
)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28821 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28822 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28823 if (!SWIG_IsOK(ecode2
)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28826 arg2
= static_cast< wxDouble
>(val2
);
28827 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28828 if (!SWIG_IsOK(ecode3
)) {
28829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28831 arg3
= static_cast< wxDouble
>(val3
);
28833 (arg1
)->Scale(arg2
,arg3
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_Py_Void();
28843 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
= 0;
28845 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28851 PyObject
* obj0
= 0 ;
28852 PyObject
* obj1
= 0 ;
28853 char * kwnames
[] = {
28854 (char *) "self",(char *) "angle", NULL
28857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28859 if (!SWIG_IsOK(res1
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28862 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28863 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28864 if (!SWIG_IsOK(ecode2
)) {
28865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28867 arg2
= static_cast< wxDouble
>(val2
);
28869 (arg1
)->Rotate(arg2
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= SWIG_Py_Void();
28879 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
= 0;
28881 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28882 wxGraphicsMatrix
*arg2
= 0 ;
28887 PyObject
* obj0
= 0 ;
28888 PyObject
* obj1
= 0 ;
28889 char * kwnames
[] = {
28890 (char *) "self",(char *) "matrix", NULL
28893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28895 if (!SWIG_IsOK(res1
)) {
28896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28898 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28900 if (!SWIG_IsOK(res2
)) {
28901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28906 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28908 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_Py_Void();
28918 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
= 0;
28920 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28921 wxGraphicsMatrix
*arg2
= 0 ;
28926 PyObject
* obj0
= 0 ;
28927 PyObject
* obj1
= 0 ;
28928 char * kwnames
[] = {
28929 (char *) "self",(char *) "matrix", NULL
28932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28934 if (!SWIG_IsOK(res1
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28937 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28939 if (!SWIG_IsOK(res2
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28945 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28947 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28950 resultobj
= SWIG_Py_Void();
28957 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28958 PyObject
*resultobj
= 0;
28959 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28960 wxGraphicsMatrix result
;
28963 PyObject
*swig_obj
[1] ;
28965 if (!args
) SWIG_fail
;
28966 swig_obj
[0] = args
;
28967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28968 if (!SWIG_IsOK(res1
)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28971 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28973 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28983 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28984 PyObject
*resultobj
= 0;
28985 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28986 wxGraphicsPen
*arg2
= 0 ;
28992 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28994 if (!SWIG_IsOK(res1
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28997 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28998 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28999 if (!SWIG_IsOK(res2
)) {
29000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29005 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29007 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_Py_Void();
29017 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29018 PyObject
*resultobj
= 0;
29019 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29026 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29028 if (!SWIG_IsOK(res1
)) {
29029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29031 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29032 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29033 if (!SWIG_IsOK(res2
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29039 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29041 (arg1
)->SetPen((wxPen
const &)*arg2
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_Py_Void();
29051 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29055 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29060 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29061 _v
= SWIG_CheckState(res
);
29063 if (!_v
) goto check_1
;
29064 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29069 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29073 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29078 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29079 PyObject
*resultobj
= 0;
29080 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29081 wxGraphicsBrush
*arg2
= 0 ;
29087 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29089 if (!SWIG_IsOK(res1
)) {
29090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29092 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29093 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29094 if (!SWIG_IsOK(res2
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29100 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29102 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= SWIG_Py_Void();
29112 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29113 PyObject
*resultobj
= 0;
29114 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29115 wxBrush
*arg2
= 0 ;
29121 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29123 if (!SWIG_IsOK(res1
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29126 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29127 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29128 if (!SWIG_IsOK(res2
)) {
29129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29134 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29136 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= SWIG_Py_Void();
29146 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29150 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29155 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29156 _v
= SWIG_CheckState(res
);
29158 if (!_v
) goto check_1
;
29159 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29164 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29168 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29173 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29174 PyObject
*resultobj
= 0;
29175 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29176 wxGraphicsFont
*arg2
= 0 ;
29182 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29184 if (!SWIG_IsOK(res1
)) {
29185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29187 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29188 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29189 if (!SWIG_IsOK(res2
)) {
29190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29195 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29197 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 resultobj
= SWIG_Py_Void();
29207 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29208 PyObject
*resultobj
= 0;
29209 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29211 wxColour
const &arg3_defvalue
= *wxBLACK
;
29212 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29219 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29221 if (!SWIG_IsOK(res1
)) {
29222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29224 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29225 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29226 if (!SWIG_IsOK(res2
)) {
29227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29232 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29236 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29240 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= SWIG_Py_Void();
29250 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29254 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29259 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29260 _v
= SWIG_CheckState(res
);
29262 if (!_v
) goto check_1
;
29263 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29267 if ((argc
>= 2) && (argc
<= 3)) {
29268 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29272 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29277 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
= 0;
29279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29280 wxGraphicsPath
*arg2
= 0 ;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 char * kwnames
[] = {
29288 (char *) "self",(char *) "path", NULL
29291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29298 if (!SWIG_IsOK(res2
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29304 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29306 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= SWIG_Py_Void();
29316 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
= 0;
29318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29319 wxGraphicsPath
*arg2
= 0 ;
29320 int arg3
= (int) wxODDEVEN_RULE
;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 PyObject
* obj2
= 0 ;
29330 char * kwnames
[] = {
29331 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29339 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29341 if (!SWIG_IsOK(res2
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29347 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29350 if (!SWIG_IsOK(ecode3
)) {
29351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29353 arg3
= static_cast< int >(val3
);
29356 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= SWIG_Py_Void();
29366 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29367 PyObject
*resultobj
= 0;
29368 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29369 wxGraphicsPath
*arg2
= 0 ;
29370 int arg3
= (int) wxODDEVEN_RULE
;
29377 PyObject
* obj0
= 0 ;
29378 PyObject
* obj1
= 0 ;
29379 PyObject
* obj2
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29389 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29391 if (!SWIG_IsOK(res2
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29397 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29400 if (!SWIG_IsOK(ecode3
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29403 arg3
= static_cast< int >(val3
);
29406 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29409 resultobj
= SWIG_Py_Void();
29416 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29417 PyObject
*resultobj
= 0;
29418 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29419 wxString
*arg2
= 0 ;
29422 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29423 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29426 bool temp2
= false ;
29433 PyObject
* obj0
= 0 ;
29434 PyObject
* obj1
= 0 ;
29435 PyObject
* obj2
= 0 ;
29436 PyObject
* obj3
= 0 ;
29437 PyObject
* obj4
= 0 ;
29438 char * kwnames
[] = {
29439 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29444 if (!SWIG_IsOK(res1
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29447 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29449 arg2
= wxString_in_helper(obj1
);
29450 if (arg2
== NULL
) SWIG_fail
;
29453 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29454 if (!SWIG_IsOK(ecode3
)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29457 arg3
= static_cast< wxDouble
>(val3
);
29458 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29459 if (!SWIG_IsOK(ecode4
)) {
29460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29462 arg4
= static_cast< wxDouble
>(val4
);
29464 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29465 if (!SWIG_IsOK(res5
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29471 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29474 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= SWIG_Py_Void();
29492 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
= 0;
29494 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29495 wxString
*arg2
= 0 ;
29499 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29500 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29503 bool temp2
= false ;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 PyObject
* obj2
= 0 ;
29515 PyObject
* obj3
= 0 ;
29516 PyObject
* obj4
= 0 ;
29517 PyObject
* obj5
= 0 ;
29518 char * kwnames
[] = {
29519 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29524 if (!SWIG_IsOK(res1
)) {
29525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29527 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29529 arg2
= wxString_in_helper(obj1
);
29530 if (arg2
== NULL
) SWIG_fail
;
29533 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29534 if (!SWIG_IsOK(ecode3
)) {
29535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29537 arg3
= static_cast< wxDouble
>(val3
);
29538 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29539 if (!SWIG_IsOK(ecode4
)) {
29540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29542 arg4
= static_cast< wxDouble
>(val4
);
29543 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29544 if (!SWIG_IsOK(ecode5
)) {
29545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29547 arg5
= static_cast< wxDouble
>(val5
);
29549 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29550 if (!SWIG_IsOK(res6
)) {
29551 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29556 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29559 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 resultobj
= SWIG_Py_Void();
29577 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
= 0;
29579 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29580 wxString
*arg2
= 0 ;
29581 wxDouble
*arg3
= (wxDouble
*) 0 ;
29582 wxDouble
*arg4
= (wxDouble
*) 0 ;
29583 wxDouble
*arg5
= (wxDouble
*) 0 ;
29584 wxDouble
*arg6
= (wxDouble
*) 0 ;
29587 bool temp2
= false ;
29589 int res3
= SWIG_TMPOBJ
;
29591 int res4
= SWIG_TMPOBJ
;
29593 int res5
= SWIG_TMPOBJ
;
29595 int res6
= SWIG_TMPOBJ
;
29596 PyObject
* obj0
= 0 ;
29597 PyObject
* obj1
= 0 ;
29598 char * kwnames
[] = {
29599 (char *) "self",(char *) "text", NULL
29606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29608 if (!SWIG_IsOK(res1
)) {
29609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29611 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29613 arg2
= wxString_in_helper(obj1
);
29614 if (arg2
== NULL
) SWIG_fail
;
29618 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= SWIG_Py_Void();
29622 if (SWIG_IsTmpObj(res3
)) {
29623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29625 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29628 if (SWIG_IsTmpObj(res4
)) {
29629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29631 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29634 if (SWIG_IsTmpObj(res5
)) {
29635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29637 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29640 if (SWIG_IsTmpObj(res6
)) {
29641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29643 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29660 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= 0;
29662 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29663 wxString
*arg2
= 0 ;
29664 PyObject
*result
= 0 ;
29667 bool temp2
= false ;
29668 PyObject
* obj0
= 0 ;
29669 PyObject
* obj1
= 0 ;
29670 char * kwnames
[] = {
29671 (char *) "self",(char *) "text", NULL
29674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29679 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29681 arg2
= wxString_in_helper(obj1
);
29682 if (arg2
== NULL
) SWIG_fail
;
29686 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
;
29704 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
= 0;
29706 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29707 wxString
*arg2
= 0 ;
29708 wxArrayDouble result
;
29711 bool temp2
= false ;
29712 PyObject
* obj0
= 0 ;
29713 PyObject
* obj1
= 0 ;
29714 char * kwnames
[] = {
29715 (char *) "self",(char *) "text", NULL
29718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29720 if (!SWIG_IsOK(res1
)) {
29721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29723 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29725 arg2
= wxString_in_helper(obj1
);
29726 if (arg2
== NULL
) SWIG_fail
;
29730 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= wxArrayDouble2PyList_helper(result
);
29750 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
= 0;
29752 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29753 wxBitmap
*arg2
= 0 ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 PyObject
* obj2
= 0 ;
29773 PyObject
* obj3
= 0 ;
29774 PyObject
* obj4
= 0 ;
29775 PyObject
* obj5
= 0 ;
29776 char * kwnames
[] = {
29777 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29782 if (!SWIG_IsOK(res1
)) {
29783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29785 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29787 if (!SWIG_IsOK(res2
)) {
29788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29793 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29794 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29795 if (!SWIG_IsOK(ecode3
)) {
29796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29798 arg3
= static_cast< wxDouble
>(val3
);
29799 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29800 if (!SWIG_IsOK(ecode4
)) {
29801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29803 arg4
= static_cast< wxDouble
>(val4
);
29804 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29805 if (!SWIG_IsOK(ecode5
)) {
29806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29808 arg5
= static_cast< wxDouble
>(val5
);
29809 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29810 if (!SWIG_IsOK(ecode6
)) {
29811 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29813 arg6
= static_cast< wxDouble
>(val6
);
29815 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29818 resultobj
= SWIG_Py_Void();
29825 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29826 PyObject
*resultobj
= 0;
29827 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29845 PyObject
* obj0
= 0 ;
29846 PyObject
* obj1
= 0 ;
29847 PyObject
* obj2
= 0 ;
29848 PyObject
* obj3
= 0 ;
29849 PyObject
* obj4
= 0 ;
29850 PyObject
* obj5
= 0 ;
29851 char * kwnames
[] = {
29852 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29857 if (!SWIG_IsOK(res1
)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29860 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29861 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29862 if (!SWIG_IsOK(res2
)) {
29863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29868 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29869 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29870 if (!SWIG_IsOK(ecode3
)) {
29871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29873 arg3
= static_cast< wxDouble
>(val3
);
29874 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29875 if (!SWIG_IsOK(ecode4
)) {
29876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29878 arg4
= static_cast< wxDouble
>(val4
);
29879 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29880 if (!SWIG_IsOK(ecode5
)) {
29881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29883 arg5
= static_cast< wxDouble
>(val5
);
29884 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29885 if (!SWIG_IsOK(ecode6
)) {
29886 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29888 arg6
= static_cast< wxDouble
>(val6
);
29890 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= SWIG_Py_Void();
29900 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
= 0;
29902 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 PyObject
* obj2
= 0 ;
29920 PyObject
* obj3
= 0 ;
29921 PyObject
* obj4
= 0 ;
29922 char * kwnames
[] = {
29923 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29931 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29932 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29933 if (!SWIG_IsOK(ecode2
)) {
29934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29936 arg2
= static_cast< wxDouble
>(val2
);
29937 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29938 if (!SWIG_IsOK(ecode3
)) {
29939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29941 arg3
= static_cast< wxDouble
>(val3
);
29942 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29943 if (!SWIG_IsOK(ecode4
)) {
29944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29946 arg4
= static_cast< wxDouble
>(val4
);
29947 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29948 if (!SWIG_IsOK(ecode5
)) {
29949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29951 arg5
= static_cast< wxDouble
>(val5
);
29953 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29956 resultobj
= SWIG_Py_Void();
29963 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
= 0;
29965 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29967 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 char * kwnames
[] = {
29973 (char *) "self",(char *) "points", NULL
29976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29978 if (!SWIG_IsOK(res1
)) {
29979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29981 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29983 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29984 if (arg3
== NULL
) SWIG_fail
;
29987 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_Py_Void();
29992 if (arg3
) delete [] arg3
;
29997 if (arg3
) delete [] arg3
;
30003 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30004 PyObject
*resultobj
= 0;
30005 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30006 PyObject
*arg2
= (PyObject
*) 0 ;
30007 PyObject
*arg3
= (PyObject
*) 0 ;
30010 PyObject
* obj0
= 0 ;
30011 PyObject
* obj1
= 0 ;
30012 PyObject
* obj2
= 0 ;
30013 char * kwnames
[] = {
30014 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) 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_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30022 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30026 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30029 resultobj
= SWIG_Py_Void();
30036 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30037 PyObject
*resultobj
= 0;
30038 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30040 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30041 int arg4
= (int) wxODDEVEN_RULE
;
30046 PyObject
* obj0
= 0 ;
30047 PyObject
* obj1
= 0 ;
30048 PyObject
* obj2
= 0 ;
30049 char * kwnames
[] = {
30050 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30055 if (!SWIG_IsOK(res1
)) {
30056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30058 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30060 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30061 if (arg3
== NULL
) SWIG_fail
;
30064 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30065 if (!SWIG_IsOK(ecode4
)) {
30066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30068 arg4
= static_cast< int >(val4
);
30071 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_Py_Void();
30076 if (arg3
) delete [] arg3
;
30081 if (arg3
) delete [] arg3
;
30087 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
= 0;
30089 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 PyObject
* obj2
= 0 ;
30107 PyObject
* obj3
= 0 ;
30108 PyObject
* obj4
= 0 ;
30109 char * kwnames
[] = {
30110 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30115 if (!SWIG_IsOK(res1
)) {
30116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30118 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30119 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30120 if (!SWIG_IsOK(ecode2
)) {
30121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30123 arg2
= static_cast< wxDouble
>(val2
);
30124 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30125 if (!SWIG_IsOK(ecode3
)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30128 arg3
= static_cast< wxDouble
>(val3
);
30129 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30130 if (!SWIG_IsOK(ecode4
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30133 arg4
= static_cast< wxDouble
>(val4
);
30134 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30135 if (!SWIG_IsOK(ecode5
)) {
30136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30138 arg5
= static_cast< wxDouble
>(val5
);
30140 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 resultobj
= SWIG_Py_Void();
30150 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
= 0;
30152 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30167 PyObject
* obj0
= 0 ;
30168 PyObject
* obj1
= 0 ;
30169 PyObject
* obj2
= 0 ;
30170 PyObject
* obj3
= 0 ;
30171 PyObject
* obj4
= 0 ;
30172 char * kwnames
[] = {
30173 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30178 if (!SWIG_IsOK(res1
)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30181 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30182 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30183 if (!SWIG_IsOK(ecode2
)) {
30184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30186 arg2
= static_cast< wxDouble
>(val2
);
30187 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30188 if (!SWIG_IsOK(ecode3
)) {
30189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30191 arg3
= static_cast< wxDouble
>(val3
);
30192 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30193 if (!SWIG_IsOK(ecode4
)) {
30194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30196 arg4
= static_cast< wxDouble
>(val4
);
30197 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30198 if (!SWIG_IsOK(ecode5
)) {
30199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30201 arg5
= static_cast< wxDouble
>(val5
);
30203 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= SWIG_Py_Void();
30213 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30214 PyObject
*resultobj
= 0;
30215 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30233 PyObject
* obj0
= 0 ;
30234 PyObject
* obj1
= 0 ;
30235 PyObject
* obj2
= 0 ;
30236 PyObject
* obj3
= 0 ;
30237 PyObject
* obj4
= 0 ;
30238 PyObject
* obj5
= 0 ;
30239 char * kwnames
[] = {
30240 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30245 if (!SWIG_IsOK(res1
)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30248 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30249 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30250 if (!SWIG_IsOK(ecode2
)) {
30251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30253 arg2
= static_cast< wxDouble
>(val2
);
30254 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30255 if (!SWIG_IsOK(ecode3
)) {
30256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30258 arg3
= static_cast< wxDouble
>(val3
);
30259 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30260 if (!SWIG_IsOK(ecode4
)) {
30261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30263 arg4
= static_cast< wxDouble
>(val4
);
30264 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30265 if (!SWIG_IsOK(ecode5
)) {
30266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30268 arg5
= static_cast< wxDouble
>(val5
);
30269 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30270 if (!SWIG_IsOK(ecode6
)) {
30271 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30273 arg6
= static_cast< wxDouble
>(val6
);
30275 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= SWIG_Py_Void();
30285 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30286 PyObject
*resultobj
= 0;
30287 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30291 PyObject
*swig_obj
[1] ;
30293 if (!args
) SWIG_fail
;
30294 swig_obj
[0] = args
;
30295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30296 if (!SWIG_IsOK(res1
)) {
30297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30299 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30301 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30302 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30313 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30316 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30317 return SWIG_Py_Void();
30320 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30321 PyObject
*resultobj
= 0;
30322 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30325 PyObject
*swig_obj
[1] ;
30327 if (!args
) SWIG_fail
;
30328 swig_obj
[0] = args
;
30329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30333 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= SWIG_Py_Void();
30346 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30347 PyObject
*resultobj
= 0;
30348 wxGraphicsRenderer
*result
= 0 ;
30350 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30352 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30362 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30363 PyObject
*resultobj
= 0;
30364 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30365 wxWindowDC
*arg2
= 0 ;
30366 wxGraphicsContext
*result
= 0 ;
30372 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30374 if (!SWIG_IsOK(res1
)) {
30375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30377 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30378 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30379 if (!SWIG_IsOK(res2
)) {
30380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30385 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30387 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30397 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30398 PyObject
*resultobj
= 0;
30399 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30400 wxWindow
*arg2
= (wxWindow
*) 0 ;
30401 wxGraphicsContext
*result
= 0 ;
30407 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30409 if (!SWIG_IsOK(res1
)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30412 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30413 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30414 if (!SWIG_IsOK(res2
)) {
30415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30419 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30429 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30433 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30438 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30439 _v
= SWIG_CheckState(res
);
30441 if (!_v
) goto check_1
;
30442 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30447 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30451 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30456 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30457 PyObject
*resultobj
= 0;
30458 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30459 wxGraphicsContext
*result
= 0 ;
30462 PyObject
*swig_obj
[1] ;
30464 if (!args
) SWIG_fail
;
30465 swig_obj
[0] = args
;
30466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30467 if (!SWIG_IsOK(res1
)) {
30468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30470 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30472 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30482 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
= 0;
30484 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30485 void *arg2
= (void *) 0 ;
30486 wxGraphicsContext
*result
= 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char * kwnames
[] = {
30493 (char *) "self",(char *) "context", NULL
30496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30498 if (!SWIG_IsOK(res1
)) {
30499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30501 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30502 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30503 if (!SWIG_IsOK(res2
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30507 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30517 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
= 0;
30519 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30520 void *arg2
= (void *) 0 ;
30521 wxGraphicsContext
*result
= 0 ;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 char * kwnames
[] = {
30528 (char *) "self",(char *) "window", NULL
30531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30533 if (!SWIG_IsOK(res1
)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30536 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30537 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30538 if (!SWIG_IsOK(res2
)) {
30539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30542 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30552 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30553 PyObject
*resultobj
= 0;
30554 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30555 wxGraphicsPath result
;
30558 PyObject
*swig_obj
[1] ;
30560 if (!args
) SWIG_fail
;
30561 swig_obj
[0] = args
;
30562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30563 if (!SWIG_IsOK(res1
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30566 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30568 result
= (arg1
)->CreatePath();
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30578 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
= 0;
30580 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30581 wxDouble arg2
= (wxDouble
) 1.0 ;
30582 wxDouble arg3
= (wxDouble
) 0.0 ;
30583 wxDouble arg4
= (wxDouble
) 0.0 ;
30584 wxDouble arg5
= (wxDouble
) 1.0 ;
30585 wxDouble arg6
= (wxDouble
) 0.0 ;
30586 wxDouble arg7
= (wxDouble
) 0.0 ;
30587 wxGraphicsMatrix result
;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 PyObject
* obj2
= 0 ;
30605 PyObject
* obj3
= 0 ;
30606 PyObject
* obj4
= 0 ;
30607 PyObject
* obj5
= 0 ;
30608 PyObject
* obj6
= 0 ;
30609 char * kwnames
[] = {
30610 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30618 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30620 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30621 if (!SWIG_IsOK(ecode2
)) {
30622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30624 arg2
= static_cast< wxDouble
>(val2
);
30627 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30628 if (!SWIG_IsOK(ecode3
)) {
30629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30631 arg3
= static_cast< wxDouble
>(val3
);
30634 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30635 if (!SWIG_IsOK(ecode4
)) {
30636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30638 arg4
= static_cast< wxDouble
>(val4
);
30641 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30642 if (!SWIG_IsOK(ecode5
)) {
30643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30645 arg5
= static_cast< wxDouble
>(val5
);
30648 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30649 if (!SWIG_IsOK(ecode6
)) {
30650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30652 arg6
= static_cast< wxDouble
>(val6
);
30655 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30656 if (!SWIG_IsOK(ecode7
)) {
30657 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30659 arg7
= static_cast< wxDouble
>(val7
);
30662 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30672 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
= 0;
30674 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30676 wxGraphicsPen result
;
30681 PyObject
* obj0
= 0 ;
30682 PyObject
* obj1
= 0 ;
30683 char * kwnames
[] = {
30684 (char *) "self",(char *) "pen", NULL
30687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30689 if (!SWIG_IsOK(res1
)) {
30690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30692 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30694 if (!SWIG_IsOK(res2
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30700 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30702 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30712 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30713 PyObject
*resultobj
= 0;
30714 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30715 wxBrush
*arg2
= 0 ;
30716 wxGraphicsBrush result
;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 char * kwnames
[] = {
30724 (char *) "self",(char *) "brush", NULL
30727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30729 if (!SWIG_IsOK(res1
)) {
30730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30732 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30734 if (!SWIG_IsOK(res2
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30740 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30742 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30752 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
= 0;
30754 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30759 wxColour
*arg6
= 0 ;
30760 wxColour
*arg7
= 0 ;
30761 wxGraphicsBrush result
;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 PyObject
* obj2
= 0 ;
30777 PyObject
* obj3
= 0 ;
30778 PyObject
* obj4
= 0 ;
30779 PyObject
* obj5
= 0 ;
30780 PyObject
* obj6
= 0 ;
30781 char * kwnames
[] = {
30782 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30787 if (!SWIG_IsOK(res1
)) {
30788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30790 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30791 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30792 if (!SWIG_IsOK(ecode2
)) {
30793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30795 arg2
= static_cast< wxDouble
>(val2
);
30796 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30797 if (!SWIG_IsOK(ecode3
)) {
30798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30800 arg3
= static_cast< wxDouble
>(val3
);
30801 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30802 if (!SWIG_IsOK(ecode4
)) {
30803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30805 arg4
= static_cast< wxDouble
>(val4
);
30806 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30807 if (!SWIG_IsOK(ecode5
)) {
30808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30810 arg5
= static_cast< wxDouble
>(val5
);
30813 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30817 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30820 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30830 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
= 0;
30832 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30838 wxColour
*arg7
= 0 ;
30839 wxColour
*arg8
= 0 ;
30840 wxGraphicsBrush result
;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 PyObject
* obj2
= 0 ;
30858 PyObject
* obj3
= 0 ;
30859 PyObject
* obj4
= 0 ;
30860 PyObject
* obj5
= 0 ;
30861 PyObject
* obj6
= 0 ;
30862 PyObject
* obj7
= 0 ;
30863 char * kwnames
[] = {
30864 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30869 if (!SWIG_IsOK(res1
)) {
30870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30872 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30873 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30874 if (!SWIG_IsOK(ecode2
)) {
30875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30877 arg2
= static_cast< wxDouble
>(val2
);
30878 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30879 if (!SWIG_IsOK(ecode3
)) {
30880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30882 arg3
= static_cast< wxDouble
>(val3
);
30883 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30884 if (!SWIG_IsOK(ecode4
)) {
30885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30887 arg4
= static_cast< wxDouble
>(val4
);
30888 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30889 if (!SWIG_IsOK(ecode5
)) {
30890 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30892 arg5
= static_cast< wxDouble
>(val5
);
30893 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30894 if (!SWIG_IsOK(ecode6
)) {
30895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30897 arg6
= static_cast< wxDouble
>(val6
);
30900 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30904 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30907 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30917 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30918 PyObject
*resultobj
= 0;
30919 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30921 wxColour
const &arg3_defvalue
= *wxBLACK
;
30922 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30923 wxGraphicsFont result
;
30929 PyObject
* obj0
= 0 ;
30930 PyObject
* obj1
= 0 ;
30931 PyObject
* obj2
= 0 ;
30932 char * kwnames
[] = {
30933 (char *) "self",(char *) "font",(char *) "col", NULL
30936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30938 if (!SWIG_IsOK(res1
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30941 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30943 if (!SWIG_IsOK(res2
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30949 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30953 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30957 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30958 if (PyErr_Occurred()) SWIG_fail
;
30960 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30967 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30970 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30971 return SWIG_Py_Void();
30974 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30975 PyObject
*resultobj
= 0;
30976 wxWindowDC
*arg1
= 0 ;
30977 wxGCDC
*result
= 0 ;
30981 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30983 if (!SWIG_IsOK(res1
)) {
30984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30989 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30991 if (!wxPyCheckForApp()) SWIG_fail
;
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31004 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31005 PyObject
*resultobj
= 0;
31006 wxWindow
*arg1
= (wxWindow
*) 0 ;
31007 wxGCDC
*result
= 0 ;
31011 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31013 if (!SWIG_IsOK(res1
)) {
31014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31016 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31018 if (!wxPyCheckForApp()) SWIG_fail
;
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 result
= (wxGCDC
*)new wxGCDC(arg1
);
31021 wxPyEndAllowThreads(__tstate
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31031 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31035 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31040 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31041 _v
= SWIG_CheckState(res
);
31043 if (!_v
) goto check_1
;
31044 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31049 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31053 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31058 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31059 PyObject
*resultobj
= 0;
31060 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31063 PyObject
*swig_obj
[1] ;
31065 if (!args
) SWIG_fail
;
31066 swig_obj
[0] = args
;
31067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31068 if (!SWIG_IsOK(res1
)) {
31069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31071 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_Py_Void();
31084 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31085 PyObject
*resultobj
= 0;
31086 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31087 wxGraphicsContext
*result
= 0 ;
31090 PyObject
*swig_obj
[1] ;
31092 if (!args
) SWIG_fail
;
31093 swig_obj
[0] = args
;
31094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31095 if (!SWIG_IsOK(res1
)) {
31096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31098 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31100 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31110 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
= 0;
31112 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31113 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 char * kwnames
[] = {
31121 (char *) "self",(char *) "ctx", NULL
31124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31129 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31131 if (!SWIG_IsOK(res2
)) {
31132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31134 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31136 (arg1
)->SetGraphicsContext(arg2
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_Py_Void();
31146 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31149 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31150 return SWIG_Py_Void();
31153 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31154 return SWIG_Python_InitShadowInstance(args
);
31157 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31158 PyObject
*resultobj
= 0;
31159 wxOverlay
*result
= 0 ;
31161 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= (wxOverlay
*)new wxOverlay();
31165 wxPyEndAllowThreads(__tstate
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31175 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31176 PyObject
*resultobj
= 0;
31177 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31180 PyObject
*swig_obj
[1] ;
31182 if (!args
) SWIG_fail
;
31183 swig_obj
[0] = args
;
31184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31185 if (!SWIG_IsOK(res1
)) {
31186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31188 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 resultobj
= SWIG_Py_Void();
31203 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31204 PyObject
*resultobj
= 0;
31205 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31208 PyObject
*swig_obj
[1] ;
31210 if (!args
) SWIG_fail
;
31211 swig_obj
[0] = args
;
31212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31213 if (!SWIG_IsOK(res1
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31216 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_Py_Void();
31230 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31233 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31234 return SWIG_Py_Void();
31237 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31238 return SWIG_Python_InitShadowInstance(args
);
31241 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31242 PyObject
*resultobj
= 0;
31243 wxOverlay
*arg1
= 0 ;
31244 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31249 wxDCOverlay
*result
= 0 ;
31263 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31265 if (!SWIG_IsOK(res1
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31271 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31272 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31273 if (!SWIG_IsOK(res2
)) {
31274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31276 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31277 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31278 if (!SWIG_IsOK(ecode3
)) {
31279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31281 arg3
= static_cast< int >(val3
);
31282 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31283 if (!SWIG_IsOK(ecode4
)) {
31284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31286 arg4
= static_cast< int >(val4
);
31287 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31288 if (!SWIG_IsOK(ecode5
)) {
31289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31291 arg5
= static_cast< int >(val5
);
31292 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31293 if (!SWIG_IsOK(ecode6
)) {
31294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31296 arg6
= static_cast< int >(val6
);
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31310 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31311 PyObject
*resultobj
= 0;
31312 wxOverlay
*arg1
= 0 ;
31313 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31314 wxDCOverlay
*result
= 0 ;
31320 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31322 if (!SWIG_IsOK(res1
)) {
31323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31328 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31329 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31330 if (!SWIG_IsOK(res2
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31333 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31336 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31347 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31351 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31354 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31357 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31361 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31366 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31367 PyObject
*resultobj
= 0;
31368 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31371 PyObject
*swig_obj
[1] ;
31373 if (!args
) SWIG_fail
;
31374 swig_obj
[0] = args
;
31375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31376 if (!SWIG_IsOK(res1
)) {
31377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31379 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31387 resultobj
= SWIG_Py_Void();
31394 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31395 PyObject
*resultobj
= 0;
31396 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31399 PyObject
*swig_obj
[1] ;
31401 if (!args
) SWIG_fail
;
31402 swig_obj
[0] = args
;
31403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31404 if (!SWIG_IsOK(res1
)) {
31405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31407 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_Py_Void();
31421 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31424 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31425 return SWIG_Py_Void();
31428 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31429 return SWIG_Python_InitShadowInstance(args
);
31432 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31433 PyObject
*resultobj
= 0;
31436 int arg3
= (int) true ;
31437 int arg4
= (int) 1 ;
31438 wxImageList
*result
= 0 ;
31447 PyObject
* obj0
= 0 ;
31448 PyObject
* obj1
= 0 ;
31449 PyObject
* obj2
= 0 ;
31450 PyObject
* obj3
= 0 ;
31451 char * kwnames
[] = {
31452 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31457 if (!SWIG_IsOK(ecode1
)) {
31458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31460 arg1
= static_cast< int >(val1
);
31461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31462 if (!SWIG_IsOK(ecode2
)) {
31463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31465 arg2
= static_cast< int >(val2
);
31467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31468 if (!SWIG_IsOK(ecode3
)) {
31469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31471 arg3
= static_cast< int >(val3
);
31474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31475 if (!SWIG_IsOK(ecode4
)) {
31476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31478 arg4
= static_cast< int >(val4
);
31481 if (!wxPyCheckForApp()) SWIG_fail
;
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31494 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31495 PyObject
*resultobj
= 0;
31496 wxImageList
*arg1
= (wxImageList
*) 0 ;
31499 PyObject
*swig_obj
[1] ;
31501 if (!args
) SWIG_fail
;
31502 swig_obj
[0] = args
;
31503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31504 if (!SWIG_IsOK(res1
)) {
31505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31507 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 wxPyEndAllowThreads(__tstate
);
31513 if (PyErr_Occurred()) SWIG_fail
;
31515 resultobj
= SWIG_Py_Void();
31522 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= 0;
31524 wxImageList
*arg1
= (wxImageList
*) 0 ;
31525 wxBitmap
*arg2
= 0 ;
31526 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31527 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 PyObject
* obj2
= 0 ;
31538 char * kwnames
[] = {
31539 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31544 if (!SWIG_IsOK(res1
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31547 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31549 if (!SWIG_IsOK(res2
)) {
31550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31555 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
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_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31564 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 resultobj
= SWIG_From_int(static_cast< int >(result
));
31579 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31580 PyObject
*resultobj
= 0;
31581 wxImageList
*arg1
= (wxImageList
*) 0 ;
31582 wxBitmap
*arg2
= 0 ;
31583 wxColour
*arg3
= 0 ;
31590 PyObject
* obj0
= 0 ;
31591 PyObject
* obj1
= 0 ;
31592 PyObject
* obj2
= 0 ;
31593 char * kwnames
[] = {
31594 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31599 if (!SWIG_IsOK(res1
)) {
31600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31602 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31604 if (!SWIG_IsOK(res2
)) {
31605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31610 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31613 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31617 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31618 wxPyEndAllowThreads(__tstate
);
31619 if (PyErr_Occurred()) SWIG_fail
;
31621 resultobj
= SWIG_From_int(static_cast< int >(result
));
31628 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
= 0;
31630 wxImageList
*arg1
= (wxImageList
*) 0 ;
31637 PyObject
* obj0
= 0 ;
31638 PyObject
* obj1
= 0 ;
31639 char * kwnames
[] = {
31640 (char *) "self",(char *) "icon", NULL
31643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31645 if (!SWIG_IsOK(res1
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31648 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31650 if (!SWIG_IsOK(res2
)) {
31651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31656 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31659 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31663 resultobj
= SWIG_From_int(static_cast< int >(result
));
31670 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
= 0;
31672 wxImageList
*arg1
= (wxImageList
*) 0 ;
31674 SwigValueWrapper
<wxBitmap
> result
;
31679 PyObject
* obj0
= 0 ;
31680 PyObject
* obj1
= 0 ;
31681 char * kwnames
[] = {
31682 (char *) "self",(char *) "index", NULL
31685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31687 if (!SWIG_IsOK(res1
)) {
31688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31690 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31692 if (!SWIG_IsOK(ecode2
)) {
31693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31695 arg2
= static_cast< int >(val2
);
31697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31698 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31709 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31710 PyObject
*resultobj
= 0;
31711 wxImageList
*arg1
= (wxImageList
*) 0 ;
31718 PyObject
* obj0
= 0 ;
31719 PyObject
* obj1
= 0 ;
31720 char * kwnames
[] = {
31721 (char *) "self",(char *) "index", NULL
31724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31726 if (!SWIG_IsOK(res1
)) {
31727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31729 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31731 if (!SWIG_IsOK(ecode2
)) {
31732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31734 arg2
= static_cast< int >(val2
);
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31741 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31748 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31749 PyObject
*resultobj
= 0;
31750 wxImageList
*arg1
= (wxImageList
*) 0 ;
31752 wxBitmap
*arg3
= 0 ;
31753 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31754 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31764 PyObject
* obj0
= 0 ;
31765 PyObject
* obj1
= 0 ;
31766 PyObject
* obj2
= 0 ;
31767 PyObject
* obj3
= 0 ;
31768 char * kwnames
[] = {
31769 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31774 if (!SWIG_IsOK(res1
)) {
31775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31777 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31779 if (!SWIG_IsOK(ecode2
)) {
31780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31782 arg2
= static_cast< int >(val2
);
31783 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31784 if (!SWIG_IsOK(res3
)) {
31785 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31790 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31792 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31793 if (!SWIG_IsOK(res4
)) {
31794 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31799 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31816 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
= 0;
31818 wxImageList
*arg1
= (wxImageList
*) 0 ;
31823 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31824 bool arg7
= (bool) (bool)false ;
31840 PyObject
* obj0
= 0 ;
31841 PyObject
* obj1
= 0 ;
31842 PyObject
* obj2
= 0 ;
31843 PyObject
* obj3
= 0 ;
31844 PyObject
* obj4
= 0 ;
31845 PyObject
* obj5
= 0 ;
31846 PyObject
* obj6
= 0 ;
31847 char * kwnames
[] = {
31848 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31853 if (!SWIG_IsOK(res1
)) {
31854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31856 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31858 if (!SWIG_IsOK(ecode2
)) {
31859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31861 arg2
= static_cast< int >(val2
);
31862 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31863 if (!SWIG_IsOK(res3
)) {
31864 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31869 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31871 if (!SWIG_IsOK(ecode4
)) {
31872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31874 arg4
= static_cast< int >(val4
);
31875 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31876 if (!SWIG_IsOK(ecode5
)) {
31877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31879 arg5
= static_cast< int >(val5
);
31881 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31882 if (!SWIG_IsOK(ecode6
)) {
31883 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31885 arg6
= static_cast< int >(val6
);
31888 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31889 if (!SWIG_IsOK(ecode7
)) {
31890 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31892 arg7
= static_cast< bool >(val7
);
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31909 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31910 PyObject
*resultobj
= 0;
31911 wxImageList
*arg1
= (wxImageList
*) 0 ;
31915 PyObject
*swig_obj
[1] ;
31917 if (!args
) SWIG_fail
;
31918 swig_obj
[0] = args
;
31919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31920 if (!SWIG_IsOK(res1
)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31923 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 result
= (int)(arg1
)->GetImageCount();
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= SWIG_From_int(static_cast< int >(result
));
31937 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
= 0;
31939 wxImageList
*arg1
= (wxImageList
*) 0 ;
31946 PyObject
* obj0
= 0 ;
31947 PyObject
* obj1
= 0 ;
31948 char * kwnames
[] = {
31949 (char *) "self",(char *) "index", NULL
31952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31954 if (!SWIG_IsOK(res1
)) {
31955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31957 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31959 if (!SWIG_IsOK(ecode2
)) {
31960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31962 arg2
= static_cast< int >(val2
);
31964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31965 result
= (bool)(arg1
)->Remove(arg2
);
31966 wxPyEndAllowThreads(__tstate
);
31967 if (PyErr_Occurred()) SWIG_fail
;
31970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31978 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31979 PyObject
*resultobj
= 0;
31980 wxImageList
*arg1
= (wxImageList
*) 0 ;
31984 PyObject
*swig_obj
[1] ;
31986 if (!args
) SWIG_fail
;
31987 swig_obj
[0] = args
;
31988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31989 if (!SWIG_IsOK(res1
)) {
31990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31992 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= (bool)(arg1
)->RemoveAll();
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32008 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32009 PyObject
*resultobj
= 0;
32010 wxImageList
*arg1
= (wxImageList
*) 0 ;
32019 int res3
= SWIG_TMPOBJ
;
32021 int res4
= SWIG_TMPOBJ
;
32022 PyObject
* obj0
= 0 ;
32023 PyObject
* obj1
= 0 ;
32024 char * kwnames
[] = {
32025 (char *) "self",(char *) "index", NULL
32030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32032 if (!SWIG_IsOK(res1
)) {
32033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32035 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32037 if (!SWIG_IsOK(ecode2
)) {
32038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32040 arg2
= static_cast< int >(val2
);
32042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32043 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32044 wxPyEndAllowThreads(__tstate
);
32045 if (PyErr_Occurred()) SWIG_fail
;
32047 resultobj
= SWIG_Py_Void();
32048 if (SWIG_IsTmpObj(res3
)) {
32049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32051 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32054 if (SWIG_IsTmpObj(res4
)) {
32055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32057 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32066 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32069 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32070 return SWIG_Py_Void();
32073 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32074 return SWIG_Python_InitShadowInstance(args
);
32077 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32078 PyObject
*resultobj
= 0;
32079 wxStockGDI
*result
= 0 ;
32081 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 result
= (wxStockGDI
*)new wxStockGDI();
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32095 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32096 PyObject
*resultobj
= 0;
32097 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32100 PyObject
*swig_obj
[1] ;
32102 if (!args
) SWIG_fail
;
32103 swig_obj
[0] = args
;
32104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32105 if (!SWIG_IsOK(res1
)) {
32106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32108 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 resultobj
= SWIG_Py_Void();
32123 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32124 PyObject
*resultobj
= 0;
32126 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 wxStockGDI::DeleteAll();
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 resultobj
= SWIG_Py_Void();
32140 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32141 PyObject
*resultobj
= 0;
32142 wxStockGDI
*result
= 0 ;
32144 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32148 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32149 result
= (wxStockGDI
*) &_result_ref
;
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32161 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
= 0;
32163 wxStockGDI::Item arg1
;
32164 wxBrush
*result
= 0 ;
32167 PyObject
* obj0
= 0 ;
32168 char * kwnames
[] = {
32169 (char *) "item", NULL
32172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32174 if (!SWIG_IsOK(ecode1
)) {
32175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32177 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32191 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32192 PyObject
*resultobj
= 0;
32193 wxStockGDI::Item arg1
;
32194 wxColour
*result
= 0 ;
32197 PyObject
* obj0
= 0 ;
32198 char * kwnames
[] = {
32199 (char *) "item", NULL
32202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32204 if (!SWIG_IsOK(ecode1
)) {
32205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32207 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32221 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32222 PyObject
*resultobj
= 0;
32223 wxStockGDI::Item arg1
;
32224 wxCursor
*result
= 0 ;
32227 PyObject
* obj0
= 0 ;
32228 char * kwnames
[] = {
32229 (char *) "item", NULL
32232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32233 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32234 if (!SWIG_IsOK(ecode1
)) {
32235 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32237 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32240 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32241 wxPyEndAllowThreads(__tstate
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32251 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
= 0;
32253 wxStockGDI::Item arg1
;
32254 wxPen
*result
= 0 ;
32257 PyObject
* obj0
= 0 ;
32258 char * kwnames
[] = {
32259 (char *) "item", NULL
32262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32263 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32264 if (!SWIG_IsOK(ecode1
)) {
32265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32267 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32270 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32281 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
= 0;
32283 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32284 wxStockGDI::Item arg2
;
32285 wxFont
*result
= 0 ;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 char * kwnames
[] = {
32293 (char *) "self",(char *) "item", NULL
32296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32298 if (!SWIG_IsOK(res1
)) {
32299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32301 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32303 if (!SWIG_IsOK(ecode2
)) {
32304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32306 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32309 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32310 wxPyEndAllowThreads(__tstate
);
32311 if (PyErr_Occurred()) SWIG_fail
;
32313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32320 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32323 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32324 return SWIG_Py_Void();
32327 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32328 return SWIG_Python_InitShadowInstance(args
);
32331 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32332 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32337 SWIGINTERN PyObject
*NullBitmap_get(void) {
32338 PyObject
*pyobj
= 0;
32340 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32345 SWIGINTERN
int NullIcon_set(PyObject
*) {
32346 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32351 SWIGINTERN PyObject
*NullIcon_get(void) {
32352 PyObject
*pyobj
= 0;
32354 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32359 SWIGINTERN
int NullCursor_set(PyObject
*) {
32360 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32365 SWIGINTERN PyObject
*NullCursor_get(void) {
32366 PyObject
*pyobj
= 0;
32368 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32373 SWIGINTERN
int NullPen_set(PyObject
*) {
32374 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32379 SWIGINTERN PyObject
*NullPen_get(void) {
32380 PyObject
*pyobj
= 0;
32382 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32387 SWIGINTERN
int NullBrush_set(PyObject
*) {
32388 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32393 SWIGINTERN PyObject
*NullBrush_get(void) {
32394 PyObject
*pyobj
= 0;
32396 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32401 SWIGINTERN
int NullPalette_set(PyObject
*) {
32402 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32407 SWIGINTERN PyObject
*NullPalette_get(void) {
32408 PyObject
*pyobj
= 0;
32410 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32415 SWIGINTERN
int NullFont_set(PyObject
*) {
32416 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32421 SWIGINTERN PyObject
*NullFont_get(void) {
32422 PyObject
*pyobj
= 0;
32424 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32429 SWIGINTERN
int NullColour_set(PyObject
*) {
32430 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32435 SWIGINTERN PyObject
*NullColour_get(void) {
32436 PyObject
*pyobj
= 0;
32438 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32443 SWIGINTERN
int NullIconBundle_set(PyObject
*) {
32444 SWIG_Error(SWIG_AttributeError
,"Variable NullIconBundle is read-only.");
32449 SWIGINTERN PyObject
*NullIconBundle_get(void) {
32450 PyObject
*pyobj
= 0;
32452 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle
), SWIGTYPE_p_wxIconBundle
, 0 );
32457 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32458 PyObject
*resultobj
= 0;
32459 wxGDIObjListBase
*result
= 0 ;
32461 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32475 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32476 PyObject
*resultobj
= 0;
32477 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32480 PyObject
*swig_obj
[1] ;
32482 if (!args
) SWIG_fail
;
32483 swig_obj
[0] = args
;
32484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32485 if (!SWIG_IsOK(res1
)) {
32486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32488 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 resultobj
= SWIG_Py_Void();
32503 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32506 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32507 return SWIG_Py_Void();
32510 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32511 return SWIG_Python_InitShadowInstance(args
);
32514 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
= 0;
32516 wxPenList
*arg1
= (wxPenList
*) 0 ;
32517 wxColour
*arg2
= 0 ;
32520 wxPen
*result
= 0 ;
32528 PyObject
* obj0
= 0 ;
32529 PyObject
* obj1
= 0 ;
32530 PyObject
* obj2
= 0 ;
32531 PyObject
* obj3
= 0 ;
32532 char * kwnames
[] = {
32533 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32538 if (!SWIG_IsOK(res1
)) {
32539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32541 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32544 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32547 if (!SWIG_IsOK(ecode3
)) {
32548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32550 arg3
= static_cast< int >(val3
);
32551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32552 if (!SWIG_IsOK(ecode4
)) {
32553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32555 arg4
= static_cast< int >(val4
);
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32569 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32572 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32573 return SWIG_Py_Void();
32576 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
= 0;
32578 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32579 wxColour
*arg2
= 0 ;
32580 int arg3
= (int) wxSOLID
;
32581 wxBrush
*result
= 0 ;
32587 PyObject
* obj0
= 0 ;
32588 PyObject
* obj1
= 0 ;
32589 PyObject
* obj2
= 0 ;
32590 char * kwnames
[] = {
32591 (char *) "self",(char *) "colour",(char *) "style", NULL
32594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32596 if (!SWIG_IsOK(res1
)) {
32597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32599 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32606 if (!SWIG_IsOK(ecode3
)) {
32607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32609 arg3
= static_cast< int >(val3
);
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32624 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32627 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32628 return SWIG_Py_Void();
32631 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32632 PyObject
*resultobj
= 0;
32633 wxFontList
*arg1
= (wxFontList
*) 0 ;
32638 bool arg6
= (bool) false ;
32639 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32640 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32641 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32642 wxFont
*result
= 0 ;
32655 bool temp7
= false ;
32658 PyObject
* obj0
= 0 ;
32659 PyObject
* obj1
= 0 ;
32660 PyObject
* obj2
= 0 ;
32661 PyObject
* obj3
= 0 ;
32662 PyObject
* obj4
= 0 ;
32663 PyObject
* obj5
= 0 ;
32664 PyObject
* obj6
= 0 ;
32665 PyObject
* obj7
= 0 ;
32666 char * kwnames
[] = {
32667 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32672 if (!SWIG_IsOK(res1
)) {
32673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32675 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32677 if (!SWIG_IsOK(ecode2
)) {
32678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32680 arg2
= static_cast< int >(val2
);
32681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32682 if (!SWIG_IsOK(ecode3
)) {
32683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32685 arg3
= static_cast< int >(val3
);
32686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32687 if (!SWIG_IsOK(ecode4
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32690 arg4
= static_cast< int >(val4
);
32691 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32692 if (!SWIG_IsOK(ecode5
)) {
32693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32695 arg5
= static_cast< int >(val5
);
32697 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32698 if (!SWIG_IsOK(ecode6
)) {
32699 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32701 arg6
= static_cast< bool >(val6
);
32705 arg7
= wxString_in_helper(obj6
);
32706 if (arg7
== NULL
) SWIG_fail
;
32711 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32712 if (!SWIG_IsOK(ecode8
)) {
32713 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32715 arg8
= static_cast< wxFontEncoding
>(val8
);
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32738 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32741 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32742 return SWIG_Py_Void();
32745 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32746 PyObject
*resultobj
= 0;
32747 wxColourDatabase
*result
= 0 ;
32749 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32751 if (!wxPyCheckForApp()) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (wxColourDatabase
*)new wxColourDatabase();
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32764 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32765 PyObject
*resultobj
= 0;
32766 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32769 PyObject
*swig_obj
[1] ;
32771 if (!args
) SWIG_fail
;
32772 swig_obj
[0] = args
;
32773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32774 if (!SWIG_IsOK(res1
)) {
32775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32777 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32785 resultobj
= SWIG_Py_Void();
32792 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32793 PyObject
*resultobj
= 0;
32794 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32795 wxString
*arg2
= 0 ;
32799 bool temp2
= false ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 char * kwnames
[] = {
32803 (char *) "self",(char *) "name", NULL
32806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32808 if (!SWIG_IsOK(res1
)) {
32809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32811 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32813 arg2
= wxString_in_helper(obj1
);
32814 if (arg2
== NULL
) SWIG_fail
;
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32838 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
= 0;
32840 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32841 wxColour
*arg2
= 0 ;
32846 PyObject
* obj0
= 0 ;
32847 PyObject
* obj1
= 0 ;
32848 char * kwnames
[] = {
32849 (char *) "self",(char *) "colour", NULL
32852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32854 if (!SWIG_IsOK(res1
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32857 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32860 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32864 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32865 wxPyEndAllowThreads(__tstate
);
32866 if (PyErr_Occurred()) SWIG_fail
;
32870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32881 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32882 PyObject
*resultobj
= 0;
32883 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32884 wxString
*arg2
= 0 ;
32885 wxColour
*arg3
= 0 ;
32888 bool temp2
= false ;
32890 PyObject
* obj0
= 0 ;
32891 PyObject
* obj1
= 0 ;
32892 PyObject
* obj2
= 0 ;
32893 char * kwnames
[] = {
32894 (char *) "self",(char *) "name",(char *) "colour", NULL
32897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32899 if (!SWIG_IsOK(res1
)) {
32900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32902 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32904 arg2
= wxString_in_helper(obj1
);
32905 if (arg2
== NULL
) SWIG_fail
;
32910 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32914 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32918 resultobj
= SWIG_Py_Void();
32933 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32934 PyObject
*resultobj
= 0;
32935 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32936 wxString
*arg2
= 0 ;
32942 bool temp2
= false ;
32949 PyObject
* obj0
= 0 ;
32950 PyObject
* obj1
= 0 ;
32951 PyObject
* obj2
= 0 ;
32952 PyObject
* obj3
= 0 ;
32953 PyObject
* obj4
= 0 ;
32954 char * kwnames
[] = {
32955 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32960 if (!SWIG_IsOK(res1
)) {
32961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32963 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32965 arg2
= wxString_in_helper(obj1
);
32966 if (arg2
== NULL
) SWIG_fail
;
32969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32970 if (!SWIG_IsOK(ecode3
)) {
32971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32973 arg3
= static_cast< int >(val3
);
32974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32975 if (!SWIG_IsOK(ecode4
)) {
32976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32978 arg4
= static_cast< int >(val4
);
32979 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32980 if (!SWIG_IsOK(ecode5
)) {
32981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32983 arg5
= static_cast< int >(val5
);
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32990 resultobj
= SWIG_Py_Void();
33005 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33008 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33009 return SWIG_Py_Void();
33012 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33013 return SWIG_Python_InitShadowInstance(args
);
33016 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33017 PyObject
*resultobj
= 0;
33018 wxFontList
*result
= 0 ;
33020 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 result
= (wxFontList
*)_wxPyInitTheFontList();
33024 wxPyEndAllowThreads(__tstate
);
33025 if (PyErr_Occurred()) SWIG_fail
;
33027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33034 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33035 PyObject
*resultobj
= 0;
33036 wxPenList
*result
= 0 ;
33038 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 result
= (wxPenList
*)_wxPyInitThePenList();
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33052 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33053 PyObject
*resultobj
= 0;
33054 wxBrushList
*result
= 0 ;
33056 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33059 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33070 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33071 PyObject
*resultobj
= 0;
33072 wxColourDatabase
*result
= 0 ;
33074 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33077 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33088 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33089 PyObject
*resultobj
= 0;
33090 wxEffects
*result
= 0 ;
33092 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 result
= (wxEffects
*)new wxEffects();
33096 wxPyEndAllowThreads(__tstate
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33106 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33107 PyObject
*resultobj
= 0;
33108 wxEffects
*arg1
= (wxEffects
*) 0 ;
33112 PyObject
*swig_obj
[1] ;
33114 if (!args
) SWIG_fail
;
33115 swig_obj
[0] = args
;
33116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33117 if (!SWIG_IsOK(res1
)) {
33118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33120 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33124 wxPyEndAllowThreads(__tstate
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33134 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33135 PyObject
*resultobj
= 0;
33136 wxEffects
*arg1
= (wxEffects
*) 0 ;
33140 PyObject
*swig_obj
[1] ;
33142 if (!args
) SWIG_fail
;
33143 swig_obj
[0] = args
;
33144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33148 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33151 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33155 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33162 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33163 PyObject
*resultobj
= 0;
33164 wxEffects
*arg1
= (wxEffects
*) 0 ;
33168 PyObject
*swig_obj
[1] ;
33170 if (!args
) SWIG_fail
;
33171 swig_obj
[0] = args
;
33172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33173 if (!SWIG_IsOK(res1
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33176 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33180 wxPyEndAllowThreads(__tstate
);
33181 if (PyErr_Occurred()) SWIG_fail
;
33183 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33190 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33191 PyObject
*resultobj
= 0;
33192 wxEffects
*arg1
= (wxEffects
*) 0 ;
33196 PyObject
*swig_obj
[1] ;
33198 if (!args
) SWIG_fail
;
33199 swig_obj
[0] = args
;
33200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33201 if (!SWIG_IsOK(res1
)) {
33202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33204 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33208 wxPyEndAllowThreads(__tstate
);
33209 if (PyErr_Occurred()) SWIG_fail
;
33211 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33218 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33219 PyObject
*resultobj
= 0;
33220 wxEffects
*arg1
= (wxEffects
*) 0 ;
33224 PyObject
*swig_obj
[1] ;
33226 if (!args
) SWIG_fail
;
33227 swig_obj
[0] = args
;
33228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33229 if (!SWIG_IsOK(res1
)) {
33230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33232 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33235 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33246 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
= 0;
33248 wxEffects
*arg1
= (wxEffects
*) 0 ;
33249 wxColour
*arg2
= 0 ;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 char * kwnames
[] = {
33256 (char *) "self",(char *) "c", NULL
33259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33261 if (!SWIG_IsOK(res1
)) {
33262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33264 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33275 resultobj
= SWIG_Py_Void();
33282 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
= 0;
33284 wxEffects
*arg1
= (wxEffects
*) 0 ;
33285 wxColour
*arg2
= 0 ;
33289 PyObject
* obj0
= 0 ;
33290 PyObject
* obj1
= 0 ;
33291 char * kwnames
[] = {
33292 (char *) "self",(char *) "c", NULL
33295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33297 if (!SWIG_IsOK(res1
)) {
33298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33300 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33303 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33308 wxPyEndAllowThreads(__tstate
);
33309 if (PyErr_Occurred()) SWIG_fail
;
33311 resultobj
= SWIG_Py_Void();
33318 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33319 PyObject
*resultobj
= 0;
33320 wxEffects
*arg1
= (wxEffects
*) 0 ;
33321 wxColour
*arg2
= 0 ;
33325 PyObject
* obj0
= 0 ;
33326 PyObject
* obj1
= 0 ;
33327 char * kwnames
[] = {
33328 (char *) "self",(char *) "c", NULL
33331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33333 if (!SWIG_IsOK(res1
)) {
33334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33336 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33339 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33344 wxPyEndAllowThreads(__tstate
);
33345 if (PyErr_Occurred()) SWIG_fail
;
33347 resultobj
= SWIG_Py_Void();
33354 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33355 PyObject
*resultobj
= 0;
33356 wxEffects
*arg1
= (wxEffects
*) 0 ;
33357 wxColour
*arg2
= 0 ;
33361 PyObject
* obj0
= 0 ;
33362 PyObject
* obj1
= 0 ;
33363 char * kwnames
[] = {
33364 (char *) "self",(char *) "c", NULL
33367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33369 if (!SWIG_IsOK(res1
)) {
33370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33372 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33375 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33379 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33383 resultobj
= SWIG_Py_Void();
33390 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
= 0;
33392 wxEffects
*arg1
= (wxEffects
*) 0 ;
33393 wxColour
*arg2
= 0 ;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 char * kwnames
[] = {
33400 (char *) "self",(char *) "c", NULL
33403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33405 if (!SWIG_IsOK(res1
)) {
33406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33408 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33411 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33415 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= SWIG_Py_Void();
33426 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33427 PyObject
*resultobj
= 0;
33428 wxEffects
*arg1
= (wxEffects
*) 0 ;
33429 wxColour
*arg2
= 0 ;
33430 wxColour
*arg3
= 0 ;
33431 wxColour
*arg4
= 0 ;
33432 wxColour
*arg5
= 0 ;
33433 wxColour
*arg6
= 0 ;
33441 PyObject
* obj0
= 0 ;
33442 PyObject
* obj1
= 0 ;
33443 PyObject
* obj2
= 0 ;
33444 PyObject
* obj3
= 0 ;
33445 PyObject
* obj4
= 0 ;
33446 PyObject
* obj5
= 0 ;
33447 char * kwnames
[] = {
33448 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33453 if (!SWIG_IsOK(res1
)) {
33454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33456 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33463 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33467 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33471 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33475 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33479 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_Py_Void();
33490 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
= 0;
33492 wxEffects
*arg1
= (wxEffects
*) 0 ;
33495 int arg4
= (int) 1 ;
33503 PyObject
* obj0
= 0 ;
33504 PyObject
* obj1
= 0 ;
33505 PyObject
* obj2
= 0 ;
33506 PyObject
* obj3
= 0 ;
33507 char * kwnames
[] = {
33508 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33513 if (!SWIG_IsOK(res1
)) {
33514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33516 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33518 if (!SWIG_IsOK(res2
)) {
33519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33524 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33527 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33530 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33531 if (!SWIG_IsOK(ecode4
)) {
33532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33534 arg4
= static_cast< int >(val4
);
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33539 wxPyEndAllowThreads(__tstate
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33542 resultobj
= SWIG_Py_Void();
33549 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33550 PyObject
*resultobj
= 0;
33551 wxEffects
*arg1
= (wxEffects
*) 0 ;
33554 wxBitmap
*arg4
= 0 ;
33563 PyObject
* obj0
= 0 ;
33564 PyObject
* obj1
= 0 ;
33565 PyObject
* obj2
= 0 ;
33566 PyObject
* obj3
= 0 ;
33567 char * kwnames
[] = {
33568 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33573 if (!SWIG_IsOK(res1
)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33576 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33579 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33581 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33582 if (!SWIG_IsOK(res3
)) {
33583 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33588 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33589 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33590 if (!SWIG_IsOK(res4
)) {
33591 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33596 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33599 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33600 wxPyEndAllowThreads(__tstate
);
33601 if (PyErr_Occurred()) SWIG_fail
;
33604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33612 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33615 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33616 return SWIG_Py_Void();
33619 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33620 return SWIG_Python_InitShadowInstance(args
);
33623 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
= 0;
33628 wxSplitterRenderParams
*result
= 0 ;
33635 PyObject
* obj0
= 0 ;
33636 PyObject
* obj1
= 0 ;
33637 PyObject
* obj2
= 0 ;
33638 char * kwnames
[] = {
33639 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33644 if (!SWIG_IsOK(ecode1
)) {
33645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33647 arg1
= static_cast< int >(val1
);
33648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33649 if (!SWIG_IsOK(ecode2
)) {
33650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33652 arg2
= static_cast< int >(val2
);
33653 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33654 if (!SWIG_IsOK(ecode3
)) {
33655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33657 arg3
= static_cast< bool >(val3
);
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33671 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33672 PyObject
*resultobj
= 0;
33673 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33676 PyObject
*swig_obj
[1] ;
33678 if (!args
) SWIG_fail
;
33679 swig_obj
[0] = args
;
33680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33684 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_Py_Void();
33699 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33700 PyObject
*resultobj
= 0;
33701 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33705 PyObject
*swig_obj
[1] ;
33707 if (!args
) SWIG_fail
;
33708 swig_obj
[0] = args
;
33709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33710 if (!SWIG_IsOK(res1
)) {
33711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33713 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33714 result
= (int)(int) ((arg1
)->widthSash
);
33715 resultobj
= SWIG_From_int(static_cast< int >(result
));
33722 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33723 PyObject
*resultobj
= 0;
33724 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33728 PyObject
*swig_obj
[1] ;
33730 if (!args
) SWIG_fail
;
33731 swig_obj
[0] = args
;
33732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33733 if (!SWIG_IsOK(res1
)) {
33734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33736 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33737 result
= (int)(int) ((arg1
)->border
);
33738 resultobj
= SWIG_From_int(static_cast< int >(result
));
33745 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33746 PyObject
*resultobj
= 0;
33747 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33751 PyObject
*swig_obj
[1] ;
33753 if (!args
) SWIG_fail
;
33754 swig_obj
[0] = args
;
33755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33756 if (!SWIG_IsOK(res1
)) {
33757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33759 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33760 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33761 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33768 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33771 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33772 return SWIG_Py_Void();
33775 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33776 return SWIG_Python_InitShadowInstance(args
);
33779 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33780 PyObject
*resultobj
= 0;
33781 wxHeaderButtonParams
*result
= 0 ;
33783 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33786 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33797 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33798 PyObject
*resultobj
= 0;
33799 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33802 PyObject
*swig_obj
[1] ;
33804 if (!args
) SWIG_fail
;
33805 swig_obj
[0] = args
;
33806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33807 if (!SWIG_IsOK(res1
)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33810 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= SWIG_Py_Void();
33825 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33826 PyObject
*resultobj
= 0;
33827 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33828 wxColour
*arg2
= (wxColour
*) 0 ;
33832 PyObject
*swig_obj
[2] ;
33834 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33836 if (!SWIG_IsOK(res1
)) {
33837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33839 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33842 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33844 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33846 resultobj
= SWIG_Py_Void();
33853 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33854 PyObject
*resultobj
= 0;
33855 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33856 wxColour
*result
= 0 ;
33859 PyObject
*swig_obj
[1] ;
33861 if (!args
) SWIG_fail
;
33862 swig_obj
[0] = args
;
33863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33864 if (!SWIG_IsOK(res1
)) {
33865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33867 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33868 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33876 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33877 PyObject
*resultobj
= 0;
33878 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33879 wxColour
*arg2
= (wxColour
*) 0 ;
33883 PyObject
*swig_obj
[2] ;
33885 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33887 if (!SWIG_IsOK(res1
)) {
33888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33890 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33893 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33895 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33897 resultobj
= SWIG_Py_Void();
33904 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33905 PyObject
*resultobj
= 0;
33906 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33907 wxColour
*result
= 0 ;
33910 PyObject
*swig_obj
[1] ;
33912 if (!args
) SWIG_fail
;
33913 swig_obj
[0] = args
;
33914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33915 if (!SWIG_IsOK(res1
)) {
33916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33918 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33919 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33927 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33928 PyObject
*resultobj
= 0;
33929 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33930 wxString
*arg2
= (wxString
*) 0 ;
33933 bool temp2
= false ;
33934 PyObject
*swig_obj
[2] ;
33936 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33938 if (!SWIG_IsOK(res1
)) {
33939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33941 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33943 arg2
= wxString_in_helper(swig_obj
[1]);
33944 if (arg2
== NULL
) SWIG_fail
;
33947 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33949 resultobj
= SWIG_Py_Void();
33964 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33965 PyObject
*resultobj
= 0;
33966 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33967 wxString
*result
= 0 ;
33970 PyObject
*swig_obj
[1] ;
33972 if (!args
) SWIG_fail
;
33973 swig_obj
[0] = args
;
33974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33975 if (!SWIG_IsOK(res1
)) {
33976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33978 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33979 result
= (wxString
*)& ((arg1
)->m_labelText
);
33982 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33984 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33993 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33994 PyObject
*resultobj
= 0;
33995 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33996 wxFont
*arg2
= (wxFont
*) 0 ;
34001 PyObject
*swig_obj
[2] ;
34003 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34005 if (!SWIG_IsOK(res1
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34008 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34009 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34010 if (!SWIG_IsOK(res2
)) {
34011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34013 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34014 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34016 resultobj
= SWIG_Py_Void();
34023 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34024 PyObject
*resultobj
= 0;
34025 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34026 wxFont
*result
= 0 ;
34029 PyObject
*swig_obj
[1] ;
34031 if (!args
) SWIG_fail
;
34032 swig_obj
[0] = args
;
34033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34034 if (!SWIG_IsOK(res1
)) {
34035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34037 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34038 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34046 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34047 PyObject
*resultobj
= 0;
34048 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34049 wxColour
*arg2
= (wxColour
*) 0 ;
34053 PyObject
*swig_obj
[2] ;
34055 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34057 if (!SWIG_IsOK(res1
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34060 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34063 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34065 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34067 resultobj
= SWIG_Py_Void();
34074 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34075 PyObject
*resultobj
= 0;
34076 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34077 wxColour
*result
= 0 ;
34080 PyObject
*swig_obj
[1] ;
34082 if (!args
) SWIG_fail
;
34083 swig_obj
[0] = args
;
34084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34085 if (!SWIG_IsOK(res1
)) {
34086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34088 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34089 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34097 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34098 PyObject
*resultobj
= 0;
34099 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34100 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34105 PyObject
*swig_obj
[2] ;
34107 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34109 if (!SWIG_IsOK(res1
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34112 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34113 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34114 if (!SWIG_IsOK(res2
)) {
34115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34117 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34118 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34120 resultobj
= SWIG_Py_Void();
34127 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34128 PyObject
*resultobj
= 0;
34129 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34130 wxBitmap
*result
= 0 ;
34133 PyObject
*swig_obj
[1] ;
34135 if (!args
) SWIG_fail
;
34136 swig_obj
[0] = args
;
34137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34138 if (!SWIG_IsOK(res1
)) {
34139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34141 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34142 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34150 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34151 PyObject
*resultobj
= 0;
34152 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34158 PyObject
*swig_obj
[2] ;
34160 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34162 if (!SWIG_IsOK(res1
)) {
34163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34165 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34166 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34167 if (!SWIG_IsOK(ecode2
)) {
34168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34170 arg2
= static_cast< int >(val2
);
34171 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34173 resultobj
= SWIG_Py_Void();
34180 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34181 PyObject
*resultobj
= 0;
34182 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34186 PyObject
*swig_obj
[1] ;
34188 if (!args
) SWIG_fail
;
34189 swig_obj
[0] = args
;
34190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34191 if (!SWIG_IsOK(res1
)) {
34192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34194 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34195 result
= (int) ((arg1
)->m_labelAlignment
);
34196 resultobj
= SWIG_From_int(static_cast< int >(result
));
34203 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34206 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34207 return SWIG_Py_Void();
34210 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34211 return SWIG_Python_InitShadowInstance(args
);
34214 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34215 PyObject
*resultobj
= 0;
34218 wxRendererVersion
*result
= 0 ;
34223 PyObject
* obj0
= 0 ;
34224 PyObject
* obj1
= 0 ;
34225 char * kwnames
[] = {
34226 (char *) "version_",(char *) "age_", NULL
34229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34231 if (!SWIG_IsOK(ecode1
)) {
34232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34234 arg1
= static_cast< int >(val1
);
34235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34236 if (!SWIG_IsOK(ecode2
)) {
34237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34239 arg2
= static_cast< int >(val2
);
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34253 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34254 PyObject
*resultobj
= 0;
34255 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34258 PyObject
*swig_obj
[1] ;
34260 if (!args
) SWIG_fail
;
34261 swig_obj
[0] = args
;
34262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34263 if (!SWIG_IsOK(res1
)) {
34264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34266 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= SWIG_Py_Void();
34281 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34282 PyObject
*resultobj
= 0;
34283 wxRendererVersion
*arg1
= 0 ;
34287 PyObject
* obj0
= 0 ;
34288 char * kwnames
[] = {
34289 (char *) "ver", NULL
34292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34293 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34300 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34316 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34317 PyObject
*resultobj
= 0;
34318 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34322 PyObject
*swig_obj
[1] ;
34324 if (!args
) SWIG_fail
;
34325 swig_obj
[0] = args
;
34326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34330 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34331 result
= (int)(int) ((arg1
)->version
);
34332 resultobj
= SWIG_From_int(static_cast< int >(result
));
34339 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34340 PyObject
*resultobj
= 0;
34341 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34345 PyObject
*swig_obj
[1] ;
34347 if (!args
) SWIG_fail
;
34348 swig_obj
[0] = args
;
34349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34350 if (!SWIG_IsOK(res1
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34353 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34354 result
= (int)(int) ((arg1
)->age
);
34355 resultobj
= SWIG_From_int(static_cast< int >(result
));
34362 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34365 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34366 return SWIG_Py_Void();
34369 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34370 return SWIG_Python_InitShadowInstance(args
);
34373 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34374 PyObject
*resultobj
= 0;
34375 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34376 wxWindow
*arg2
= (wxWindow
*) 0 ;
34379 int arg5
= (int) 0 ;
34380 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34381 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34396 PyObject
* obj0
= 0 ;
34397 PyObject
* obj1
= 0 ;
34398 PyObject
* obj2
= 0 ;
34399 PyObject
* obj3
= 0 ;
34400 PyObject
* obj4
= 0 ;
34401 PyObject
* obj5
= 0 ;
34402 PyObject
* obj6
= 0 ;
34403 char * kwnames
[] = {
34404 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34409 if (!SWIG_IsOK(res1
)) {
34410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34412 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34414 if (!SWIG_IsOK(res2
)) {
34415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34418 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34419 if (!SWIG_IsOK(res3
)) {
34420 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34425 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34428 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34432 if (!SWIG_IsOK(ecode5
)) {
34433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34435 arg5
= static_cast< int >(val5
);
34438 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34439 if (!SWIG_IsOK(ecode6
)) {
34440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34442 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34445 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34446 if (!SWIG_IsOK(res7
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34449 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34454 wxPyEndAllowThreads(__tstate
);
34455 if (PyErr_Occurred()) SWIG_fail
;
34457 resultobj
= SWIG_From_int(static_cast< int >(result
));
34464 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34465 PyObject
*resultobj
= 0;
34466 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34467 wxWindow
*arg2
= (wxWindow
*) 0 ;
34470 int arg5
= (int) 0 ;
34471 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34472 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34487 PyObject
* obj0
= 0 ;
34488 PyObject
* obj1
= 0 ;
34489 PyObject
* obj2
= 0 ;
34490 PyObject
* obj3
= 0 ;
34491 PyObject
* obj4
= 0 ;
34492 PyObject
* obj5
= 0 ;
34493 PyObject
* obj6
= 0 ;
34494 char * kwnames
[] = {
34495 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34500 if (!SWIG_IsOK(res1
)) {
34501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34503 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34505 if (!SWIG_IsOK(res2
)) {
34506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34508 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34509 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34510 if (!SWIG_IsOK(res3
)) {
34511 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34516 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34519 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34522 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34523 if (!SWIG_IsOK(ecode5
)) {
34524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34526 arg5
= static_cast< int >(val5
);
34529 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34530 if (!SWIG_IsOK(ecode6
)) {
34531 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34533 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34536 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34537 if (!SWIG_IsOK(res7
)) {
34538 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34540 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34545 wxPyEndAllowThreads(__tstate
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34548 resultobj
= SWIG_From_int(static_cast< int >(result
));
34555 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
= 0;
34557 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34558 wxWindow
*arg2
= (wxWindow
*) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 PyObject
* obj1
= 0 ;
34566 char * kwnames
[] = {
34567 (char *) "self",(char *) "win", NULL
34570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34572 if (!SWIG_IsOK(res1
)) {
34573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34575 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34577 if (!SWIG_IsOK(res2
)) {
34578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34583 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34584 wxPyEndAllowThreads(__tstate
);
34585 if (PyErr_Occurred()) SWIG_fail
;
34587 resultobj
= SWIG_From_int(static_cast< int >(result
));
34594 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
= 0;
34596 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34597 wxWindow
*arg2
= (wxWindow
*) 0 ;
34600 int arg5
= (int) 0 ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 PyObject
* obj2
= 0 ;
34613 PyObject
* obj3
= 0 ;
34614 PyObject
* obj4
= 0 ;
34615 char * kwnames
[] = {
34616 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34621 if (!SWIG_IsOK(res1
)) {
34622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34624 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34626 if (!SWIG_IsOK(res2
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34629 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34630 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34631 if (!SWIG_IsOK(res3
)) {
34632 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34637 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34640 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34644 if (!SWIG_IsOK(ecode5
)) {
34645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34647 arg5
= static_cast< int >(val5
);
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34655 resultobj
= SWIG_Py_Void();
34662 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
= 0;
34664 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34665 wxWindow
*arg2
= (wxWindow
*) 0 ;
34668 int arg5
= (int) 0 ;
34678 PyObject
* obj0
= 0 ;
34679 PyObject
* obj1
= 0 ;
34680 PyObject
* obj2
= 0 ;
34681 PyObject
* obj3
= 0 ;
34682 PyObject
* obj4
= 0 ;
34683 char * kwnames
[] = {
34684 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34689 if (!SWIG_IsOK(res1
)) {
34690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34692 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34694 if (!SWIG_IsOK(res2
)) {
34695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34697 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34698 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34699 if (!SWIG_IsOK(res3
)) {
34700 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34705 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34708 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34711 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34712 if (!SWIG_IsOK(ecode5
)) {
34713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34715 arg5
= static_cast< int >(val5
);
34718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34719 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34723 resultobj
= SWIG_Py_Void();
34730 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
= 0;
34732 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34733 wxWindow
*arg2
= (wxWindow
*) 0 ;
34737 wxOrientation arg6
;
34738 int arg7
= (int) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 PyObject
* obj1
= 0 ;
34754 PyObject
* obj2
= 0 ;
34755 PyObject
* obj3
= 0 ;
34756 PyObject
* obj4
= 0 ;
34757 PyObject
* obj5
= 0 ;
34758 PyObject
* obj6
= 0 ;
34759 char * kwnames
[] = {
34760 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34765 if (!SWIG_IsOK(res1
)) {
34766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34768 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34770 if (!SWIG_IsOK(res2
)) {
34771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34774 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34775 if (!SWIG_IsOK(res3
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34781 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34784 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34787 if (!SWIG_IsOK(ecode5
)) {
34788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34790 arg5
= static_cast< int >(val5
);
34791 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34792 if (!SWIG_IsOK(ecode6
)) {
34793 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34795 arg6
= static_cast< wxOrientation
>(val6
);
34797 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34798 if (!SWIG_IsOK(ecode7
)) {
34799 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34801 arg7
= static_cast< int >(val7
);
34804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34805 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34806 wxPyEndAllowThreads(__tstate
);
34807 if (PyErr_Occurred()) SWIG_fail
;
34809 resultobj
= SWIG_Py_Void();
34816 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34817 PyObject
*resultobj
= 0;
34818 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34819 wxWindow
*arg2
= (wxWindow
*) 0 ;
34822 int arg5
= (int) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 PyObject
* obj1
= 0 ;
34834 PyObject
* obj2
= 0 ;
34835 PyObject
* obj3
= 0 ;
34836 PyObject
* obj4
= 0 ;
34837 char * kwnames
[] = {
34838 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34843 if (!SWIG_IsOK(res1
)) {
34844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34846 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34848 if (!SWIG_IsOK(res2
)) {
34849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34852 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34853 if (!SWIG_IsOK(res3
)) {
34854 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34859 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34862 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34866 if (!SWIG_IsOK(ecode5
)) {
34867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34869 arg5
= static_cast< int >(val5
);
34872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34873 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34874 wxPyEndAllowThreads(__tstate
);
34875 if (PyErr_Occurred()) SWIG_fail
;
34877 resultobj
= SWIG_Py_Void();
34884 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34885 PyObject
*resultobj
= 0;
34886 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34887 wxWindow
*arg2
= (wxWindow
*) 0 ;
34890 int arg5
= (int) 0 ;
34900 PyObject
* obj0
= 0 ;
34901 PyObject
* obj1
= 0 ;
34902 PyObject
* obj2
= 0 ;
34903 PyObject
* obj3
= 0 ;
34904 PyObject
* obj4
= 0 ;
34905 char * kwnames
[] = {
34906 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34911 if (!SWIG_IsOK(res1
)) {
34912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34914 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34915 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34916 if (!SWIG_IsOK(res2
)) {
34917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34919 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34920 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34921 if (!SWIG_IsOK(res3
)) {
34922 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34927 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34930 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34933 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34934 if (!SWIG_IsOK(ecode5
)) {
34935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34937 arg5
= static_cast< int >(val5
);
34940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34941 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34945 resultobj
= SWIG_Py_Void();
34952 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
= 0;
34954 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34955 wxWindow
*arg2
= (wxWindow
*) 0 ;
34958 int arg5
= (int) 0 ;
34968 PyObject
* obj0
= 0 ;
34969 PyObject
* obj1
= 0 ;
34970 PyObject
* obj2
= 0 ;
34971 PyObject
* obj3
= 0 ;
34972 PyObject
* obj4
= 0 ;
34973 char * kwnames
[] = {
34974 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34979 if (!SWIG_IsOK(res1
)) {
34980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34982 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34984 if (!SWIG_IsOK(res2
)) {
34985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34987 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34988 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34989 if (!SWIG_IsOK(res3
)) {
34990 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34995 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34998 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35001 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35002 if (!SWIG_IsOK(ecode5
)) {
35003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35005 arg5
= static_cast< int >(val5
);
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35010 wxPyEndAllowThreads(__tstate
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35013 resultobj
= SWIG_Py_Void();
35020 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
= 0;
35022 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35023 wxWindow
*arg2
= (wxWindow
*) 0 ;
35026 int arg5
= (int) 0 ;
35036 PyObject
* obj0
= 0 ;
35037 PyObject
* obj1
= 0 ;
35038 PyObject
* obj2
= 0 ;
35039 PyObject
* obj3
= 0 ;
35040 PyObject
* obj4
= 0 ;
35041 char * kwnames
[] = {
35042 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35047 if (!SWIG_IsOK(res1
)) {
35048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35050 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35051 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35052 if (!SWIG_IsOK(res2
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35055 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35056 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35057 if (!SWIG_IsOK(res3
)) {
35058 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35063 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35066 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35069 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35070 if (!SWIG_IsOK(ecode5
)) {
35071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35073 arg5
= static_cast< int >(val5
);
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35078 wxPyEndAllowThreads(__tstate
);
35079 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= SWIG_Py_Void();
35088 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
= 0;
35090 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35091 wxWindow
*arg2
= (wxWindow
*) 0 ;
35094 int arg5
= (int) 0 ;
35104 PyObject
* obj0
= 0 ;
35105 PyObject
* obj1
= 0 ;
35106 PyObject
* obj2
= 0 ;
35107 PyObject
* obj3
= 0 ;
35108 PyObject
* obj4
= 0 ;
35109 char * kwnames
[] = {
35110 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35115 if (!SWIG_IsOK(res1
)) {
35116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35118 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35119 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35120 if (!SWIG_IsOK(res2
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35123 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35124 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35125 if (!SWIG_IsOK(res3
)) {
35126 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35131 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35134 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35137 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35138 if (!SWIG_IsOK(ecode5
)) {
35139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35141 arg5
= static_cast< int >(val5
);
35144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35145 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35146 wxPyEndAllowThreads(__tstate
);
35147 if (PyErr_Occurred()) SWIG_fail
;
35149 resultobj
= SWIG_Py_Void();
35156 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35157 PyObject
*resultobj
= 0;
35158 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35159 wxWindow
*arg2
= (wxWindow
*) 0 ;
35160 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35165 PyObject
* obj0
= 0 ;
35166 PyObject
* obj1
= 0 ;
35167 char * kwnames
[] = {
35168 (char *) "self",(char *) "win", NULL
35171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35173 if (!SWIG_IsOK(res1
)) {
35174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35176 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35178 if (!SWIG_IsOK(res2
)) {
35179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35195 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35196 PyObject
*resultobj
= 0;
35197 wxRendererNative
*result
= 0 ;
35199 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35201 if (!wxPyCheckForApp()) SWIG_fail
;
35202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35204 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35205 result
= (wxRendererNative
*) &_result_ref
;
35207 wxPyEndAllowThreads(__tstate
);
35208 if (PyErr_Occurred()) SWIG_fail
;
35210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35217 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35218 PyObject
*resultobj
= 0;
35219 wxRendererNative
*result
= 0 ;
35221 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35223 if (!wxPyCheckForApp()) SWIG_fail
;
35224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35226 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35227 result
= (wxRendererNative
*) &_result_ref
;
35229 wxPyEndAllowThreads(__tstate
);
35230 if (PyErr_Occurred()) SWIG_fail
;
35232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35239 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35240 PyObject
*resultobj
= 0;
35241 wxRendererNative
*result
= 0 ;
35243 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35245 if (!wxPyCheckForApp()) SWIG_fail
;
35246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35249 result
= (wxRendererNative
*) &_result_ref
;
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35261 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35262 PyObject
*resultobj
= 0;
35263 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35264 wxRendererNative
*result
= 0 ;
35267 PyObject
* obj0
= 0 ;
35268 char * kwnames
[] = {
35269 (char *) "renderer", NULL
35272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35274 if (!SWIG_IsOK(res1
)) {
35275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35277 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35279 if (!wxPyCheckForApp()) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35282 wxPyEndAllowThreads(__tstate
);
35283 if (PyErr_Occurred()) SWIG_fail
;
35285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35292 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35293 PyObject
*resultobj
= 0;
35294 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35295 SwigValueWrapper
<wxRendererVersion
> result
;
35298 PyObject
*swig_obj
[1] ;
35300 if (!args
) SWIG_fail
;
35301 swig_obj
[0] = args
;
35302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35303 if (!SWIG_IsOK(res1
)) {
35304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35306 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35309 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35313 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35320 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35323 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35324 return SWIG_Py_Void();
35327 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35328 PyObject
*resultobj
= 0;
35329 wxPseudoDC
*result
= 0 ;
35331 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 result
= (wxPseudoDC
*)new wxPseudoDC();
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35345 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35346 PyObject
*resultobj
= 0;
35347 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35350 PyObject
*swig_obj
[1] ;
35352 if (!args
) SWIG_fail
;
35353 swig_obj
[0] = args
;
35354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35355 if (!SWIG_IsOK(res1
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 (arg1
)->BeginDrawing();
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= SWIG_Py_Void();
35372 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35373 PyObject
*resultobj
= 0;
35374 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35377 PyObject
*swig_obj
[1] ;
35379 if (!args
) SWIG_fail
;
35380 swig_obj
[0] = args
;
35381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35382 if (!SWIG_IsOK(res1
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35388 (arg1
)->EndDrawing();
35389 wxPyEndAllowThreads(__tstate
);
35390 if (PyErr_Occurred()) SWIG_fail
;
35392 resultobj
= SWIG_Py_Void();
35399 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35400 PyObject
*resultobj
= 0;
35401 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35404 PyObject
*swig_obj
[1] ;
35406 if (!args
) SWIG_fail
;
35407 swig_obj
[0] = args
;
35408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35409 if (!SWIG_IsOK(res1
)) {
35410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35412 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= SWIG_Py_Void();
35427 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35428 PyObject
*resultobj
= 0;
35429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35432 PyObject
*swig_obj
[1] ;
35434 if (!args
) SWIG_fail
;
35435 swig_obj
[0] = args
;
35436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35437 if (!SWIG_IsOK(res1
)) {
35438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 (arg1
)->RemoveAll();
35444 wxPyEndAllowThreads(__tstate
);
35445 if (PyErr_Occurred()) SWIG_fail
;
35447 resultobj
= SWIG_Py_Void();
35454 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35455 PyObject
*resultobj
= 0;
35456 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35460 PyObject
*swig_obj
[1] ;
35462 if (!args
) SWIG_fail
;
35463 swig_obj
[0] = args
;
35464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35465 if (!SWIG_IsOK(res1
)) {
35466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35468 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35471 result
= (int)(arg1
)->GetLen();
35472 wxPyEndAllowThreads(__tstate
);
35473 if (PyErr_Occurred()) SWIG_fail
;
35475 resultobj
= SWIG_From_int(static_cast< int >(result
));
35482 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35483 PyObject
*resultobj
= 0;
35484 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35490 PyObject
* obj0
= 0 ;
35491 PyObject
* obj1
= 0 ;
35492 char * kwnames
[] = {
35493 (char *) "self",(char *) "id", NULL
35496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35498 if (!SWIG_IsOK(res1
)) {
35499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35503 if (!SWIG_IsOK(ecode2
)) {
35504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35506 arg2
= static_cast< int >(val2
);
35508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35509 (arg1
)->SetId(arg2
);
35510 wxPyEndAllowThreads(__tstate
);
35511 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= SWIG_Py_Void();
35520 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35521 PyObject
*resultobj
= 0;
35522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35528 PyObject
* obj0
= 0 ;
35529 PyObject
* obj1
= 0 ;
35530 char * kwnames
[] = {
35531 (char *) "self",(char *) "id", NULL
35534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35536 if (!SWIG_IsOK(res1
)) {
35537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35539 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35541 if (!SWIG_IsOK(ecode2
)) {
35542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35544 arg2
= static_cast< int >(val2
);
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 (arg1
)->ClearId(arg2
);
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= SWIG_Py_Void();
35558 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
= 0;
35560 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35566 PyObject
* obj0
= 0 ;
35567 PyObject
* obj1
= 0 ;
35568 char * kwnames
[] = {
35569 (char *) "self",(char *) "id", NULL
35572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35574 if (!SWIG_IsOK(res1
)) {
35575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35577 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35579 if (!SWIG_IsOK(ecode2
)) {
35580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35582 arg2
= static_cast< int >(val2
);
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 (arg1
)->RemoveId(arg2
);
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35589 resultobj
= SWIG_Py_Void();
35596 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35597 PyObject
*resultobj
= 0;
35598 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35610 PyObject
* obj0
= 0 ;
35611 PyObject
* obj1
= 0 ;
35612 PyObject
* obj2
= 0 ;
35613 PyObject
* obj3
= 0 ;
35614 char * kwnames
[] = {
35615 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35620 if (!SWIG_IsOK(res1
)) {
35621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35623 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35625 if (!SWIG_IsOK(ecode2
)) {
35626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35628 arg2
= static_cast< int >(val2
);
35629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35630 if (!SWIG_IsOK(ecode3
)) {
35631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35633 arg3
= static_cast< int >(val3
);
35634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35635 if (!SWIG_IsOK(ecode4
)) {
35636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35638 arg4
= static_cast< int >(val4
);
35640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35641 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= SWIG_Py_Void();
35652 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35653 PyObject
*resultobj
= 0;
35654 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35656 bool arg3
= (bool) true ;
35663 PyObject
* obj0
= 0 ;
35664 PyObject
* obj1
= 0 ;
35665 PyObject
* obj2
= 0 ;
35666 char * kwnames
[] = {
35667 (char *) "self",(char *) "id",(char *) "greyout", NULL
35670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35672 if (!SWIG_IsOK(res1
)) {
35673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35675 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35677 if (!SWIG_IsOK(ecode2
)) {
35678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35680 arg2
= static_cast< int >(val2
);
35682 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35683 if (!SWIG_IsOK(ecode3
)) {
35684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35686 arg3
= static_cast< bool >(val3
);
35689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35690 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35694 resultobj
= SWIG_Py_Void();
35701 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35702 PyObject
*resultobj
= 0;
35703 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35710 PyObject
* obj0
= 0 ;
35711 PyObject
* obj1
= 0 ;
35712 char * kwnames
[] = {
35713 (char *) "self",(char *) "id", NULL
35716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35718 if (!SWIG_IsOK(res1
)) {
35719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35721 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35723 if (!SWIG_IsOK(ecode2
)) {
35724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35726 arg2
= static_cast< int >(val2
);
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35730 wxPyEndAllowThreads(__tstate
);
35731 if (PyErr_Occurred()) SWIG_fail
;
35734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35742 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35743 PyObject
*resultobj
= 0;
35744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35747 int arg4
= (int) 1 ;
35748 wxColour
const &arg5_defvalue
= *wxWHITE
;
35749 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35750 PyObject
*result
= 0 ;
35760 PyObject
* obj0
= 0 ;
35761 PyObject
* obj1
= 0 ;
35762 PyObject
* obj2
= 0 ;
35763 PyObject
* obj3
= 0 ;
35764 PyObject
* obj4
= 0 ;
35765 char * kwnames
[] = {
35766 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35771 if (!SWIG_IsOK(res1
)) {
35772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35774 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35776 if (!SWIG_IsOK(ecode2
)) {
35777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35779 arg2
= static_cast< int >(val2
);
35780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35781 if (!SWIG_IsOK(ecode3
)) {
35782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35784 arg3
= static_cast< int >(val3
);
35786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35787 if (!SWIG_IsOK(ecode4
)) {
35788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35790 arg4
= static_cast< int >(val4
);
35795 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
35799 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35802 resultobj
= result
;
35809 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
= 0;
35811 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35814 PyObject
*result
= 0 ;
35821 PyObject
* obj0
= 0 ;
35822 PyObject
* obj1
= 0 ;
35823 PyObject
* obj2
= 0 ;
35824 char * kwnames
[] = {
35825 (char *) "self",(char *) "x",(char *) "y", NULL
35828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35830 if (!SWIG_IsOK(res1
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35835 if (!SWIG_IsOK(ecode2
)) {
35836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35838 arg2
= static_cast< int >(val2
);
35839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35840 if (!SWIG_IsOK(ecode3
)) {
35841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35843 arg3
= static_cast< int >(val3
);
35845 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35848 resultobj
= result
;
35855 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35856 PyObject
*resultobj
= 0;
35857 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35859 wxDC
*arg3
= (wxDC
*) 0 ;
35866 PyObject
* obj0
= 0 ;
35867 PyObject
* obj1
= 0 ;
35868 PyObject
* obj2
= 0 ;
35869 char * kwnames
[] = {
35870 (char *) "self",(char *) "id",(char *) "dc", NULL
35873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35875 if (!SWIG_IsOK(res1
)) {
35876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35878 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35880 if (!SWIG_IsOK(ecode2
)) {
35881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35883 arg2
= static_cast< int >(val2
);
35884 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35885 if (!SWIG_IsOK(res3
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35888 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35891 (arg1
)->DrawIdToDC(arg2
,arg3
);
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= SWIG_Py_Void();
35902 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35903 PyObject
*resultobj
= 0;
35904 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35912 PyObject
* obj0
= 0 ;
35913 PyObject
* obj1
= 0 ;
35914 PyObject
* obj2
= 0 ;
35915 char * kwnames
[] = {
35916 (char *) "self",(char *) "id",(char *) "rect", NULL
35919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35921 if (!SWIG_IsOK(res1
)) {
35922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35924 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35926 if (!SWIG_IsOK(ecode2
)) {
35927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35929 arg2
= static_cast< int >(val2
);
35932 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35936 (arg1
)->SetIdBounds(arg2
,*arg3
);
35937 wxPyEndAllowThreads(__tstate
);
35938 if (PyErr_Occurred()) SWIG_fail
;
35940 resultobj
= SWIG_Py_Void();
35947 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
= 0;
35949 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35956 PyObject
* obj0
= 0 ;
35957 PyObject
* obj1
= 0 ;
35958 char * kwnames
[] = {
35959 (char *) "self",(char *) "id", NULL
35962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35964 if (!SWIG_IsOK(res1
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35967 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35969 if (!SWIG_IsOK(ecode2
)) {
35970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35972 arg2
= static_cast< int >(val2
);
35974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35975 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35986 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35987 PyObject
*resultobj
= 0;
35988 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35989 wxDC
*arg2
= (wxDC
*) 0 ;
35996 PyObject
* obj0
= 0 ;
35997 PyObject
* obj1
= 0 ;
35998 PyObject
* obj2
= 0 ;
35999 char * kwnames
[] = {
36000 (char *) "self",(char *) "dc",(char *) "rect", NULL
36003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36005 if (!SWIG_IsOK(res1
)) {
36006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36008 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36009 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36010 if (!SWIG_IsOK(res2
)) {
36011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36013 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36016 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36021 wxPyEndAllowThreads(__tstate
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= SWIG_Py_Void();
36031 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36032 PyObject
*resultobj
= 0;
36033 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36034 wxDC
*arg2
= (wxDC
*) 0 ;
36035 wxRegion
*arg3
= 0 ;
36042 PyObject
* obj0
= 0 ;
36043 PyObject
* obj1
= 0 ;
36044 PyObject
* obj2
= 0 ;
36045 char * kwnames
[] = {
36046 (char *) "self",(char *) "dc",(char *) "region", NULL
36049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36051 if (!SWIG_IsOK(res1
)) {
36052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36055 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36056 if (!SWIG_IsOK(res2
)) {
36057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36059 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36060 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36061 if (!SWIG_IsOK(res3
)) {
36062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36067 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36070 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 resultobj
= SWIG_Py_Void();
36081 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36082 PyObject
*resultobj
= 0;
36083 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36084 wxDC
*arg2
= (wxDC
*) 0 ;
36089 PyObject
* obj0
= 0 ;
36090 PyObject
* obj1
= 0 ;
36091 char * kwnames
[] = {
36092 (char *) "self",(char *) "dc", NULL
36095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36097 if (!SWIG_IsOK(res1
)) {
36098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36102 if (!SWIG_IsOK(res2
)) {
36103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36105 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36108 (arg1
)->DrawToDC(arg2
);
36109 wxPyEndAllowThreads(__tstate
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36112 resultobj
= SWIG_Py_Void();
36119 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36120 PyObject
*resultobj
= 0;
36121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36124 wxColour
*arg4
= 0 ;
36125 int arg5
= (int) wxFLOOD_SURFACE
;
36135 PyObject
* obj0
= 0 ;
36136 PyObject
* obj1
= 0 ;
36137 PyObject
* obj2
= 0 ;
36138 PyObject
* obj3
= 0 ;
36139 PyObject
* obj4
= 0 ;
36140 char * kwnames
[] = {
36141 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36146 if (!SWIG_IsOK(res1
)) {
36147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36149 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36151 if (!SWIG_IsOK(ecode2
)) {
36152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36154 arg2
= static_cast< int >(val2
);
36155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36156 if (!SWIG_IsOK(ecode3
)) {
36157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36159 arg3
= static_cast< int >(val3
);
36162 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36165 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36166 if (!SWIG_IsOK(ecode5
)) {
36167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36169 arg5
= static_cast< int >(val5
);
36172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36173 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 resultobj
= SWIG_Py_Void();
36184 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
= 0;
36186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36187 wxPoint
*arg2
= 0 ;
36188 wxColour
*arg3
= 0 ;
36189 int arg4
= (int) wxFLOOD_SURFACE
;
36196 PyObject
* obj0
= 0 ;
36197 PyObject
* obj1
= 0 ;
36198 PyObject
* obj2
= 0 ;
36199 PyObject
* obj3
= 0 ;
36200 char * kwnames
[] = {
36201 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36206 if (!SWIG_IsOK(res1
)) {
36207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36209 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36212 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36216 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36219 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36220 if (!SWIG_IsOK(ecode4
)) {
36221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36223 arg4
= static_cast< int >(val4
);
36226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36227 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36228 wxPyEndAllowThreads(__tstate
);
36229 if (PyErr_Occurred()) SWIG_fail
;
36231 resultobj
= SWIG_Py_Void();
36238 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36239 PyObject
*resultobj
= 0;
36240 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36255 PyObject
* obj0
= 0 ;
36256 PyObject
* obj1
= 0 ;
36257 PyObject
* obj2
= 0 ;
36258 PyObject
* obj3
= 0 ;
36259 PyObject
* obj4
= 0 ;
36260 char * kwnames
[] = {
36261 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36266 if (!SWIG_IsOK(res1
)) {
36267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36269 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36271 if (!SWIG_IsOK(ecode2
)) {
36272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36274 arg2
= static_cast< int >(val2
);
36275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36276 if (!SWIG_IsOK(ecode3
)) {
36277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36279 arg3
= static_cast< int >(val3
);
36280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36281 if (!SWIG_IsOK(ecode4
)) {
36282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36284 arg4
= static_cast< int >(val4
);
36285 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36286 if (!SWIG_IsOK(ecode5
)) {
36287 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36289 arg5
= static_cast< int >(val5
);
36291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36292 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36293 wxPyEndAllowThreads(__tstate
);
36294 if (PyErr_Occurred()) SWIG_fail
;
36296 resultobj
= SWIG_Py_Void();
36303 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
= 0;
36305 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36306 wxPoint
*arg2
= 0 ;
36307 wxPoint
*arg3
= 0 ;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 PyObject
* obj2
= 0 ;
36315 char * kwnames
[] = {
36316 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36321 if (!SWIG_IsOK(res1
)) {
36322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36324 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36335 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36336 wxPyEndAllowThreads(__tstate
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36339 resultobj
= SWIG_Py_Void();
36346 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36347 PyObject
*resultobj
= 0;
36348 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36357 PyObject
* obj0
= 0 ;
36358 PyObject
* obj1
= 0 ;
36359 PyObject
* obj2
= 0 ;
36360 char * kwnames
[] = {
36361 (char *) "self",(char *) "x",(char *) "y", NULL
36364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36366 if (!SWIG_IsOK(res1
)) {
36367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36371 if (!SWIG_IsOK(ecode2
)) {
36372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36374 arg2
= static_cast< int >(val2
);
36375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36376 if (!SWIG_IsOK(ecode3
)) {
36377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36379 arg3
= static_cast< int >(val3
);
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->CrossHair(arg2
,arg3
);
36383 wxPyEndAllowThreads(__tstate
);
36384 if (PyErr_Occurred()) SWIG_fail
;
36386 resultobj
= SWIG_Py_Void();
36393 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36394 PyObject
*resultobj
= 0;
36395 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36396 wxPoint
*arg2
= 0 ;
36400 PyObject
* obj0
= 0 ;
36401 PyObject
* obj1
= 0 ;
36402 char * kwnames
[] = {
36403 (char *) "self",(char *) "pt", NULL
36406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36408 if (!SWIG_IsOK(res1
)) {
36409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36411 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36414 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36418 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36419 wxPyEndAllowThreads(__tstate
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36422 resultobj
= SWIG_Py_Void();
36429 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
= 0;
36431 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36452 PyObject
* obj0
= 0 ;
36453 PyObject
* obj1
= 0 ;
36454 PyObject
* obj2
= 0 ;
36455 PyObject
* obj3
= 0 ;
36456 PyObject
* obj4
= 0 ;
36457 PyObject
* obj5
= 0 ;
36458 PyObject
* obj6
= 0 ;
36459 char * kwnames
[] = {
36460 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36465 if (!SWIG_IsOK(res1
)) {
36466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36468 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36470 if (!SWIG_IsOK(ecode2
)) {
36471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36473 arg2
= static_cast< int >(val2
);
36474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36475 if (!SWIG_IsOK(ecode3
)) {
36476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36478 arg3
= static_cast< int >(val3
);
36479 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36480 if (!SWIG_IsOK(ecode4
)) {
36481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36483 arg4
= static_cast< int >(val4
);
36484 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36485 if (!SWIG_IsOK(ecode5
)) {
36486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36488 arg5
= static_cast< int >(val5
);
36489 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36490 if (!SWIG_IsOK(ecode6
)) {
36491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36493 arg6
= static_cast< int >(val6
);
36494 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36495 if (!SWIG_IsOK(ecode7
)) {
36496 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36498 arg7
= static_cast< int >(val7
);
36500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36501 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36502 wxPyEndAllowThreads(__tstate
);
36503 if (PyErr_Occurred()) SWIG_fail
;
36505 resultobj
= SWIG_Py_Void();
36512 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36513 PyObject
*resultobj
= 0;
36514 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36515 wxPoint
*arg2
= 0 ;
36516 wxPoint
*arg3
= 0 ;
36517 wxPoint
*arg4
= 0 ;
36523 PyObject
* obj0
= 0 ;
36524 PyObject
* obj1
= 0 ;
36525 PyObject
* obj2
= 0 ;
36526 PyObject
* obj3
= 0 ;
36527 char * kwnames
[] = {
36528 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36533 if (!SWIG_IsOK(res1
)) {
36534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36536 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36539 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36551 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36552 wxPyEndAllowThreads(__tstate
);
36553 if (PyErr_Occurred()) SWIG_fail
;
36555 resultobj
= SWIG_Py_Void();
36562 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36563 PyObject
*resultobj
= 0;
36564 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36579 PyObject
* obj0
= 0 ;
36580 PyObject
* obj1
= 0 ;
36581 PyObject
* obj2
= 0 ;
36582 PyObject
* obj3
= 0 ;
36583 PyObject
* obj4
= 0 ;
36584 char * kwnames
[] = {
36585 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36590 if (!SWIG_IsOK(res1
)) {
36591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36593 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36595 if (!SWIG_IsOK(ecode2
)) {
36596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36598 arg2
= static_cast< int >(val2
);
36599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36600 if (!SWIG_IsOK(ecode3
)) {
36601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36603 arg3
= static_cast< int >(val3
);
36604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36605 if (!SWIG_IsOK(ecode4
)) {
36606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36608 arg4
= static_cast< int >(val4
);
36609 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36610 if (!SWIG_IsOK(ecode5
)) {
36611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36613 arg5
= static_cast< int >(val5
);
36615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36616 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 resultobj
= SWIG_Py_Void();
36627 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36628 PyObject
*resultobj
= 0;
36629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36634 PyObject
* obj0
= 0 ;
36635 PyObject
* obj1
= 0 ;
36636 char * kwnames
[] = {
36637 (char *) "self",(char *) "rect", NULL
36640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36642 if (!SWIG_IsOK(res1
)) {
36643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36645 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36648 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36656 resultobj
= SWIG_Py_Void();
36663 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36664 PyObject
*resultobj
= 0;
36665 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36686 PyObject
* obj0
= 0 ;
36687 PyObject
* obj1
= 0 ;
36688 PyObject
* obj2
= 0 ;
36689 PyObject
* obj3
= 0 ;
36690 PyObject
* obj4
= 0 ;
36691 PyObject
* obj5
= 0 ;
36692 PyObject
* obj6
= 0 ;
36693 char * kwnames
[] = {
36694 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36699 if (!SWIG_IsOK(res1
)) {
36700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36702 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36704 if (!SWIG_IsOK(ecode2
)) {
36705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36707 arg2
= static_cast< int >(val2
);
36708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36709 if (!SWIG_IsOK(ecode3
)) {
36710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36712 arg3
= static_cast< int >(val3
);
36713 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36714 if (!SWIG_IsOK(ecode4
)) {
36715 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36717 arg4
= static_cast< int >(val4
);
36718 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36719 if (!SWIG_IsOK(ecode5
)) {
36720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36722 arg5
= static_cast< int >(val5
);
36723 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36724 if (!SWIG_IsOK(ecode6
)) {
36725 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36727 arg6
= static_cast< double >(val6
);
36728 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36729 if (!SWIG_IsOK(ecode7
)) {
36730 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36732 arg7
= static_cast< double >(val7
);
36734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36735 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36736 wxPyEndAllowThreads(__tstate
);
36737 if (PyErr_Occurred()) SWIG_fail
;
36739 resultobj
= SWIG_Py_Void();
36746 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36747 PyObject
*resultobj
= 0;
36748 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36749 wxPoint
*arg2
= 0 ;
36761 PyObject
* obj0
= 0 ;
36762 PyObject
* obj1
= 0 ;
36763 PyObject
* obj2
= 0 ;
36764 PyObject
* obj3
= 0 ;
36765 PyObject
* obj4
= 0 ;
36766 char * kwnames
[] = {
36767 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36772 if (!SWIG_IsOK(res1
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36782 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36784 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36785 if (!SWIG_IsOK(ecode4
)) {
36786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36788 arg4
= static_cast< double >(val4
);
36789 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36790 if (!SWIG_IsOK(ecode5
)) {
36791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36793 arg5
= static_cast< double >(val5
);
36795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36796 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36797 wxPyEndAllowThreads(__tstate
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36800 resultobj
= SWIG_Py_Void();
36807 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36808 PyObject
*resultobj
= 0;
36809 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36818 PyObject
* obj0
= 0 ;
36819 PyObject
* obj1
= 0 ;
36820 PyObject
* obj2
= 0 ;
36821 char * kwnames
[] = {
36822 (char *) "self",(char *) "x",(char *) "y", NULL
36825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36827 if (!SWIG_IsOK(res1
)) {
36828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36830 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36832 if (!SWIG_IsOK(ecode2
)) {
36833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36835 arg2
= static_cast< int >(val2
);
36836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36837 if (!SWIG_IsOK(ecode3
)) {
36838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36840 arg3
= static_cast< int >(val3
);
36842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36843 (arg1
)->DrawPoint(arg2
,arg3
);
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= SWIG_Py_Void();
36854 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36855 PyObject
*resultobj
= 0;
36856 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36857 wxPoint
*arg2
= 0 ;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 char * kwnames
[] = {
36864 (char *) "self",(char *) "pt", NULL
36867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36869 if (!SWIG_IsOK(res1
)) {
36870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36872 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36879 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36880 wxPyEndAllowThreads(__tstate
);
36881 if (PyErr_Occurred()) SWIG_fail
;
36883 resultobj
= SWIG_Py_Void();
36890 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36891 PyObject
*resultobj
= 0;
36892 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36907 PyObject
* obj0
= 0 ;
36908 PyObject
* obj1
= 0 ;
36909 PyObject
* obj2
= 0 ;
36910 PyObject
* obj3
= 0 ;
36911 PyObject
* obj4
= 0 ;
36912 char * kwnames
[] = {
36913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36918 if (!SWIG_IsOK(res1
)) {
36919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36921 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36923 if (!SWIG_IsOK(ecode2
)) {
36924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36926 arg2
= static_cast< int >(val2
);
36927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36928 if (!SWIG_IsOK(ecode3
)) {
36929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36931 arg3
= static_cast< int >(val3
);
36932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36933 if (!SWIG_IsOK(ecode4
)) {
36934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36936 arg4
= static_cast< int >(val4
);
36937 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36938 if (!SWIG_IsOK(ecode5
)) {
36939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36941 arg5
= static_cast< int >(val5
);
36943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36944 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= SWIG_Py_Void();
36955 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
= 0;
36957 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36962 PyObject
* obj0
= 0 ;
36963 PyObject
* obj1
= 0 ;
36964 char * kwnames
[] = {
36965 (char *) "self",(char *) "rect", NULL
36968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36970 if (!SWIG_IsOK(res1
)) {
36971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36973 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36976 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36980 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36981 wxPyEndAllowThreads(__tstate
);
36982 if (PyErr_Occurred()) SWIG_fail
;
36984 resultobj
= SWIG_Py_Void();
36991 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36992 PyObject
*resultobj
= 0;
36993 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36994 wxPoint
*arg2
= 0 ;
37000 PyObject
* obj0
= 0 ;
37001 PyObject
* obj1
= 0 ;
37002 PyObject
* obj2
= 0 ;
37003 char * kwnames
[] = {
37004 (char *) "self",(char *) "pt",(char *) "sz", NULL
37007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37009 if (!SWIG_IsOK(res1
)) {
37010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37012 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37019 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37023 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37027 resultobj
= SWIG_Py_Void();
37034 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
= 0;
37036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37054 PyObject
* obj0
= 0 ;
37055 PyObject
* obj1
= 0 ;
37056 PyObject
* obj2
= 0 ;
37057 PyObject
* obj3
= 0 ;
37058 PyObject
* obj4
= 0 ;
37059 PyObject
* obj5
= 0 ;
37060 char * kwnames
[] = {
37061 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37066 if (!SWIG_IsOK(res1
)) {
37067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37069 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37071 if (!SWIG_IsOK(ecode2
)) {
37072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37074 arg2
= static_cast< int >(val2
);
37075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37076 if (!SWIG_IsOK(ecode3
)) {
37077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37079 arg3
= static_cast< int >(val3
);
37080 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37081 if (!SWIG_IsOK(ecode4
)) {
37082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37084 arg4
= static_cast< int >(val4
);
37085 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37086 if (!SWIG_IsOK(ecode5
)) {
37087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37089 arg5
= static_cast< int >(val5
);
37090 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37091 if (!SWIG_IsOK(ecode6
)) {
37092 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37094 arg6
= static_cast< double >(val6
);
37096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37097 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37098 wxPyEndAllowThreads(__tstate
);
37099 if (PyErr_Occurred()) SWIG_fail
;
37101 resultobj
= SWIG_Py_Void();
37108 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37109 PyObject
*resultobj
= 0;
37110 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37118 PyObject
* obj0
= 0 ;
37119 PyObject
* obj1
= 0 ;
37120 PyObject
* obj2
= 0 ;
37121 char * kwnames
[] = {
37122 (char *) "self",(char *) "r",(char *) "radius", NULL
37125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37127 if (!SWIG_IsOK(res1
)) {
37128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37130 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37133 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37135 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37136 if (!SWIG_IsOK(ecode3
)) {
37137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37139 arg3
= static_cast< double >(val3
);
37141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37142 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37143 wxPyEndAllowThreads(__tstate
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37146 resultobj
= SWIG_Py_Void();
37153 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37154 PyObject
*resultobj
= 0;
37155 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37156 wxPoint
*arg2
= 0 ;
37165 PyObject
* obj0
= 0 ;
37166 PyObject
* obj1
= 0 ;
37167 PyObject
* obj2
= 0 ;
37168 PyObject
* obj3
= 0 ;
37169 char * kwnames
[] = {
37170 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37175 if (!SWIG_IsOK(res1
)) {
37176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37178 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37185 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37187 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37188 if (!SWIG_IsOK(ecode4
)) {
37189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37191 arg4
= static_cast< double >(val4
);
37193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37194 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37195 wxPyEndAllowThreads(__tstate
);
37196 if (PyErr_Occurred()) SWIG_fail
;
37198 resultobj
= SWIG_Py_Void();
37205 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37206 PyObject
*resultobj
= 0;
37207 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37219 PyObject
* obj0
= 0 ;
37220 PyObject
* obj1
= 0 ;
37221 PyObject
* obj2
= 0 ;
37222 PyObject
* obj3
= 0 ;
37223 char * kwnames
[] = {
37224 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37229 if (!SWIG_IsOK(res1
)) {
37230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37234 if (!SWIG_IsOK(ecode2
)) {
37235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37237 arg2
= static_cast< int >(val2
);
37238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37239 if (!SWIG_IsOK(ecode3
)) {
37240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37242 arg3
= static_cast< int >(val3
);
37243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37244 if (!SWIG_IsOK(ecode4
)) {
37245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37247 arg4
= static_cast< int >(val4
);
37249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37250 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37251 wxPyEndAllowThreads(__tstate
);
37252 if (PyErr_Occurred()) SWIG_fail
;
37254 resultobj
= SWIG_Py_Void();
37261 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37262 PyObject
*resultobj
= 0;
37263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37264 wxPoint
*arg2
= 0 ;
37271 PyObject
* obj0
= 0 ;
37272 PyObject
* obj1
= 0 ;
37273 PyObject
* obj2
= 0 ;
37274 char * kwnames
[] = {
37275 (char *) "self",(char *) "pt",(char *) "radius", NULL
37278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37280 if (!SWIG_IsOK(res1
)) {
37281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37283 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37286 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37289 if (!SWIG_IsOK(ecode3
)) {
37290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37292 arg3
= static_cast< int >(val3
);
37294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37295 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37296 wxPyEndAllowThreads(__tstate
);
37297 if (PyErr_Occurred()) SWIG_fail
;
37299 resultobj
= SWIG_Py_Void();
37306 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37307 PyObject
*resultobj
= 0;
37308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37323 PyObject
* obj0
= 0 ;
37324 PyObject
* obj1
= 0 ;
37325 PyObject
* obj2
= 0 ;
37326 PyObject
* obj3
= 0 ;
37327 PyObject
* obj4
= 0 ;
37328 char * kwnames
[] = {
37329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37334 if (!SWIG_IsOK(res1
)) {
37335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37337 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37339 if (!SWIG_IsOK(ecode2
)) {
37340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37342 arg2
= static_cast< int >(val2
);
37343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37344 if (!SWIG_IsOK(ecode3
)) {
37345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37347 arg3
= static_cast< int >(val3
);
37348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37349 if (!SWIG_IsOK(ecode4
)) {
37350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37352 arg4
= static_cast< int >(val4
);
37353 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37354 if (!SWIG_IsOK(ecode5
)) {
37355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37357 arg5
= static_cast< int >(val5
);
37359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37360 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37361 wxPyEndAllowThreads(__tstate
);
37362 if (PyErr_Occurred()) SWIG_fail
;
37364 resultobj
= SWIG_Py_Void();
37371 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37372 PyObject
*resultobj
= 0;
37373 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37378 PyObject
* obj0
= 0 ;
37379 PyObject
* obj1
= 0 ;
37380 char * kwnames
[] = {
37381 (char *) "self",(char *) "rect", NULL
37384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37386 if (!SWIG_IsOK(res1
)) {
37387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37392 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37396 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37397 wxPyEndAllowThreads(__tstate
);
37398 if (PyErr_Occurred()) SWIG_fail
;
37400 resultobj
= SWIG_Py_Void();
37407 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37408 PyObject
*resultobj
= 0;
37409 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37410 wxPoint
*arg2
= 0 ;
37416 PyObject
* obj0
= 0 ;
37417 PyObject
* obj1
= 0 ;
37418 PyObject
* obj2
= 0 ;
37419 char * kwnames
[] = {
37420 (char *) "self",(char *) "pt",(char *) "sz", NULL
37423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37425 if (!SWIG_IsOK(res1
)) {
37426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37428 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37431 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37435 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37439 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37443 resultobj
= SWIG_Py_Void();
37450 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37451 PyObject
*resultobj
= 0;
37452 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37464 PyObject
* obj0
= 0 ;
37465 PyObject
* obj1
= 0 ;
37466 PyObject
* obj2
= 0 ;
37467 PyObject
* obj3
= 0 ;
37468 char * kwnames
[] = {
37469 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37474 if (!SWIG_IsOK(res1
)) {
37475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37477 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37479 if (!SWIG_IsOK(res2
)) {
37480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37485 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37487 if (!SWIG_IsOK(ecode3
)) {
37488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37490 arg3
= static_cast< int >(val3
);
37491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37492 if (!SWIG_IsOK(ecode4
)) {
37493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37495 arg4
= static_cast< int >(val4
);
37497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37498 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37499 wxPyEndAllowThreads(__tstate
);
37500 if (PyErr_Occurred()) SWIG_fail
;
37502 resultobj
= SWIG_Py_Void();
37509 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37510 PyObject
*resultobj
= 0;
37511 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37513 wxPoint
*arg3
= 0 ;
37519 PyObject
* obj0
= 0 ;
37520 PyObject
* obj1
= 0 ;
37521 PyObject
* obj2
= 0 ;
37522 char * kwnames
[] = {
37523 (char *) "self",(char *) "icon",(char *) "pt", NULL
37526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37528 if (!SWIG_IsOK(res1
)) {
37529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37531 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37533 if (!SWIG_IsOK(res2
)) {
37534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37539 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37542 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37546 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37547 wxPyEndAllowThreads(__tstate
);
37548 if (PyErr_Occurred()) SWIG_fail
;
37550 resultobj
= SWIG_Py_Void();
37557 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37558 PyObject
*resultobj
= 0;
37559 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37560 wxBitmap
*arg2
= 0 ;
37563 bool arg5
= (bool) false ;
37574 PyObject
* obj0
= 0 ;
37575 PyObject
* obj1
= 0 ;
37576 PyObject
* obj2
= 0 ;
37577 PyObject
* obj3
= 0 ;
37578 PyObject
* obj4
= 0 ;
37579 char * kwnames
[] = {
37580 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37585 if (!SWIG_IsOK(res1
)) {
37586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37588 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37590 if (!SWIG_IsOK(res2
)) {
37591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37596 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37598 if (!SWIG_IsOK(ecode3
)) {
37599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37601 arg3
= static_cast< int >(val3
);
37602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37603 if (!SWIG_IsOK(ecode4
)) {
37604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37606 arg4
= static_cast< int >(val4
);
37608 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37609 if (!SWIG_IsOK(ecode5
)) {
37610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37612 arg5
= static_cast< bool >(val5
);
37615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37616 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37617 wxPyEndAllowThreads(__tstate
);
37618 if (PyErr_Occurred()) SWIG_fail
;
37620 resultobj
= SWIG_Py_Void();
37627 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37628 PyObject
*resultobj
= 0;
37629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37630 wxBitmap
*arg2
= 0 ;
37631 wxPoint
*arg3
= 0 ;
37632 bool arg4
= (bool) false ;
37640 PyObject
* obj0
= 0 ;
37641 PyObject
* obj1
= 0 ;
37642 PyObject
* obj2
= 0 ;
37643 PyObject
* obj3
= 0 ;
37644 char * kwnames
[] = {
37645 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37650 if (!SWIG_IsOK(res1
)) {
37651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37655 if (!SWIG_IsOK(res2
)) {
37656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37661 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37664 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37667 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37668 if (!SWIG_IsOK(ecode4
)) {
37669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37671 arg4
= static_cast< bool >(val4
);
37674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37675 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37676 wxPyEndAllowThreads(__tstate
);
37677 if (PyErr_Occurred()) SWIG_fail
;
37679 resultobj
= SWIG_Py_Void();
37686 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37687 PyObject
*resultobj
= 0;
37688 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37689 wxString
*arg2
= 0 ;
37694 bool temp2
= false ;
37699 PyObject
* obj0
= 0 ;
37700 PyObject
* obj1
= 0 ;
37701 PyObject
* obj2
= 0 ;
37702 PyObject
* obj3
= 0 ;
37703 char * kwnames
[] = {
37704 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37709 if (!SWIG_IsOK(res1
)) {
37710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37712 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37714 arg2
= wxString_in_helper(obj1
);
37715 if (arg2
== NULL
) SWIG_fail
;
37718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37719 if (!SWIG_IsOK(ecode3
)) {
37720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37722 arg3
= static_cast< int >(val3
);
37723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37724 if (!SWIG_IsOK(ecode4
)) {
37725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37727 arg4
= static_cast< int >(val4
);
37729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37730 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37731 wxPyEndAllowThreads(__tstate
);
37732 if (PyErr_Occurred()) SWIG_fail
;
37734 resultobj
= SWIG_Py_Void();
37749 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37750 PyObject
*resultobj
= 0;
37751 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37752 wxString
*arg2
= 0 ;
37753 wxPoint
*arg3
= 0 ;
37756 bool temp2
= false ;
37758 PyObject
* obj0
= 0 ;
37759 PyObject
* obj1
= 0 ;
37760 PyObject
* obj2
= 0 ;
37761 char * kwnames
[] = {
37762 (char *) "self",(char *) "text",(char *) "pt", NULL
37765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37767 if (!SWIG_IsOK(res1
)) {
37768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37770 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37772 arg2
= wxString_in_helper(obj1
);
37773 if (arg2
== NULL
) SWIG_fail
;
37778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37782 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37783 wxPyEndAllowThreads(__tstate
);
37784 if (PyErr_Occurred()) SWIG_fail
;
37786 resultobj
= SWIG_Py_Void();
37801 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37802 PyObject
*resultobj
= 0;
37803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37804 wxString
*arg2
= 0 ;
37810 bool temp2
= false ;
37817 PyObject
* obj0
= 0 ;
37818 PyObject
* obj1
= 0 ;
37819 PyObject
* obj2
= 0 ;
37820 PyObject
* obj3
= 0 ;
37821 PyObject
* obj4
= 0 ;
37822 char * kwnames
[] = {
37823 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37828 if (!SWIG_IsOK(res1
)) {
37829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37833 arg2
= wxString_in_helper(obj1
);
37834 if (arg2
== NULL
) SWIG_fail
;
37837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37838 if (!SWIG_IsOK(ecode3
)) {
37839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37841 arg3
= static_cast< int >(val3
);
37842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37843 if (!SWIG_IsOK(ecode4
)) {
37844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37846 arg4
= static_cast< int >(val4
);
37847 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37848 if (!SWIG_IsOK(ecode5
)) {
37849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37851 arg5
= static_cast< double >(val5
);
37853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37854 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37855 wxPyEndAllowThreads(__tstate
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37858 resultobj
= SWIG_Py_Void();
37873 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37874 PyObject
*resultobj
= 0;
37875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37876 wxString
*arg2
= 0 ;
37877 wxPoint
*arg3
= 0 ;
37881 bool temp2
= false ;
37885 PyObject
* obj0
= 0 ;
37886 PyObject
* obj1
= 0 ;
37887 PyObject
* obj2
= 0 ;
37888 PyObject
* obj3
= 0 ;
37889 char * kwnames
[] = {
37890 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37895 if (!SWIG_IsOK(res1
)) {
37896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37898 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37900 arg2
= wxString_in_helper(obj1
);
37901 if (arg2
== NULL
) SWIG_fail
;
37906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37908 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37909 if (!SWIG_IsOK(ecode4
)) {
37910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37912 arg4
= static_cast< double >(val4
);
37914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37915 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37916 wxPyEndAllowThreads(__tstate
);
37917 if (PyErr_Occurred()) SWIG_fail
;
37919 resultobj
= SWIG_Py_Void();
37934 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37935 PyObject
*resultobj
= 0;
37936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37938 wxPoint
*arg3
= (wxPoint
*) 0 ;
37939 int arg4
= (int) 0 ;
37940 int arg5
= (int) 0 ;
37947 PyObject
* obj0
= 0 ;
37948 PyObject
* obj1
= 0 ;
37949 PyObject
* obj2
= 0 ;
37950 PyObject
* obj3
= 0 ;
37951 char * kwnames
[] = {
37952 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37957 if (!SWIG_IsOK(res1
)) {
37958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37960 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37962 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37963 if (arg3
== NULL
) SWIG_fail
;
37966 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37967 if (!SWIG_IsOK(ecode4
)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37970 arg4
= static_cast< int >(val4
);
37973 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37974 if (!SWIG_IsOK(ecode5
)) {
37975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37977 arg5
= static_cast< int >(val5
);
37980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37981 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37982 wxPyEndAllowThreads(__tstate
);
37983 if (PyErr_Occurred()) SWIG_fail
;
37985 resultobj
= SWIG_Py_Void();
37987 if (arg3
) delete [] arg3
;
37992 if (arg3
) delete [] arg3
;
37998 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37999 PyObject
*resultobj
= 0;
38000 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38002 wxPoint
*arg3
= (wxPoint
*) 0 ;
38003 int arg4
= (int) 0 ;
38004 int arg5
= (int) 0 ;
38005 int arg6
= (int) wxODDEVEN_RULE
;
38014 PyObject
* obj0
= 0 ;
38015 PyObject
* obj1
= 0 ;
38016 PyObject
* obj2
= 0 ;
38017 PyObject
* obj3
= 0 ;
38018 PyObject
* obj4
= 0 ;
38019 char * kwnames
[] = {
38020 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38025 if (!SWIG_IsOK(res1
)) {
38026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38028 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38030 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38031 if (arg3
== NULL
) SWIG_fail
;
38034 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38035 if (!SWIG_IsOK(ecode4
)) {
38036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38038 arg4
= static_cast< int >(val4
);
38041 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38042 if (!SWIG_IsOK(ecode5
)) {
38043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38045 arg5
= static_cast< int >(val5
);
38048 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38049 if (!SWIG_IsOK(ecode6
)) {
38050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38052 arg6
= static_cast< int >(val6
);
38055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38056 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38060 resultobj
= SWIG_Py_Void();
38062 if (arg3
) delete [] arg3
;
38067 if (arg3
) delete [] arg3
;
38073 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38074 PyObject
*resultobj
= 0;
38075 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38076 wxString
*arg2
= 0 ;
38078 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38079 int arg5
= (int) -1 ;
38082 bool temp2
= false ;
38088 PyObject
* obj0
= 0 ;
38089 PyObject
* obj1
= 0 ;
38090 PyObject
* obj2
= 0 ;
38091 PyObject
* obj3
= 0 ;
38092 PyObject
* obj4
= 0 ;
38093 char * kwnames
[] = {
38094 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38099 if (!SWIG_IsOK(res1
)) {
38100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38102 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38104 arg2
= wxString_in_helper(obj1
);
38105 if (arg2
== NULL
) SWIG_fail
;
38110 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38113 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38114 if (!SWIG_IsOK(ecode4
)) {
38115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38117 arg4
= static_cast< int >(val4
);
38120 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38121 if (!SWIG_IsOK(ecode5
)) {
38122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38124 arg5
= static_cast< int >(val5
);
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38129 wxPyEndAllowThreads(__tstate
);
38130 if (PyErr_Occurred()) SWIG_fail
;
38132 resultobj
= SWIG_Py_Void();
38147 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38148 PyObject
*resultobj
= 0;
38149 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38150 wxString
*arg2
= 0 ;
38151 wxBitmap
*arg3
= 0 ;
38153 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38154 int arg6
= (int) -1 ;
38157 bool temp2
= false ;
38165 PyObject
* obj0
= 0 ;
38166 PyObject
* obj1
= 0 ;
38167 PyObject
* obj2
= 0 ;
38168 PyObject
* obj3
= 0 ;
38169 PyObject
* obj4
= 0 ;
38170 PyObject
* obj5
= 0 ;
38171 char * kwnames
[] = {
38172 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38177 if (!SWIG_IsOK(res1
)) {
38178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38180 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38182 arg2
= wxString_in_helper(obj1
);
38183 if (arg2
== NULL
) SWIG_fail
;
38186 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38187 if (!SWIG_IsOK(res3
)) {
38188 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38193 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38196 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38199 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38200 if (!SWIG_IsOK(ecode5
)) {
38201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38203 arg5
= static_cast< int >(val5
);
38206 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38207 if (!SWIG_IsOK(ecode6
)) {
38208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38210 arg6
= static_cast< int >(val6
);
38213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38214 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38215 wxPyEndAllowThreads(__tstate
);
38216 if (PyErr_Occurred()) SWIG_fail
;
38218 resultobj
= SWIG_Py_Void();
38233 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38234 PyObject
*resultobj
= 0;
38235 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38237 wxPoint
*arg3
= (wxPoint
*) 0 ;
38240 PyObject
* obj0
= 0 ;
38241 PyObject
* obj1
= 0 ;
38242 char * kwnames
[] = {
38243 (char *) "self",(char *) "points", NULL
38246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38248 if (!SWIG_IsOK(res1
)) {
38249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38251 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38253 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38254 if (arg3
== NULL
) SWIG_fail
;
38257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38258 (arg1
)->DrawSpline(arg2
,arg3
);
38259 wxPyEndAllowThreads(__tstate
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38262 resultobj
= SWIG_Py_Void();
38264 if (arg3
) delete [] arg3
;
38269 if (arg3
) delete [] arg3
;
38275 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38276 PyObject
*resultobj
= 0;
38277 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38280 PyObject
*swig_obj
[1] ;
38282 if (!args
) SWIG_fail
;
38283 swig_obj
[0] = args
;
38284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38285 if (!SWIG_IsOK(res1
)) {
38286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38288 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38292 wxPyEndAllowThreads(__tstate
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38295 resultobj
= SWIG_Py_Void();
38302 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38303 PyObject
*resultobj
= 0;
38304 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38310 PyObject
* obj0
= 0 ;
38311 PyObject
* obj1
= 0 ;
38312 char * kwnames
[] = {
38313 (char *) "self",(char *) "font", NULL
38316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38318 if (!SWIG_IsOK(res1
)) {
38319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38321 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38323 if (!SWIG_IsOK(res2
)) {
38324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38329 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38332 (arg1
)->SetFont((wxFont
const &)*arg2
);
38333 wxPyEndAllowThreads(__tstate
);
38334 if (PyErr_Occurred()) SWIG_fail
;
38336 resultobj
= SWIG_Py_Void();
38343 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38344 PyObject
*resultobj
= 0;
38345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38351 PyObject
* obj0
= 0 ;
38352 PyObject
* obj1
= 0 ;
38353 char * kwnames
[] = {
38354 (char *) "self",(char *) "pen", NULL
38357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38359 if (!SWIG_IsOK(res1
)) {
38360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38362 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38363 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38364 if (!SWIG_IsOK(res2
)) {
38365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38370 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38373 (arg1
)->SetPen((wxPen
const &)*arg2
);
38374 wxPyEndAllowThreads(__tstate
);
38375 if (PyErr_Occurred()) SWIG_fail
;
38377 resultobj
= SWIG_Py_Void();
38384 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38385 PyObject
*resultobj
= 0;
38386 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38387 wxBrush
*arg2
= 0 ;
38392 PyObject
* obj0
= 0 ;
38393 PyObject
* obj1
= 0 ;
38394 char * kwnames
[] = {
38395 (char *) "self",(char *) "brush", NULL
38398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38400 if (!SWIG_IsOK(res1
)) {
38401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38403 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38405 if (!SWIG_IsOK(res2
)) {
38406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38411 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38414 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38418 resultobj
= SWIG_Py_Void();
38425 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38426 PyObject
*resultobj
= 0;
38427 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38428 wxBrush
*arg2
= 0 ;
38433 PyObject
* obj0
= 0 ;
38434 PyObject
* obj1
= 0 ;
38435 char * kwnames
[] = {
38436 (char *) "self",(char *) "brush", NULL
38439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38441 if (!SWIG_IsOK(res1
)) {
38442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38444 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38446 if (!SWIG_IsOK(res2
)) {
38447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38452 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38455 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38456 wxPyEndAllowThreads(__tstate
);
38457 if (PyErr_Occurred()) SWIG_fail
;
38459 resultobj
= SWIG_Py_Void();
38466 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38467 PyObject
*resultobj
= 0;
38468 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38474 PyObject
* obj0
= 0 ;
38475 PyObject
* obj1
= 0 ;
38476 char * kwnames
[] = {
38477 (char *) "self",(char *) "mode", NULL
38480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38482 if (!SWIG_IsOK(res1
)) {
38483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38485 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38487 if (!SWIG_IsOK(ecode2
)) {
38488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38490 arg2
= static_cast< int >(val2
);
38492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 (arg1
)->SetBackgroundMode(arg2
);
38494 wxPyEndAllowThreads(__tstate
);
38495 if (PyErr_Occurred()) SWIG_fail
;
38497 resultobj
= SWIG_Py_Void();
38504 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38505 PyObject
*resultobj
= 0;
38506 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38507 wxPalette
*arg2
= 0 ;
38512 PyObject
* obj0
= 0 ;
38513 PyObject
* obj1
= 0 ;
38514 char * kwnames
[] = {
38515 (char *) "self",(char *) "palette", NULL
38518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38520 if (!SWIG_IsOK(res1
)) {
38521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38523 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38525 if (!SWIG_IsOK(res2
)) {
38526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38531 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38534 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38535 wxPyEndAllowThreads(__tstate
);
38536 if (PyErr_Occurred()) SWIG_fail
;
38538 resultobj
= SWIG_Py_Void();
38545 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38546 PyObject
*resultobj
= 0;
38547 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38548 wxColour
*arg2
= 0 ;
38552 PyObject
* obj0
= 0 ;
38553 PyObject
* obj1
= 0 ;
38554 char * kwnames
[] = {
38555 (char *) "self",(char *) "colour", NULL
38558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38560 if (!SWIG_IsOK(res1
)) {
38561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38563 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38570 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38571 wxPyEndAllowThreads(__tstate
);
38572 if (PyErr_Occurred()) SWIG_fail
;
38574 resultobj
= SWIG_Py_Void();
38581 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38582 PyObject
*resultobj
= 0;
38583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38584 wxColour
*arg2
= 0 ;
38588 PyObject
* obj0
= 0 ;
38589 PyObject
* obj1
= 0 ;
38590 char * kwnames
[] = {
38591 (char *) "self",(char *) "colour", NULL
38594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38596 if (!SWIG_IsOK(res1
)) {
38597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38599 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38606 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38607 wxPyEndAllowThreads(__tstate
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38610 resultobj
= SWIG_Py_Void();
38617 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38618 PyObject
*resultobj
= 0;
38619 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38625 PyObject
* obj0
= 0 ;
38626 PyObject
* obj1
= 0 ;
38627 char * kwnames
[] = {
38628 (char *) "self",(char *) "function", NULL
38631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38633 if (!SWIG_IsOK(res1
)) {
38634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38636 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38638 if (!SWIG_IsOK(ecode2
)) {
38639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38641 arg2
= static_cast< int >(val2
);
38643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38644 (arg1
)->SetLogicalFunction(arg2
);
38645 wxPyEndAllowThreads(__tstate
);
38646 if (PyErr_Occurred()) SWIG_fail
;
38648 resultobj
= SWIG_Py_Void();
38655 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38658 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38659 return SWIG_Py_Void();
38662 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38663 return SWIG_Python_InitShadowInstance(args
);
38666 static PyMethodDef SwigMethods
[] = {
38667 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38668 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38669 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38670 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38671 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38672 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38673 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38676 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38677 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38678 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38679 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38680 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38681 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38686 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38690 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38691 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38692 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38694 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38697 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38698 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38699 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38700 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38702 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38703 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38704 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38705 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38706 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38707 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38708 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38715 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38717 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38720 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38721 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38724 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38728 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38729 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38730 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38731 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38732 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38733 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38734 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38736 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38742 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38743 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38744 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38745 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38746 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38747 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38748 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38754 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38764 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38765 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38769 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38770 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38771 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38772 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38773 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38774 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38775 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38776 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38777 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38778 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38779 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38780 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38781 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38782 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38783 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38785 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38786 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38792 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38793 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38794 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38795 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38796 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38797 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38798 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38799 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38800 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38801 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38802 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38803 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38805 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38806 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38812 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38813 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38814 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38816 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38817 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38818 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38820 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38821 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38826 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38827 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38828 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38829 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38834 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38835 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38837 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38838 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38840 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38842 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38843 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38844 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38845 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38848 { (char *)"IconBundle_IsOk", (PyCFunction
)_wrap_IconBundle_IsOk
, METH_O
, NULL
},
38849 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction
) _wrap_IconBundle_GetIconOfExactSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"IconBundle_GetIconCount", (PyCFunction
)_wrap_IconBundle_GetIconCount
, METH_O
, NULL
},
38854 { (char *)"IconBundle_GetIconByIndex", (PyCFunction
) _wrap_IconBundle_GetIconByIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"IconBundle_IsEmpty", (PyCFunction
)_wrap_IconBundle_IsEmpty
, METH_O
, NULL
},
38856 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38857 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38858 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38860 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38863 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38864 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38865 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38870 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38871 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38877 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38881 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38892 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38895 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38896 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38898 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38899 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38900 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38901 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38902 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38903 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38904 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38905 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38906 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38907 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38908 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38909 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38910 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38911 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38912 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38913 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38914 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38916 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38917 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38918 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38919 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38920 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38921 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38922 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38931 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38932 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38934 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38935 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38936 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38937 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38938 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38939 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38940 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38941 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38942 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38944 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38945 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38946 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38949 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38950 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38951 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38954 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38960 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38965 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38966 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38968 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38974 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38977 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38978 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38979 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38980 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38981 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38982 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38983 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38984 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38985 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38986 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38987 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38988 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38989 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39001 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39002 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39003 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39005 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39006 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39008 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39009 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39010 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39011 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39015 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39016 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39018 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39019 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39020 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39021 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39022 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39023 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39024 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39025 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39026 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39028 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39031 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39032 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39033 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39034 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39035 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39036 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39037 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39038 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39048 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39049 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39050 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39052 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39056 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39057 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39058 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39059 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39060 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39061 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39067 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39068 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39069 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39121 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39123 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39124 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39125 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39132 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39133 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39134 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39135 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39136 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39141 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39142 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39143 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39144 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39153 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39154 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39155 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39156 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39157 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39158 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39159 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39160 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39161 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39162 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39163 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39164 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39167 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39169 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39171 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39173 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39174 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39177 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39178 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39182 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39184 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39187 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39188 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39189 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39190 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39191 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39192 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39193 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39201 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39203 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39204 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39205 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39207 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39208 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39209 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39211 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39212 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39213 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39214 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39215 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39216 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39217 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39218 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39221 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39222 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39223 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39225 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39226 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39228 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39229 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39231 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39232 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39237 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39238 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39239 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39240 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39241 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39243 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39244 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39245 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39247 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39248 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39250 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39251 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39254 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39255 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39257 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39260 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39261 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39262 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39264 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39265 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39267 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39268 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39270 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39271 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39273 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39274 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39275 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39276 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39277 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39278 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39279 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39280 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39281 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39282 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39283 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39284 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39285 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39286 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39287 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39288 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39289 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39290 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39293 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39294 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39296 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39302 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39303 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39304 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39305 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39306 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39307 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39309 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39310 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39311 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39318 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39321 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39322 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39323 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39324 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39325 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39326 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39329 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39336 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39337 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39340 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39341 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39342 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39349 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39350 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39351 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39352 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39370 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39371 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39372 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39373 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39374 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39375 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39378 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39385 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39386 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39387 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39388 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39390 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39391 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39392 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39393 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39394 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39395 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39396 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39397 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39398 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39399 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39400 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39401 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39403 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39411 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39413 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39415 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39416 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39417 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39418 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39419 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39420 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39426 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39427 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39428 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39429 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39430 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39431 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39433 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39435 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39437 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39438 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39439 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39444 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39445 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39446 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39447 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39448 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39449 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39450 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39451 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39452 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39453 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39454 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39455 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39464 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39465 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39467 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39468 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39469 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39470 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39471 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39472 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39473 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39474 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39475 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39476 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39477 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39478 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39479 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39480 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39481 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39482 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39483 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39484 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39485 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39486 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39487 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39488 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39489 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39490 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39492 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39494 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39495 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39496 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39497 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39510 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39511 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39512 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39514 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39515 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39516 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39517 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39518 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39519 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39520 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39521 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39574 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39584 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39585 { NULL
, NULL
, 0, NULL
}
39589 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39591 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39592 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39594 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39595 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39597 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39598 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39600 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39601 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39603 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39604 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39606 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39607 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39609 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39610 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39612 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39613 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39615 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39616 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39618 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39619 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39621 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39622 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39624 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39625 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39627 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39628 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39630 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39631 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39633 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39634 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39636 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39637 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39639 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39640 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39642 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39643 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39645 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39646 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39648 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39649 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39651 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39652 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39654 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39655 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39657 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39658 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39660 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39661 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39663 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39664 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39666 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39667 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39669 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39670 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39672 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39673 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39675 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39676 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39678 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39679 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39681 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39682 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39684 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39685 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39687 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39688 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39690 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39691 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39693 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39694 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39696 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39697 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39699 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39700 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39702 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39703 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39705 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39706 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39708 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39709 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39711 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39712 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39714 static void *_p_wxPenTo_p_wxObject(void *x
) {
39715 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39717 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39718 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39720 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
39721 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) 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_wxGridSizerTo_p_wxObject(void *x
) {
39757 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39759 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39760 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) 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_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40101 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40102 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40103 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40104 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40105 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40106 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40107 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40108 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40109 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40110 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40111 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40112 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40113 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40114 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40115 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40116 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40117 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40118 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40119 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40120 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40121 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40122 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40123 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40124 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40125 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40126 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40127 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40128 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40129 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40130 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40131 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40132 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40133 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40134 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40135 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40136 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40137 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40138 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40139 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40140 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40141 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40142 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40143 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40144 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40145 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40146 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40147 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40148 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40149 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40150 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40151 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40152 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40153 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40154 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40155 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40156 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40157 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40158 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40159 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 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_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40162 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40163 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40164 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40165 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40166 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40167 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40168 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40169 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40170 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40171 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40172 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40173 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40174 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40175 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40176 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40177 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40178 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40179 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40180 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40181 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40182 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40183 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40184 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40185 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40186 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40187 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40188 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40189 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40190 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40191 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40192 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40193 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40194 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40195 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40196 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40197 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40198 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40199 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40200 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40201 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40202 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40203 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40204 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40205 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40206 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40207 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40208 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40209 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40210 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40211 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40212 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40213 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40214 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40215 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40216 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40217 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40218 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40219 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40220 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40221 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40222 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40223 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40224 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40225 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40226 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40227 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40228 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40229 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40230 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40231 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40232 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40233 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40234 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40235 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40236 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40237 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40238 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40239 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40240 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40241 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40242 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40243 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40244 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40245 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40246 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40247 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40248 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40249 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40250 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40251 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40253 static swig_type_info
*swig_type_initial
[] = {
40257 &_swigt__p_form_ops_t
,
40259 &_swigt__p_unsigned_char
,
40260 &_swigt__p_unsigned_int
,
40261 &_swigt__p_unsigned_long
,
40263 &_swigt__p_wxANIHandler
,
40264 &_swigt__p_wxAcceleratorTable
,
40265 &_swigt__p_wxActivateEvent
,
40266 &_swigt__p_wxAlphaPixelData
,
40267 &_swigt__p_wxAlphaPixelData_Accessor
,
40268 &_swigt__p_wxAutoBufferedPaintDC
,
40269 &_swigt__p_wxBMPHandler
,
40270 &_swigt__p_wxBitmap
,
40271 &_swigt__p_wxBoxSizer
,
40272 &_swigt__p_wxBrush
,
40273 &_swigt__p_wxBrushList
,
40274 &_swigt__p_wxBufferedDC
,
40275 &_swigt__p_wxBufferedPaintDC
,
40276 &_swigt__p_wxCURHandler
,
40277 &_swigt__p_wxChildFocusEvent
,
40278 &_swigt__p_wxClientDC
,
40279 &_swigt__p_wxClipboardTextEvent
,
40280 &_swigt__p_wxCloseEvent
,
40281 &_swigt__p_wxColour
,
40282 &_swigt__p_wxColourDatabase
,
40283 &_swigt__p_wxCommandEvent
,
40284 &_swigt__p_wxContextMenuEvent
,
40285 &_swigt__p_wxControl
,
40286 &_swigt__p_wxControlWithItems
,
40287 &_swigt__p_wxCursor
,
40289 &_swigt__p_wxDCBrushChanger
,
40290 &_swigt__p_wxDCClipper
,
40291 &_swigt__p_wxDCOverlay
,
40292 &_swigt__p_wxDCPenChanger
,
40293 &_swigt__p_wxDCTextColourChanger
,
40295 &_swigt__p_wxDateEvent
,
40296 &_swigt__p_wxDisplayChangedEvent
,
40297 &_swigt__p_wxDropFilesEvent
,
40298 &_swigt__p_wxDuplexMode
,
40299 &_swigt__p_wxEffects
,
40300 &_swigt__p_wxEncodingConverter
,
40301 &_swigt__p_wxEraseEvent
,
40302 &_swigt__p_wxEvent
,
40303 &_swigt__p_wxEventBlocker
,
40304 &_swigt__p_wxEvtHandler
,
40305 &_swigt__p_wxFSFile
,
40306 &_swigt__p_wxFileSystem
,
40307 &_swigt__p_wxFlexGridSizer
,
40308 &_swigt__p_wxFocusEvent
,
40310 &_swigt__p_wxFontList
,
40311 &_swigt__p_wxFontMapper
,
40312 &_swigt__p_wxGBSizerItem
,
40314 &_swigt__p_wxGDIObjListBase
,
40315 &_swigt__p_wxGDIObject
,
40316 &_swigt__p_wxGIFHandler
,
40317 &_swigt__p_wxGraphicsBrush
,
40318 &_swigt__p_wxGraphicsContext
,
40319 &_swigt__p_wxGraphicsFont
,
40320 &_swigt__p_wxGraphicsMatrix
,
40321 &_swigt__p_wxGraphicsObject
,
40322 &_swigt__p_wxGraphicsPath
,
40323 &_swigt__p_wxGraphicsPen
,
40324 &_swigt__p_wxGraphicsRenderer
,
40325 &_swigt__p_wxGridBagSizer
,
40326 &_swigt__p_wxGridSizer
,
40327 &_swigt__p_wxHeaderButtonParams
,
40328 &_swigt__p_wxICOHandler
,
40330 &_swigt__p_wxIconBundle
,
40331 &_swigt__p_wxIconLocation
,
40332 &_swigt__p_wxIconizeEvent
,
40333 &_swigt__p_wxIdleEvent
,
40334 &_swigt__p_wxImage
,
40335 &_swigt__p_wxImageHandler
,
40336 &_swigt__p_wxImageList
,
40337 &_swigt__p_wxIndividualLayoutConstraint
,
40338 &_swigt__p_wxInitDialogEvent
,
40339 &_swigt__p_wxJPEGHandler
,
40340 &_swigt__p_wxKeyEvent
,
40341 &_swigt__p_wxLanguageInfo
,
40342 &_swigt__p_wxLayoutConstraints
,
40343 &_swigt__p_wxLocale
,
40345 &_swigt__p_wxMaximizeEvent
,
40346 &_swigt__p_wxMemoryDC
,
40348 &_swigt__p_wxMenuBar
,
40349 &_swigt__p_wxMenuEvent
,
40350 &_swigt__p_wxMenuItem
,
40351 &_swigt__p_wxMetaFile
,
40352 &_swigt__p_wxMetaFileDC
,
40353 &_swigt__p_wxMirrorDC
,
40354 &_swigt__p_wxMouseCaptureChangedEvent
,
40355 &_swigt__p_wxMouseCaptureLostEvent
,
40356 &_swigt__p_wxMouseEvent
,
40357 &_swigt__p_wxMoveEvent
,
40358 &_swigt__p_wxNativeEncodingInfo
,
40359 &_swigt__p_wxNativeFontInfo
,
40360 &_swigt__p_wxNativePixelData
,
40361 &_swigt__p_wxNativePixelData_Accessor
,
40362 &_swigt__p_wxNavigationKeyEvent
,
40363 &_swigt__p_wxNcPaintEvent
,
40364 &_swigt__p_wxNotifyEvent
,
40365 &_swigt__p_wxObject
,
40366 &_swigt__p_wxOverlay
,
40367 &_swigt__p_wxPCXHandler
,
40368 &_swigt__p_wxPNGHandler
,
40369 &_swigt__p_wxPNMHandler
,
40370 &_swigt__p_wxPaintDC
,
40371 &_swigt__p_wxPaintEvent
,
40372 &_swigt__p_wxPalette
,
40373 &_swigt__p_wxPaletteChangedEvent
,
40374 &_swigt__p_wxPaperSize
,
40376 &_swigt__p_wxPenList
,
40377 &_swigt__p_wxPixelDataBase
,
40378 &_swigt__p_wxPoint
,
40379 &_swigt__p_wxPoint2D
,
40380 &_swigt__p_wxPostScriptDC
,
40381 &_swigt__p_wxPrintData
,
40382 &_swigt__p_wxPrinterDC
,
40383 &_swigt__p_wxPseudoDC
,
40384 &_swigt__p_wxPyApp
,
40385 &_swigt__p_wxPyCommandEvent
,
40386 &_swigt__p_wxPyEvent
,
40387 &_swigt__p_wxPyFontEnumerator
,
40388 &_swigt__p_wxPyImageHandler
,
40389 &_swigt__p_wxPyLocale
,
40390 &_swigt__p_wxPySizer
,
40391 &_swigt__p_wxPyValidator
,
40392 &_swigt__p_wxQueryNewPaletteEvent
,
40394 &_swigt__p_wxRect2D
,
40395 &_swigt__p_wxRegion
,
40396 &_swigt__p_wxRegionIterator
,
40397 &_swigt__p_wxRendererNative
,
40398 &_swigt__p_wxRendererVersion
,
40399 &_swigt__p_wxScreenDC
,
40400 &_swigt__p_wxScrollEvent
,
40401 &_swigt__p_wxScrollWinEvent
,
40402 &_swigt__p_wxSetCursorEvent
,
40403 &_swigt__p_wxShowEvent
,
40405 &_swigt__p_wxSizeEvent
,
40406 &_swigt__p_wxSizer
,
40407 &_swigt__p_wxSizerItem
,
40408 &_swigt__p_wxSplitterRenderParams
,
40409 &_swigt__p_wxStaticBoxSizer
,
40410 &_swigt__p_wxStdDialogButtonSizer
,
40411 &_swigt__p_wxStockGDI
,
40412 &_swigt__p_wxString
,
40413 &_swigt__p_wxSysColourChangedEvent
,
40414 &_swigt__p_wxTGAHandler
,
40415 &_swigt__p_wxTIFFHandler
,
40416 &_swigt__p_wxUpdateUIEvent
,
40417 &_swigt__p_wxValidator
,
40418 &_swigt__p_wxWindow
,
40419 &_swigt__p_wxWindowCreateEvent
,
40420 &_swigt__p_wxWindowDC
,
40421 &_swigt__p_wxWindowDestroyEvent
,
40422 &_swigt__p_wxXPMHandler
,
40425 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40426 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40427 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40428 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40429 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40430 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40431 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40432 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40433 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40434 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40435 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40436 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40437 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40438 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40439 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40440 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}};
40441 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40442 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}};
40443 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40444 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40445 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40446 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}};
40447 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40448 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40449 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40450 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40451 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40452 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40453 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40454 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40455 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40456 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40457 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40458 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40459 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40460 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}};
40461 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}};
40462 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40463 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40464 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40465 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40466 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}};
40467 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40468 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40469 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40470 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40471 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40472 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40473 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40474 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40475 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40476 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40477 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}};
40478 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40479 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}};
40480 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40481 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40482 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40483 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40484 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40486 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40487 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40493 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40494 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40495 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40496 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40497 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40498 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40499 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40500 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40510 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40511 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40512 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40513 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40525 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40526 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40545 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40546 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40547 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40553 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40554 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40560 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40561 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40562 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40564 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40565 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40566 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40572 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}};
40573 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40574 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40575 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40576 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40577 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40578 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40579 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40580 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40581 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40582 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40583 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40584 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40585 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40586 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40587 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40588 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40589 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40590 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40591 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40592 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}};
40593 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}};
40595 static swig_cast_info
*swig_cast_initial
[] = {
40599 _swigc__p_form_ops_t
,
40601 _swigc__p_unsigned_char
,
40602 _swigc__p_unsigned_int
,
40603 _swigc__p_unsigned_long
,
40605 _swigc__p_wxANIHandler
,
40606 _swigc__p_wxAcceleratorTable
,
40607 _swigc__p_wxActivateEvent
,
40608 _swigc__p_wxAlphaPixelData
,
40609 _swigc__p_wxAlphaPixelData_Accessor
,
40610 _swigc__p_wxAutoBufferedPaintDC
,
40611 _swigc__p_wxBMPHandler
,
40612 _swigc__p_wxBitmap
,
40613 _swigc__p_wxBoxSizer
,
40615 _swigc__p_wxBrushList
,
40616 _swigc__p_wxBufferedDC
,
40617 _swigc__p_wxBufferedPaintDC
,
40618 _swigc__p_wxCURHandler
,
40619 _swigc__p_wxChildFocusEvent
,
40620 _swigc__p_wxClientDC
,
40621 _swigc__p_wxClipboardTextEvent
,
40622 _swigc__p_wxCloseEvent
,
40623 _swigc__p_wxColour
,
40624 _swigc__p_wxColourDatabase
,
40625 _swigc__p_wxCommandEvent
,
40626 _swigc__p_wxContextMenuEvent
,
40627 _swigc__p_wxControl
,
40628 _swigc__p_wxControlWithItems
,
40629 _swigc__p_wxCursor
,
40631 _swigc__p_wxDCBrushChanger
,
40632 _swigc__p_wxDCClipper
,
40633 _swigc__p_wxDCOverlay
,
40634 _swigc__p_wxDCPenChanger
,
40635 _swigc__p_wxDCTextColourChanger
,
40637 _swigc__p_wxDateEvent
,
40638 _swigc__p_wxDisplayChangedEvent
,
40639 _swigc__p_wxDropFilesEvent
,
40640 _swigc__p_wxDuplexMode
,
40641 _swigc__p_wxEffects
,
40642 _swigc__p_wxEncodingConverter
,
40643 _swigc__p_wxEraseEvent
,
40645 _swigc__p_wxEventBlocker
,
40646 _swigc__p_wxEvtHandler
,
40647 _swigc__p_wxFSFile
,
40648 _swigc__p_wxFileSystem
,
40649 _swigc__p_wxFlexGridSizer
,
40650 _swigc__p_wxFocusEvent
,
40652 _swigc__p_wxFontList
,
40653 _swigc__p_wxFontMapper
,
40654 _swigc__p_wxGBSizerItem
,
40656 _swigc__p_wxGDIObjListBase
,
40657 _swigc__p_wxGDIObject
,
40658 _swigc__p_wxGIFHandler
,
40659 _swigc__p_wxGraphicsBrush
,
40660 _swigc__p_wxGraphicsContext
,
40661 _swigc__p_wxGraphicsFont
,
40662 _swigc__p_wxGraphicsMatrix
,
40663 _swigc__p_wxGraphicsObject
,
40664 _swigc__p_wxGraphicsPath
,
40665 _swigc__p_wxGraphicsPen
,
40666 _swigc__p_wxGraphicsRenderer
,
40667 _swigc__p_wxGridBagSizer
,
40668 _swigc__p_wxGridSizer
,
40669 _swigc__p_wxHeaderButtonParams
,
40670 _swigc__p_wxICOHandler
,
40672 _swigc__p_wxIconBundle
,
40673 _swigc__p_wxIconLocation
,
40674 _swigc__p_wxIconizeEvent
,
40675 _swigc__p_wxIdleEvent
,
40677 _swigc__p_wxImageHandler
,
40678 _swigc__p_wxImageList
,
40679 _swigc__p_wxIndividualLayoutConstraint
,
40680 _swigc__p_wxInitDialogEvent
,
40681 _swigc__p_wxJPEGHandler
,
40682 _swigc__p_wxKeyEvent
,
40683 _swigc__p_wxLanguageInfo
,
40684 _swigc__p_wxLayoutConstraints
,
40685 _swigc__p_wxLocale
,
40687 _swigc__p_wxMaximizeEvent
,
40688 _swigc__p_wxMemoryDC
,
40690 _swigc__p_wxMenuBar
,
40691 _swigc__p_wxMenuEvent
,
40692 _swigc__p_wxMenuItem
,
40693 _swigc__p_wxMetaFile
,
40694 _swigc__p_wxMetaFileDC
,
40695 _swigc__p_wxMirrorDC
,
40696 _swigc__p_wxMouseCaptureChangedEvent
,
40697 _swigc__p_wxMouseCaptureLostEvent
,
40698 _swigc__p_wxMouseEvent
,
40699 _swigc__p_wxMoveEvent
,
40700 _swigc__p_wxNativeEncodingInfo
,
40701 _swigc__p_wxNativeFontInfo
,
40702 _swigc__p_wxNativePixelData
,
40703 _swigc__p_wxNativePixelData_Accessor
,
40704 _swigc__p_wxNavigationKeyEvent
,
40705 _swigc__p_wxNcPaintEvent
,
40706 _swigc__p_wxNotifyEvent
,
40707 _swigc__p_wxObject
,
40708 _swigc__p_wxOverlay
,
40709 _swigc__p_wxPCXHandler
,
40710 _swigc__p_wxPNGHandler
,
40711 _swigc__p_wxPNMHandler
,
40712 _swigc__p_wxPaintDC
,
40713 _swigc__p_wxPaintEvent
,
40714 _swigc__p_wxPalette
,
40715 _swigc__p_wxPaletteChangedEvent
,
40716 _swigc__p_wxPaperSize
,
40718 _swigc__p_wxPenList
,
40719 _swigc__p_wxPixelDataBase
,
40721 _swigc__p_wxPoint2D
,
40722 _swigc__p_wxPostScriptDC
,
40723 _swigc__p_wxPrintData
,
40724 _swigc__p_wxPrinterDC
,
40725 _swigc__p_wxPseudoDC
,
40727 _swigc__p_wxPyCommandEvent
,
40728 _swigc__p_wxPyEvent
,
40729 _swigc__p_wxPyFontEnumerator
,
40730 _swigc__p_wxPyImageHandler
,
40731 _swigc__p_wxPyLocale
,
40732 _swigc__p_wxPySizer
,
40733 _swigc__p_wxPyValidator
,
40734 _swigc__p_wxQueryNewPaletteEvent
,
40736 _swigc__p_wxRect2D
,
40737 _swigc__p_wxRegion
,
40738 _swigc__p_wxRegionIterator
,
40739 _swigc__p_wxRendererNative
,
40740 _swigc__p_wxRendererVersion
,
40741 _swigc__p_wxScreenDC
,
40742 _swigc__p_wxScrollEvent
,
40743 _swigc__p_wxScrollWinEvent
,
40744 _swigc__p_wxSetCursorEvent
,
40745 _swigc__p_wxShowEvent
,
40747 _swigc__p_wxSizeEvent
,
40749 _swigc__p_wxSizerItem
,
40750 _swigc__p_wxSplitterRenderParams
,
40751 _swigc__p_wxStaticBoxSizer
,
40752 _swigc__p_wxStdDialogButtonSizer
,
40753 _swigc__p_wxStockGDI
,
40754 _swigc__p_wxString
,
40755 _swigc__p_wxSysColourChangedEvent
,
40756 _swigc__p_wxTGAHandler
,
40757 _swigc__p_wxTIFFHandler
,
40758 _swigc__p_wxUpdateUIEvent
,
40759 _swigc__p_wxValidator
,
40760 _swigc__p_wxWindow
,
40761 _swigc__p_wxWindowCreateEvent
,
40762 _swigc__p_wxWindowDC
,
40763 _swigc__p_wxWindowDestroyEvent
,
40764 _swigc__p_wxXPMHandler
,
40768 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40770 static swig_const_info swig_const_table
[] = {
40771 {0, 0, 0, 0.0, 0, 0}};
40776 /* -----------------------------------------------------------------------------
40777 * Type initialization:
40778 * This problem is tough by the requirement that no dynamic
40779 * memory is used. Also, since swig_type_info structures store pointers to
40780 * swig_cast_info structures and swig_cast_info structures store pointers back
40781 * to swig_type_info structures, we need some lookup code at initialization.
40782 * The idea is that swig generates all the structures that are needed.
40783 * The runtime then collects these partially filled structures.
40784 * The SWIG_InitializeModule function takes these initial arrays out of
40785 * swig_module, and does all the lookup, filling in the swig_module.types
40786 * array with the correct data and linking the correct swig_cast_info
40787 * structures together.
40789 * The generated swig_type_info structures are assigned staticly to an initial
40790 * array. We just loop though that array, and handle each type individually.
40791 * First we lookup if this type has been already loaded, and if so, use the
40792 * loaded structure instead of the generated one. Then we have to fill in the
40793 * cast linked list. The cast data is initially stored in something like a
40794 * two-dimensional array. Each row corresponds to a type (there are the same
40795 * number of rows as there are in the swig_type_initial array). Each entry in
40796 * a column is one of the swig_cast_info structures for that type.
40797 * The cast_initial array is actually an array of arrays, because each row has
40798 * a variable number of columns. So to actually build the cast linked list,
40799 * we find the array of casts associated with the type, and loop through it
40800 * adding the casts to the list. The one last trick we need to do is making
40801 * sure the type pointer in the swig_cast_info struct is correct.
40803 * First off, we lookup the cast->type name to see if it is already loaded.
40804 * There are three cases to handle:
40805 * 1) If the cast->type has already been loaded AND the type we are adding
40806 * casting info to has not been loaded (it is in this module), THEN we
40807 * replace the cast->type pointer with the type pointer that has already
40809 * 2) If BOTH types (the one we are adding casting info to, and the
40810 * cast->type) are loaded, THEN the cast info has already been loaded by
40811 * the previous module so we just ignore it.
40812 * 3) Finally, if cast->type has not already been loaded, then we add that
40813 * swig_cast_info to the linked list (because the cast->type) pointer will
40815 * ----------------------------------------------------------------------------- */
40825 #define SWIGRUNTIME_DEBUG
40829 SWIG_InitializeModule(void *clientdata
) {
40831 swig_module_info
*module_head
;
40832 static int init_run
= 0;
40834 clientdata
= clientdata
;
40836 if (init_run
) return;
40839 /* Initialize the swig_module */
40840 swig_module
.type_initial
= swig_type_initial
;
40841 swig_module
.cast_initial
= swig_cast_initial
;
40843 /* Try and load any already created modules */
40844 module_head
= SWIG_GetModule(clientdata
);
40846 swig_module
.next
= module_head
->next
;
40847 module_head
->next
= &swig_module
;
40849 /* This is the first module loaded */
40850 swig_module
.next
= &swig_module
;
40851 SWIG_SetModule(clientdata
, &swig_module
);
40854 /* Now work on filling in swig_module.types */
40855 #ifdef SWIGRUNTIME_DEBUG
40856 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40858 for (i
= 0; i
< swig_module
.size
; ++i
) {
40859 swig_type_info
*type
= 0;
40860 swig_type_info
*ret
;
40861 swig_cast_info
*cast
;
40863 #ifdef SWIGRUNTIME_DEBUG
40864 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40867 /* if there is another module already loaded */
40868 if (swig_module
.next
!= &swig_module
) {
40869 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40872 /* Overwrite clientdata field */
40873 #ifdef SWIGRUNTIME_DEBUG
40874 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40876 if (swig_module
.type_initial
[i
]->clientdata
) {
40877 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40878 #ifdef SWIGRUNTIME_DEBUG
40879 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40883 type
= swig_module
.type_initial
[i
];
40886 /* Insert casting types */
40887 cast
= swig_module
.cast_initial
[i
];
40888 while (cast
->type
) {
40889 /* Don't need to add information already in the list */
40891 #ifdef SWIGRUNTIME_DEBUG
40892 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40894 if (swig_module
.next
!= &swig_module
) {
40895 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40896 #ifdef SWIGRUNTIME_DEBUG
40897 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40901 if (type
== swig_module
.type_initial
[i
]) {
40902 #ifdef SWIGRUNTIME_DEBUG
40903 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40908 /* Check for casting already in the list */
40909 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40910 #ifdef SWIGRUNTIME_DEBUG
40911 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40913 if (!ocast
) ret
= 0;
40918 #ifdef SWIGRUNTIME_DEBUG
40919 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40922 type
->cast
->prev
= cast
;
40923 cast
->next
= type
->cast
;
40929 /* Set entry in modules->types array equal to the type */
40930 swig_module
.types
[i
] = type
;
40932 swig_module
.types
[i
] = 0;
40934 #ifdef SWIGRUNTIME_DEBUG
40935 printf("**** SWIG_InitializeModule: Cast List ******\n");
40936 for (i
= 0; i
< swig_module
.size
; ++i
) {
40938 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40939 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40940 while (cast
->type
) {
40941 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40945 printf("---- Total casts: %d\n",j
);
40947 printf("**** SWIG_InitializeModule: Cast List ******\n");
40951 /* This function will propagate the clientdata field of type to
40952 * any new swig_type_info structures that have been added into the list
40953 * of equivalent types. It is like calling
40954 * SWIG_TypeClientData(type, clientdata) a second time.
40957 SWIG_PropagateClientData(void) {
40959 swig_cast_info
*equiv
;
40960 static int init_run
= 0;
40962 if (init_run
) return;
40965 for (i
= 0; i
< swig_module
.size
; i
++) {
40966 if (swig_module
.types
[i
]->clientdata
) {
40967 equiv
= swig_module
.types
[i
]->cast
;
40969 if (!equiv
->converter
) {
40970 if (equiv
->type
&& !equiv
->type
->clientdata
)
40971 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40973 equiv
= equiv
->next
;
40993 /* Python-specific SWIG API */
40994 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40995 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40996 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40998 /* -----------------------------------------------------------------------------
40999 * global variable support code.
41000 * ----------------------------------------------------------------------------- */
41002 typedef struct swig_globalvar
{
41003 char *name
; /* Name of global variable */
41004 PyObject
*(*get_attr
)(void); /* Return the current value */
41005 int (*set_attr
)(PyObject
*); /* Set the value */
41006 struct swig_globalvar
*next
;
41009 typedef struct swig_varlinkobject
{
41011 swig_globalvar
*vars
;
41012 } swig_varlinkobject
;
41014 SWIGINTERN PyObject
*
41015 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41016 return PyString_FromString("<Swig global variables>");
41019 SWIGINTERN PyObject
*
41020 swig_varlink_str(swig_varlinkobject
*v
) {
41021 PyObject
*str
= PyString_FromString("(");
41022 swig_globalvar
*var
;
41023 for (var
= v
->vars
; var
; var
=var
->next
) {
41024 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41025 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41027 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41032 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41033 PyObject
*str
= swig_varlink_str(v
);
41034 fprintf(fp
,"Swig global variables ");
41035 fprintf(fp
,"%s\n", PyString_AsString(str
));
41041 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41042 swig_globalvar
*var
= v
->vars
;
41044 swig_globalvar
*n
= var
->next
;
41051 SWIGINTERN PyObject
*
41052 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41053 PyObject
*res
= NULL
;
41054 swig_globalvar
*var
= v
->vars
;
41056 if (strcmp(var
->name
,n
) == 0) {
41057 res
= (*var
->get_attr
)();
41062 if (res
== NULL
&& !PyErr_Occurred()) {
41063 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41069 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41071 swig_globalvar
*var
= v
->vars
;
41073 if (strcmp(var
->name
,n
) == 0) {
41074 res
= (*var
->set_attr
)(p
);
41079 if (res
== 1 && !PyErr_Occurred()) {
41080 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41085 SWIGINTERN PyTypeObject
*
41086 swig_varlink_type(void) {
41087 static char varlink__doc__
[] = "Swig var link object";
41088 static PyTypeObject varlink_type
;
41089 static int type_init
= 0;
41091 const PyTypeObject tmp
41093 PyObject_HEAD_INIT(NULL
)
41094 0, /* Number of items in variable part (ob_size) */
41095 (char *)"swigvarlink", /* Type name (tp_name) */
41096 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41097 0, /* Itemsize (tp_itemsize) */
41098 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41099 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41100 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41101 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41102 0, /* tp_compare */
41103 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41104 0, /* tp_as_number */
41105 0, /* tp_as_sequence */
41106 0, /* tp_as_mapping */
41109 (reprfunc
)swig_varlink_str
, /* tp_str */
41110 0, /* tp_getattro */
41111 0, /* tp_setattro */
41112 0, /* tp_as_buffer */
41114 varlink__doc__
, /* tp_doc */
41115 0, /* tp_traverse */
41117 0, /* tp_richcompare */
41118 0, /* tp_weaklistoffset */
41119 #if PY_VERSION_HEX >= 0x02020000
41120 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41122 #if PY_VERSION_HEX >= 0x02030000
41125 #ifdef COUNT_ALLOCS
41126 0,0,0,0 /* tp_alloc -> tp_next */
41129 varlink_type
= tmp
;
41130 varlink_type
.ob_type
= &PyType_Type
;
41133 return &varlink_type
;
41136 /* Create a variable linking object for use later */
41137 SWIGINTERN PyObject
*
41138 SWIG_Python_newvarlink(void) {
41139 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41143 return ((PyObject
*) result
);
41147 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41148 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41149 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41151 size_t size
= strlen(name
)+1;
41152 gv
->name
= (char *)malloc(size
);
41154 strncpy(gv
->name
,name
,size
);
41155 gv
->get_attr
= get_attr
;
41156 gv
->set_attr
= set_attr
;
41157 gv
->next
= v
->vars
;
41163 SWIGINTERN PyObject
*
41165 static PyObject
*_SWIG_globals
= 0;
41166 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41167 return _SWIG_globals
;
41170 /* -----------------------------------------------------------------------------
41171 * constants/methods manipulation
41172 * ----------------------------------------------------------------------------- */
41174 /* Install Constants */
41176 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41179 for (i
= 0; constants
[i
].type
; ++i
) {
41180 switch(constants
[i
].type
) {
41181 case SWIG_PY_POINTER
:
41182 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41184 case SWIG_PY_BINARY
:
41185 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41192 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41198 /* -----------------------------------------------------------------------------*/
41199 /* Fix SwigMethods to carry the callback ptrs when needed */
41200 /* -----------------------------------------------------------------------------*/
41203 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41204 swig_const_info
*const_table
,
41205 swig_type_info
**types
,
41206 swig_type_info
**types_initial
) {
41208 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41209 const char *c
= methods
[i
].ml_doc
;
41210 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41212 swig_const_info
*ci
= 0;
41213 const char *name
= c
+ 10;
41214 for (j
= 0; const_table
[j
].type
; ++j
) {
41215 if (strncmp(const_table
[j
].name
, name
,
41216 strlen(const_table
[j
].name
)) == 0) {
41217 ci
= &(const_table
[j
]);
41222 size_t shift
= (ci
->ptype
) - types
;
41223 swig_type_info
*ty
= types_initial
[shift
];
41224 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41225 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41226 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41229 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41231 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41233 strncpy(buff
, "swig_ptr: ", 10);
41235 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41236 methods
[i
].ml_doc
= ndoc
;
41248 /* -----------------------------------------------------------------------------*
41249 * Partial Init method
41250 * -----------------------------------------------------------------------------*/
41255 SWIGEXPORT
void SWIG_init(void) {
41258 /* Fix SwigMethods to carry the callback ptrs when needed */
41259 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41261 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41262 d
= PyModule_GetDict(m
);
41264 SWIG_InitializeModule(0);
41265 SWIG_InstallConstants(d
,swig_const_table
);
41268 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41269 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41270 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41271 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41272 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41273 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41274 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41275 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41276 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41277 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41278 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41279 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41280 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41281 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41282 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41283 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41284 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41285 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41286 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41287 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41288 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41289 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41290 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41291 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41292 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41293 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41294 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41295 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41296 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41297 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41298 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41299 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41300 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41301 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41302 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41303 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41304 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41305 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41306 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41307 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41308 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41309 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41310 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41311 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41312 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41313 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41314 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41315 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41316 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41317 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41318 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41319 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41320 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41321 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41322 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41323 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41324 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41325 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41326 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41327 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41328 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41329 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41330 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41331 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41332 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41333 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41334 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41335 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41354 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41355 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41356 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41357 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41358 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41359 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41360 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41361 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41362 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41363 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41364 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41365 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41366 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41367 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41371 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41372 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41375 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41376 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41377 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41378 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41379 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41380 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41381 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41382 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41383 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41384 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41385 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41386 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41387 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41388 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41389 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41390 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41391 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41392 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41393 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41394 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41395 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41396 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41397 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41398 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41399 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41401 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41616 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41617 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41618 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41625 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41626 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41627 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41628 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41629 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41630 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41631 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41632 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41633 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41634 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41635 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41636 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41637 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41638 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41639 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41640 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41641 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41642 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41643 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41644 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41645 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41646 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41647 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41648 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41649 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41650 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41651 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
41652 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41653 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41654 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41655 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41656 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41657 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41658 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41659 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41660 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41661 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41662 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41663 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41664 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41665 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41666 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41667 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41668 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41669 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41670 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41671 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41672 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41673 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41674 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41675 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41676 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41677 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41678 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41679 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41680 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41681 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41682 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41683 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41684 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41685 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41686 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41687 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41688 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41689 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41690 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41691 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41692 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41693 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41694 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41695 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41696 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41697 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41698 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41699 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41700 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41701 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41702 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41703 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41704 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41705 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41706 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41707 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41708 SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get
, NullIconBundle_set
);
41709 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41710 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41711 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41712 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41713 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41714 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41715 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41716 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41717 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41718 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41719 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41720 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41721 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41722 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41723 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41724 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41725 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41726 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41727 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41728 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41730 // Work around a chicken/egg problem in drawlist.cpp
41731 wxPyDrawList_SetAPIPtr();