1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPostScriptDC swig_types[127]
2594 #define SWIGTYPE_p_wxPrintData swig_types[128]
2595 #define SWIGTYPE_p_wxPrinterDC swig_types[129]
2596 #define SWIGTYPE_p_wxPseudoDC swig_types[130]
2597 #define SWIGTYPE_p_wxPyApp swig_types[131]
2598 #define SWIGTYPE_p_wxPyCommandEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[134]
2601 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
2602 #define SWIGTYPE_p_wxPyLocale swig_types[136]
2603 #define SWIGTYPE_p_wxPySizer swig_types[137]
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138]
2605 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139]
2606 #define SWIGTYPE_p_wxRect swig_types[140]
2607 #define SWIGTYPE_p_wxRect2D swig_types[141]
2608 #define SWIGTYPE_p_wxRegion swig_types[142]
2609 #define SWIGTYPE_p_wxRegionIterator swig_types[143]
2610 #define SWIGTYPE_p_wxRendererNative swig_types[144]
2611 #define SWIGTYPE_p_wxRendererVersion swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3228 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
, num
);
3235 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3237 self
->SetIndex(num
);
3242 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3244 return self
->GetIndex();
3249 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3251 wxImage
img(cursorName
, type
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3254 return new wxCursor(img
);
3256 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3259 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3262 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3265 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3266 return self
->operator bool();
3269 #include <wx/fontutil.h>
3270 #include <wx/fontmap.h>
3271 #include <wx/fontenum.h>
3273 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3274 return self
->ToString();
3277 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3278 { wxPyRaiseNotImplemented(); return NULL
; }
3280 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3281 { wxPyRaiseNotImplemented(); return false; }
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 #include <wx/metafile.h>
3611 #include <wx/graphics.h>
3614 #if !wxUSE_GRAPHICS_CONTEXT
3615 // C++ stub classes for platforms or build configurations that don't have
3616 // wxGraphicsContext yet.
3618 class wxGraphicsRenderer
;
3619 class wxGraphicsMatrix
;
3622 class wxGraphicsObject
: public wxObject
3625 wxGraphicsObject() {}
3626 wxGraphicsObject( wxGraphicsRenderer
* ) {
3627 PyErr_SetString(PyExc_NotImplementedError
,
3628 "wx.GraphicsObject is not available on this platform.");
3630 wxGraphicsObject( const wxGraphicsObject
& ) {}
3631 virtual ~wxGraphicsObject() {}
3632 bool IsNull() const { return false; }
3633 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3638 class wxGraphicsPen
: public wxGraphicsObject
3642 virtual ~wxGraphicsPen() {}
3644 wxGraphicsPen wxNullGraphicsPen
;
3648 class wxGraphicsBrush
: public wxGraphicsObject
3651 wxGraphicsBrush() {}
3652 virtual ~wxGraphicsBrush() {}
3654 wxGraphicsBrush wxNullGraphicsBrush
;
3658 class wxGraphicsFont
: public wxGraphicsObject
3662 virtual ~wxGraphicsFont() {}
3664 wxGraphicsFont wxNullGraphicsFont
;
3668 class wxGraphicsPath
: public wxGraphicsObject
3671 wxGraphicsPath() { }
3672 wxGraphicsPath(wxGraphicsRenderer
* ) {
3673 PyErr_SetString(PyExc_NotImplementedError
,
3674 "wx.GraphicsPath is not available on this platform.");
3676 virtual ~wxGraphicsPath() {}
3678 void MoveToPoint( wxDouble
, wxDouble
) {}
3679 void MoveToPoint( const wxPoint2DDouble
& ) {}
3680 void AddLineToPoint( wxDouble
, wxDouble
) {}
3681 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3682 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3683 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3684 void AddPath( const wxGraphicsPath
& ) {}
3685 void CloseSubpath() {}
3686 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3687 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3688 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3689 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3691 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3693 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3694 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3697 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3698 void * GetNativePath() const { return NULL
; }
3699 void UnGetNativePath(void *) const {}
3700 void Transform( const wxGraphicsMatrix
& ) {}
3701 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3702 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3704 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3705 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3707 wxGraphicsPath wxNullGraphicsPath
;
3710 class wxGraphicsMatrix
: public wxGraphicsObject
3713 wxGraphicsMatrix() { }
3714 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3715 PyErr_SetString(PyExc_NotImplementedError
,
3716 "wx.GraphicsMatrix is not available on this platform.");
3718 virtual ~wxGraphicsMatrix() {}
3719 virtual void Concat( const wxGraphicsMatrix
& ) {}
3720 virtual void Copy( const wxGraphicsMatrix
& ) {}
3721 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3722 wxDouble
, wxDouble
) {}
3723 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3724 wxDouble
*, wxDouble
*, wxDouble
*) {}
3725 virtual void Invert() {}
3726 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3727 virtual bool IsIdentity() const { return false; }
3728 virtual void Translate( wxDouble
, wxDouble
) {}
3729 virtual void Scale( wxDouble
, wxDouble
) {}
3730 virtual void Rotate( wxDouble
) {}
3731 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3732 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3733 virtual void * GetNativeMatrix() const { return NULL
; }
3735 wxGraphicsMatrix wxNullGraphicsMatrix
;
3738 class wxGraphicsContext
: public wxGraphicsObject
3742 wxGraphicsContext(wxGraphicsRenderer
* ) {
3743 PyErr_SetString(PyExc_NotImplementedError
,
3744 "wx.GraphicsContext is not available on this platform.");
3747 virtual ~wxGraphicsContext() {}
3749 static wxGraphicsContext
* Create() {
3750 PyErr_SetString(PyExc_NotImplementedError
,
3751 "wx.GraphicsContext is not available on this platform.");
3754 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3755 PyErr_SetString(PyExc_NotImplementedError
,
3756 "wx.GraphicsContext is not available on this platform.");
3760 static wxGraphicsContext
* CreateFromNative( void * ) {
3761 PyErr_SetString(PyExc_NotImplementedError
,
3762 "wx.GraphicsContext is not available on this platform.");
3766 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3767 PyErr_SetString(PyExc_NotImplementedError
,
3768 "wx.GraphicsContext is not available on this platform.");
3772 static wxGraphicsContext
* Create( wxWindow
* ) {
3773 PyErr_SetString(PyExc_NotImplementedError
,
3774 "wx.GraphicsContext is not available on this platform.");
3778 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3780 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3782 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3784 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3785 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3787 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3788 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3789 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3791 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3793 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3794 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3796 virtual void PushState() {}
3797 virtual void PopState() {}
3798 virtual void Clip( const wxRegion
& ) {}
3799 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3800 virtual void ResetClip() {}
3801 virtual void * GetNativeContext() { return NULL
; }
3802 virtual int GetLogicalFunction() const { return 0; }
3803 virtual bool SetLogicalFunction(int ) {}
3804 virtual void Translate( wxDouble
, wxDouble
) {}
3805 virtual void Scale( wxDouble
, wxDouble
) {}
3806 virtual void Rotate( wxDouble
) {}
3807 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3808 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3809 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3811 virtual void SetPen( const wxGraphicsPen
& ) {}
3812 void SetPen( const wxPen
& ) {}
3814 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3815 void SetBrush( const wxBrush
& ) {}
3817 virtual void SetFont( const wxGraphicsFont
& ) {}
3818 void SetFont( const wxFont
&, const wxColour
& ) {}
3820 virtual void StrokePath( const wxGraphicsPath
& ) {}
3821 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3822 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3825 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3826 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3828 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3829 wxDouble
*, wxDouble
* ) const {}
3830 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3832 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3833 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3835 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3836 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3837 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3838 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3839 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3840 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual bool ShouldOffset() const { return false; }
3847 class wxGraphicsRenderer
: public wxObject
3850 wxGraphicsRenderer() {
3851 PyErr_SetString(PyExc_NotImplementedError
,
3852 "wx.GraphicsRenderer is not available on this platform.");
3855 virtual ~wxGraphicsRenderer() {}
3857 static wxGraphicsRenderer
* GetDefaultRenderer() {
3858 PyErr_SetString(PyExc_NotImplementedError
,
3859 "wx.GraphicsRenderer is not available on this platform.");
3863 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3866 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3867 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3869 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3871 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3872 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3874 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3875 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3876 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3877 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3878 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3879 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3880 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3885 class wxGCDC
: public wxWindowDC
3888 wxGCDC(const wxWindowDC
&) {
3889 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3890 PyErr_SetString(PyExc_NotImplementedError
,
3891 "wxGCDC is not available on this platform.");
3892 wxPyEndBlockThreads(blocked
);
3895 wxGCDC(const wxWindow
*) {
3896 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3897 PyErr_SetString(PyExc_NotImplementedError
,
3898 "wxGCDC is not available on this platform.");
3899 wxPyEndBlockThreads(blocked
);
3903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3904 PyErr_SetString(PyExc_NotImplementedError
,
3905 "wxGCDC is not available on this platform.");
3906 wxPyEndBlockThreads(blocked
);
3909 virtual ~wxGCDC() {}
3911 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3912 void SetGraphicsContext( wxGraphicsContext
* ) {}
3917 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3918 if ( !backgroundBrush
.IsNull() )
3919 self
->DrawText(str
, x
, y
, backgroundBrush
);
3921 self
->DrawText(str
, x
, y
);
3923 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3924 if ( !backgroundBrush
.IsNull() )
3925 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3927 self
->DrawText(str
, x
, y
, angle
);
3929 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3930 wxDouble width
= 0.0,
3932 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3933 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3934 PyObject
* rv
= PyTuple_New(2);
3935 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3936 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3939 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3940 wxArrayDouble widths
;
3941 self
->GetPartialTextExtents(text
, widths
);
3944 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3945 size_t c1
, c2
, count
;
3946 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3947 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3949 if ( beginP
!= NULL
&& endP
!= NULL
)
3951 count
= wxMin(c1
, c2
);
3952 self
->StrokeLines(count
, beginP
, endP
);
3958 #include "wx/dcgraph.h"
3961 #include <wx/overlay.h>
3965 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3966 self
->AddColour(name
, wxColour(red
, green
, blue
));
3969 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3970 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3971 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3972 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3975 #include <wx/effects.h>
3978 #include "wx/renderer.h"
3981 SWIGINTERNINLINE PyObject
*
3982 SWIG_From_bool (bool value
)
3984 return PyBool_FromLong(value
? 1 : 0);
3988 #include "wx/wxPython/pseudodc.h"
3990 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3992 self
->GetIdBounds(id
, rect
);
3998 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3999 PyObject
*resultobj
= 0;
4000 wxGDIObject
*result
= 0 ;
4002 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4004 if (!wxPyCheckForApp()) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (wxGDIObject
*)new wxGDIObject();
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4017 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4018 PyObject
*resultobj
= 0;
4019 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4022 PyObject
*swig_obj
[1] ;
4024 if (!args
) SWIG_fail
;
4026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4027 if (!SWIG_IsOK(res1
)) {
4028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4030 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_Py_Void();
4045 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4046 PyObject
*resultobj
= 0;
4047 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4051 PyObject
*swig_obj
[1] ;
4053 if (!args
) SWIG_fail
;
4055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4056 if (!SWIG_IsOK(res1
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4059 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (bool)(arg1
)->IsNull();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4075 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4078 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4079 return SWIG_Py_Void();
4082 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4083 return SWIG_Python_InitShadowInstance(args
);
4086 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
= 0;
4088 byte arg1
= (byte
) 0 ;
4089 byte arg2
= (byte
) 0 ;
4090 byte arg3
= (byte
) 0 ;
4091 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4092 wxColour
*result
= 0 ;
4093 unsigned char val1
;
4095 unsigned char val2
;
4097 unsigned char val3
;
4099 unsigned char val4
;
4101 PyObject
* obj0
= 0 ;
4102 PyObject
* obj1
= 0 ;
4103 PyObject
* obj2
= 0 ;
4104 PyObject
* obj3
= 0 ;
4105 char * kwnames
[] = {
4106 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4111 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4112 if (!SWIG_IsOK(ecode1
)) {
4113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4115 arg1
= static_cast< byte
>(val1
);
4118 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4119 if (!SWIG_IsOK(ecode2
)) {
4120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4122 arg2
= static_cast< byte
>(val2
);
4125 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4126 if (!SWIG_IsOK(ecode3
)) {
4127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4129 arg3
= static_cast< byte
>(val3
);
4132 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4133 if (!SWIG_IsOK(ecode4
)) {
4134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4136 arg4
= static_cast< byte
>(val4
);
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4151 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
= 0;
4153 wxString
*arg1
= 0 ;
4154 wxColour
*result
= 0 ;
4155 bool temp1
= false ;
4156 PyObject
* obj0
= 0 ;
4157 char * kwnames
[] = {
4158 (char *) "colorName", NULL
4161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4163 arg1
= wxString_in_helper(obj0
);
4164 if (arg1
== NULL
) SWIG_fail
;
4168 if (!wxPyCheckForApp()) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4189 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
= 0;
4191 unsigned long arg1
;
4192 wxColour
*result
= 0 ;
4193 unsigned long val1
;
4195 PyObject
* obj0
= 0 ;
4196 char * kwnames
[] = {
4197 (char *) "colRGB", NULL
4200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4201 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4202 if (!SWIG_IsOK(ecode1
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4205 arg1
= static_cast< unsigned long >(val1
);
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (wxColour
*)new wxColour(arg1
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4219 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4220 PyObject
*resultobj
= 0;
4221 wxColour
*arg1
= (wxColour
*) 0 ;
4224 PyObject
*swig_obj
[1] ;
4226 if (!args
) SWIG_fail
;
4228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4229 if (!SWIG_IsOK(res1
)) {
4230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4232 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_Py_Void();
4247 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4248 PyObject
*resultobj
= 0;
4249 wxColour
*arg1
= (wxColour
*) 0 ;
4253 PyObject
*swig_obj
[1] ;
4255 if (!args
) SWIG_fail
;
4257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4258 if (!SWIG_IsOK(res1
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4261 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (byte
)(arg1
)->Red();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4275 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4276 PyObject
*resultobj
= 0;
4277 wxColour
*arg1
= (wxColour
*) 0 ;
4281 PyObject
*swig_obj
[1] ;
4283 if (!args
) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4289 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (byte
)(arg1
)->Green();
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4303 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4304 PyObject
*resultobj
= 0;
4305 wxColour
*arg1
= (wxColour
*) 0 ;
4309 PyObject
*swig_obj
[1] ;
4311 if (!args
) SWIG_fail
;
4313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4314 if (!SWIG_IsOK(res1
)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4317 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (byte
)(arg1
)->Blue();
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4331 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4332 PyObject
*resultobj
= 0;
4333 wxColour
*arg1
= (wxColour
*) 0 ;
4337 PyObject
*swig_obj
[1] ;
4339 if (!args
) SWIG_fail
;
4341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4342 if (!SWIG_IsOK(res1
)) {
4343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4345 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (byte
)(arg1
)->Alpha();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4359 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4360 PyObject
*resultobj
= 0;
4361 wxColour
*arg1
= (wxColour
*) 0 ;
4365 PyObject
*swig_obj
[1] ;
4367 if (!args
) SWIG_fail
;
4369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4370 if (!SWIG_IsOK(res1
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4373 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (bool)(arg1
)->IsOk();
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4389 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
= 0;
4391 wxColour
*arg1
= (wxColour
*) 0 ;
4395 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4398 unsigned char val2
;
4400 unsigned char val3
;
4402 unsigned char val4
;
4404 unsigned char val5
;
4406 PyObject
* obj0
= 0 ;
4407 PyObject
* obj1
= 0 ;
4408 PyObject
* obj2
= 0 ;
4409 PyObject
* obj3
= 0 ;
4410 PyObject
* obj4
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4420 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4421 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4422 if (!SWIG_IsOK(ecode2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4425 arg2
= static_cast< byte
>(val2
);
4426 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4427 if (!SWIG_IsOK(ecode3
)) {
4428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4430 arg3
= static_cast< byte
>(val3
);
4431 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4432 if (!SWIG_IsOK(ecode4
)) {
4433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4435 arg4
= static_cast< byte
>(val4
);
4437 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4438 if (!SWIG_IsOK(ecode5
)) {
4439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4441 arg5
= static_cast< byte
>(val5
);
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_Py_Void();
4456 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
= 0;
4458 wxColour
*arg1
= (wxColour
*) 0 ;
4459 unsigned long arg2
;
4462 unsigned long val2
;
4464 PyObject
* obj0
= 0 ;
4465 PyObject
* obj1
= 0 ;
4466 char * kwnames
[] = {
4467 (char *) "self",(char *) "colRGB", NULL
4470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4475 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4476 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4477 if (!SWIG_IsOK(ecode2
)) {
4478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4480 arg2
= static_cast< unsigned long >(val2
);
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= SWIG_Py_Void();
4494 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4496 wxColour
*arg1
= (wxColour
*) 0 ;
4497 wxString
*arg2
= 0 ;
4500 bool temp2
= false ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4503 char * kwnames
[] = {
4504 (char *) "self",(char *) "colourName", NULL
4507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4509 if (!SWIG_IsOK(res1
)) {
4510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4512 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4514 arg2
= wxString_in_helper(obj1
);
4515 if (arg2
== NULL
) SWIG_fail
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 (arg1
)->Set((wxString
const &)*arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= SWIG_Py_Void();
4539 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
= 0;
4541 wxColour
*arg1
= (wxColour
*) 0 ;
4542 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 char * kwnames
[] = {
4551 (char *) "self",(char *) "flags", NULL
4554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4556 if (!SWIG_IsOK(res1
)) {
4557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4559 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4562 if (!SWIG_IsOK(ecode2
)) {
4563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4565 arg2
= static_cast< long >(val2
);
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4586 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4587 PyObject
*resultobj
= 0;
4588 wxColour
*arg1
= (wxColour
*) 0 ;
4592 PyObject
*swig_obj
[1] ;
4594 if (!args
) SWIG_fail
;
4596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4597 if (!SWIG_IsOK(res1
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4600 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= SWIG_From_long(static_cast< long >(result
));
4614 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
= 0;
4616 wxColour
*arg1
= (wxColour
*) 0 ;
4617 PyObject
*arg2
= (PyObject
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 char * kwnames
[] = {
4624 (char *) "self",(char *) "other", NULL
4627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4629 if (!SWIG_IsOK(res1
)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4632 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4635 result
= (bool)wxColour___eq__(arg1
,arg2
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4647 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
= 0;
4649 wxColour
*arg1
= (wxColour
*) 0 ;
4650 PyObject
*arg2
= (PyObject
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4656 char * kwnames
[] = {
4657 (char *) "self",(char *) "other", NULL
4660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4662 if (!SWIG_IsOK(res1
)) {
4663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4665 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4668 result
= (bool)wxColour___ne__(arg1
,arg2
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4680 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
= 0;
4682 wxColour
*arg1
= (wxColour
*) 0 ;
4683 bool arg2
= (bool) false ;
4684 PyObject
*result
= 0 ;
4689 PyObject
* obj0
= 0 ;
4690 PyObject
* obj1
= 0 ;
4691 char * kwnames
[] = {
4692 (char *) "self",(char *) "includeAlpha", NULL
4695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4697 if (!SWIG_IsOK(res1
)) {
4698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4700 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4703 if (!SWIG_IsOK(ecode2
)) {
4704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4706 arg2
= static_cast< bool >(val2
);
4709 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4719 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4720 PyObject
*resultobj
= 0;
4721 wxColour
*arg1
= (wxColour
*) 0 ;
4722 unsigned long result
;
4725 PyObject
*swig_obj
[1] ;
4727 if (!args
) SWIG_fail
;
4729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4730 if (!SWIG_IsOK(res1
)) {
4731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4733 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4735 result
= (unsigned long)wxColour_GetRGB(arg1
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4745 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4748 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4749 return SWIG_Py_Void();
4752 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4753 return SWIG_Python_InitShadowInstance(args
);
4756 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
= 0;
4759 unsigned char *arg2
= (unsigned char *) 0 ;
4760 unsigned char *arg3
= (unsigned char *) 0 ;
4761 unsigned char *arg4
= (unsigned char *) 0 ;
4762 wxPalette
*result
= 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4773 PyObject
* obj2
= 0 ;
4774 PyObject
* obj3
= 0 ;
4775 char * kwnames
[] = {
4776 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4780 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4781 if (!SWIG_IsOK(ecode1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4784 arg1
= static_cast< int >(val1
);
4785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4786 if (!SWIG_IsOK(res2
)) {
4787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4789 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4790 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4791 if (!SWIG_IsOK(res3
)) {
4792 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4794 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4795 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4796 if (!SWIG_IsOK(res4
)) {
4797 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4799 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4801 if (!wxPyCheckForApp()) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4814 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4815 PyObject
*resultobj
= 0;
4816 wxPalette
*arg1
= (wxPalette
*) 0 ;
4819 PyObject
*swig_obj
[1] ;
4821 if (!args
) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4827 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_Py_Void();
4842 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
= 0;
4844 wxPalette
*arg1
= (wxPalette
*) 0 ;
4851 unsigned char val2
;
4853 unsigned char val3
;
4855 unsigned char val4
;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4860 PyObject
* obj3
= 0 ;
4861 char * kwnames
[] = {
4862 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4867 if (!SWIG_IsOK(res1
)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4870 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4871 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4872 if (!SWIG_IsOK(ecode2
)) {
4873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4875 arg2
= static_cast< byte
>(val2
);
4876 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4877 if (!SWIG_IsOK(ecode3
)) {
4878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4880 arg3
= static_cast< byte
>(val3
);
4881 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4882 if (!SWIG_IsOK(ecode4
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4885 arg4
= static_cast< byte
>(val4
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_From_int(static_cast< int >(result
));
4899 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
= 0;
4901 wxPalette
*arg1
= (wxPalette
*) 0 ;
4903 byte
*arg3
= (byte
*) 0 ;
4904 byte
*arg4
= (byte
*) 0 ;
4905 byte
*arg5
= (byte
*) 0 ;
4912 int res3
= SWIG_TMPOBJ
;
4914 int res4
= SWIG_TMPOBJ
;
4916 int res5
= SWIG_TMPOBJ
;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 char * kwnames
[] = {
4920 (char *) "self",(char *) "pixel", NULL
4926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4928 if (!SWIG_IsOK(res1
)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4931 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4933 if (!SWIG_IsOK(ecode2
)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4936 arg2
= static_cast< int >(val2
);
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4946 if (SWIG_IsTmpObj(res3
)) {
4947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4949 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4952 if (SWIG_IsTmpObj(res4
)) {
4953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4955 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4958 if (SWIG_IsTmpObj(res5
)) {
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4961 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4970 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4971 PyObject
*resultobj
= 0;
4972 wxPalette
*arg1
= (wxPalette
*) 0 ;
4976 PyObject
*swig_obj
[1] ;
4978 if (!args
) SWIG_fail
;
4980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4981 if (!SWIG_IsOK(res1
)) {
4982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4984 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_From_int(static_cast< int >(result
));
4998 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 PyObject
*resultobj
= 0;
5000 wxPalette
*arg1
= (wxPalette
*) 0 ;
5004 PyObject
*swig_obj
[1] ;
5006 if (!args
) SWIG_fail
;
5008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5009 if (!SWIG_IsOK(res1
)) {
5010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5012 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (bool)(arg1
)->IsOk();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5028 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5031 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5032 return SWIG_Py_Void();
5035 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5036 return SWIG_Python_InitShadowInstance(args
);
5039 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
= 0;
5041 wxColour
*arg1
= 0 ;
5042 int arg2
= (int) 1 ;
5043 int arg3
= (int) wxSOLID
;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 PyObject
* obj2
= 0 ;
5053 char * kwnames
[] = {
5054 (char *) "colour",(char *) "width",(char *) "style", NULL
5057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5060 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5064 if (!SWIG_IsOK(ecode2
)) {
5065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5067 arg2
= static_cast< int >(val2
);
5070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5071 if (!SWIG_IsOK(ecode3
)) {
5072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5074 arg3
= static_cast< int >(val3
);
5077 if (!wxPyCheckForApp()) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5090 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5091 PyObject
*resultobj
= 0;
5092 wxPen
*arg1
= (wxPen
*) 0 ;
5095 PyObject
*swig_obj
[1] ;
5097 if (!args
) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5103 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= SWIG_Py_Void();
5118 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5119 PyObject
*resultobj
= 0;
5120 wxPen
*arg1
= (wxPen
*) 0 ;
5124 PyObject
*swig_obj
[1] ;
5126 if (!args
) SWIG_fail
;
5128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5129 if (!SWIG_IsOK(res1
)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5132 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (int)(arg1
)->GetCap();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= SWIG_From_int(static_cast< int >(result
));
5146 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5147 PyObject
*resultobj
= 0;
5148 wxPen
*arg1
= (wxPen
*) 0 ;
5152 PyObject
*swig_obj
[1] ;
5154 if (!args
) SWIG_fail
;
5156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5157 if (!SWIG_IsOK(res1
)) {
5158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5160 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (arg1
)->GetColour();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5174 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5175 PyObject
*resultobj
= 0;
5176 wxPen
*arg1
= (wxPen
*) 0 ;
5180 PyObject
*swig_obj
[1] ;
5182 if (!args
) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5188 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= (int)(arg1
)->GetJoin();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_From_int(static_cast< int >(result
));
5202 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5203 PyObject
*resultobj
= 0;
5204 wxPen
*arg1
= (wxPen
*) 0 ;
5208 PyObject
*swig_obj
[1] ;
5210 if (!args
) SWIG_fail
;
5212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5213 if (!SWIG_IsOK(res1
)) {
5214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5216 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (int)(arg1
)->GetStyle();
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_From_int(static_cast< int >(result
));
5230 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5231 PyObject
*resultobj
= 0;
5232 wxPen
*arg1
= (wxPen
*) 0 ;
5236 PyObject
*swig_obj
[1] ;
5238 if (!args
) SWIG_fail
;
5240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5241 if (!SWIG_IsOK(res1
)) {
5242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5244 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= (int)(arg1
)->GetWidth();
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= SWIG_From_int(static_cast< int >(result
));
5258 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5259 PyObject
*resultobj
= 0;
5260 wxPen
*arg1
= (wxPen
*) 0 ;
5264 PyObject
*swig_obj
[1] ;
5266 if (!args
) SWIG_fail
;
5268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5269 if (!SWIG_IsOK(res1
)) {
5270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5272 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (bool)(arg1
)->IsOk();
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5288 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
= 0;
5290 wxPen
*arg1
= (wxPen
*) 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5298 char * kwnames
[] = {
5299 (char *) "self",(char *) "cap_style", NULL
5302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5304 if (!SWIG_IsOK(res1
)) {
5305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5307 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5309 if (!SWIG_IsOK(ecode2
)) {
5310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5312 arg2
= static_cast< int >(val2
);
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 (arg1
)->SetCap(arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= SWIG_Py_Void();
5326 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
= 0;
5328 wxPen
*arg1
= (wxPen
*) 0 ;
5329 wxColour
*arg2
= 0 ;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5335 char * kwnames
[] = {
5336 (char *) "self",(char *) "colour", NULL
5339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5341 if (!SWIG_IsOK(res1
)) {
5342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5344 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 (arg1
)->SetColour(*arg2
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 resultobj
= SWIG_Py_Void();
5362 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
= 0;
5364 wxPen
*arg1
= (wxPen
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5372 char * kwnames
[] = {
5373 (char *) "self",(char *) "join_style", NULL
5376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5378 if (!SWIG_IsOK(res1
)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5381 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5383 if (!SWIG_IsOK(ecode2
)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5386 arg2
= static_cast< int >(val2
);
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 (arg1
)->SetJoin(arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_Py_Void();
5400 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
= 0;
5402 wxPen
*arg1
= (wxPen
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5410 char * kwnames
[] = {
5411 (char *) "self",(char *) "style", NULL
5414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5416 if (!SWIG_IsOK(res1
)) {
5417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5419 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5421 if (!SWIG_IsOK(ecode2
)) {
5422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5424 arg2
= static_cast< int >(val2
);
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->SetStyle(arg2
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= SWIG_Py_Void();
5438 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
= 0;
5440 wxPen
*arg1
= (wxPen
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5447 PyObject
* obj1
= 0 ;
5448 char * kwnames
[] = {
5449 (char *) "self",(char *) "width", NULL
5452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5454 if (!SWIG_IsOK(res1
)) {
5455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5457 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5459 if (!SWIG_IsOK(ecode2
)) {
5460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5462 arg2
= static_cast< int >(val2
);
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetWidth(arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_Py_Void();
5476 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
= 0;
5478 wxPen
*arg1
= (wxPen
*) 0 ;
5480 wxDash
*arg3
= (wxDash
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 char * kwnames
[] = {
5486 (char *) "self",(char *) "dashes", NULL
5489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5491 if (!SWIG_IsOK(res1
)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5494 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5496 arg2
= PyList_Size(obj1
);
5497 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5498 if (arg3
== NULL
) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->SetDashes(arg2
,arg3
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_Py_Void();
5508 if (arg3
) delete [] arg3
;
5513 if (arg3
) delete [] arg3
;
5519 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5520 PyObject
*resultobj
= 0;
5521 wxPen
*arg1
= (wxPen
*) 0 ;
5522 PyObject
*result
= 0 ;
5525 PyObject
*swig_obj
[1] ;
5527 if (!args
) SWIG_fail
;
5529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5530 if (!SWIG_IsOK(res1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5533 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5547 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
= 0;
5549 wxPen
*arg1
= (wxPen
*) 0 ;
5550 PyObject
*arg2
= (PyObject
*) 0 ;
5551 PyObject
*arg3
= (PyObject
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5556 PyObject
* obj2
= 0 ;
5557 char * kwnames
[] = {
5558 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5563 if (!SWIG_IsOK(res1
)) {
5564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5566 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxPen__SetDashes(arg1
,arg2
,arg3
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_Py_Void();
5582 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5583 PyObject
*resultobj
= 0;
5584 wxPen
*arg1
= (wxPen
*) 0 ;
5588 PyObject
*swig_obj
[1] ;
5590 if (!args
) SWIG_fail
;
5592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5593 if (!SWIG_IsOK(res1
)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5596 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_From_int(static_cast< int >(result
));
5610 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5611 PyObject
*resultobj
= 0;
5612 wxPen
*arg1
= (wxPen
*) 0 ;
5613 wxBitmap
*result
= 0 ;
5616 PyObject
*swig_obj
[1] ;
5618 if (!args
) SWIG_fail
;
5620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5621 if (!SWIG_IsOK(res1
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5624 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (wxBitmap
*)(arg1
)->GetStipple();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5638 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
= 0;
5640 wxPen
*arg1
= (wxPen
*) 0 ;
5641 wxBitmap
*arg2
= 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 char * kwnames
[] = {
5649 (char *) "self",(char *) "stipple", NULL
5652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5654 if (!SWIG_IsOK(res1
)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5657 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5659 if (!SWIG_IsOK(res2
)) {
5660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5665 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 (arg1
)->SetStipple(*arg2
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_Py_Void();
5679 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
= 0;
5681 wxPen
*arg1
= (wxPen
*) 0 ;
5682 wxPen
*arg2
= (wxPen
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5690 char * kwnames
[] = {
5691 (char *) "self",(char *) "other", NULL
5694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5696 if (!SWIG_IsOK(res1
)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5699 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5701 if (!SWIG_IsOK(res2
)) {
5702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5704 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
= 0;
5722 wxPen
*arg1
= (wxPen
*) 0 ;
5723 wxPen
*arg2
= (wxPen
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 char * kwnames
[] = {
5732 (char *) "self",(char *) "other", NULL
5735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5740 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5742 if (!SWIG_IsOK(res2
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5745 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5761 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5764 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5765 return SWIG_Py_Void();
5768 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5769 return SWIG_Python_InitShadowInstance(args
);
5772 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
= 0;
5774 wxColour
*arg1
= 0 ;
5775 int arg2
= (int) wxSOLID
;
5776 wxBrush
*result
= 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5782 char * kwnames
[] = {
5783 (char *) "colour",(char *) "style", NULL
5786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5789 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5793 if (!SWIG_IsOK(ecode2
)) {
5794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5796 arg2
= static_cast< int >(val2
);
5799 if (!wxPyCheckForApp()) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5812 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
= 0;
5814 wxBitmap
*arg1
= 0 ;
5815 wxBrush
*result
= 0 ;
5818 PyObject
* obj0
= 0 ;
5819 char * kwnames
[] = {
5820 (char *) "stippleBitmap", NULL
5823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5824 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5825 if (!SWIG_IsOK(res1
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5831 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5833 if (!wxPyCheckForApp()) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5846 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5847 PyObject
*resultobj
= 0;
5848 wxBrush
*arg1
= (wxBrush
*) 0 ;
5851 PyObject
*swig_obj
[1] ;
5853 if (!args
) SWIG_fail
;
5855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5856 if (!SWIG_IsOK(res1
)) {
5857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5859 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
= 0;
5876 wxBrush
*arg1
= (wxBrush
*) 0 ;
5877 wxColour
*arg2
= 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "col", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5892 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 (arg1
)->SetColour((wxColour
const &)*arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= SWIG_Py_Void();
5910 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
= 0;
5912 wxBrush
*arg1
= (wxBrush
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "self",(char *) "style", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5929 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5931 if (!SWIG_IsOK(ecode2
)) {
5932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5934 arg2
= static_cast< int >(val2
);
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 (arg1
)->SetStyle(arg2
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= SWIG_Py_Void();
5948 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
= 0;
5950 wxBrush
*arg1
= (wxBrush
*) 0 ;
5951 wxBitmap
*arg2
= 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5958 char * kwnames
[] = {
5959 (char *) "self",(char *) "stipple", NULL
5962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5967 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5969 if (!SWIG_IsOK(res2
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5975 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= SWIG_Py_Void();
5989 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5990 PyObject
*resultobj
= 0;
5991 wxBrush
*arg1
= (wxBrush
*) 0 ;
5995 PyObject
*swig_obj
[1] ;
5997 if (!args
) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6003 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= ((wxBrush
const *)arg1
)->GetColour();
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6017 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6018 PyObject
*resultobj
= 0;
6019 wxBrush
*arg1
= (wxBrush
*) 0 ;
6023 PyObject
*swig_obj
[1] ;
6025 if (!args
) SWIG_fail
;
6027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6028 if (!SWIG_IsOK(res1
)) {
6029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6031 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= SWIG_From_int(static_cast< int >(result
));
6045 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6046 PyObject
*resultobj
= 0;
6047 wxBrush
*arg1
= (wxBrush
*) 0 ;
6048 wxBitmap
*result
= 0 ;
6051 PyObject
*swig_obj
[1] ;
6053 if (!args
) SWIG_fail
;
6055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6056 if (!SWIG_IsOK(res1
)) {
6057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6059 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6073 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6074 PyObject
*resultobj
= 0;
6075 wxBrush
*arg1
= (wxBrush
*) 0 ;
6079 PyObject
*swig_obj
[1] ;
6081 if (!args
) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6087 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6104 PyObject
*resultobj
= 0;
6105 wxBrush
*arg1
= (wxBrush
*) 0 ;
6109 PyObject
*swig_obj
[1] ;
6111 if (!args
) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6117 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (bool)(arg1
)->IsOk();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6133 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6136 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6137 return SWIG_Py_Void();
6140 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6141 return SWIG_Python_InitShadowInstance(args
);
6144 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
= 0;
6146 wxString
*arg1
= 0 ;
6147 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6148 wxBitmap
*result
= 0 ;
6149 bool temp1
= false ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 char * kwnames
[] = {
6155 (char *) "name",(char *) "type", NULL
6158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6160 arg1
= wxString_in_helper(obj0
);
6161 if (arg1
== NULL
) SWIG_fail
;
6165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6166 if (!SWIG_IsOK(ecode2
)) {
6167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6169 arg2
= static_cast< wxBitmapType
>(val2
);
6172 if (!wxPyCheckForApp()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6193 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6194 PyObject
*resultobj
= 0;
6195 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6198 PyObject
*swig_obj
[1] ;
6200 if (!args
) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6206 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_Py_Void();
6219 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
= 0;
6223 int arg3
= (int) -1 ;
6224 wxBitmap
*result
= 0 ;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6233 PyObject
* obj2
= 0 ;
6234 char * kwnames
[] = {
6235 (char *) "width",(char *) "height",(char *) "depth", NULL
6238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6240 if (!SWIG_IsOK(ecode1
)) {
6241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6243 arg1
= static_cast< int >(val1
);
6244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6245 if (!SWIG_IsOK(ecode2
)) {
6246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6248 arg2
= static_cast< int >(val2
);
6250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6251 if (!SWIG_IsOK(ecode3
)) {
6252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6254 arg3
= static_cast< int >(val3
);
6257 if (!wxPyCheckForApp()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6270 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
= 0;
6273 wxBitmap
*result
= 0 ;
6276 PyObject
* obj0
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "icon", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6289 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6291 if (!wxPyCheckForApp()) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6304 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
= 0;
6307 int arg2
= (int) -1 ;
6308 wxBitmap
*result
= 0 ;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6315 char * kwnames
[] = {
6316 (char *) "image",(char *) "depth", NULL
6319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6320 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6321 if (!SWIG_IsOK(res1
)) {
6322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6327 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6330 if (!SWIG_IsOK(ecode2
)) {
6331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6333 arg2
= static_cast< int >(val2
);
6336 if (!wxPyCheckForApp()) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6349 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
= 0;
6351 PyObject
*arg1
= (PyObject
*) 0 ;
6352 wxBitmap
*result
= 0 ;
6353 PyObject
* obj0
= 0 ;
6354 char * kwnames
[] = {
6355 (char *) "listOfStrings", NULL
6358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6361 if (!wxPyCheckForApp()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6374 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
= 0;
6376 PyObject
*arg1
= (PyObject
*) 0 ;
6379 int arg4
= (int) 1 ;
6380 wxBitmap
*result
= 0 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6391 char * kwnames
[] = {
6392 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6398 if (!SWIG_IsOK(ecode2
)) {
6399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6401 arg2
= static_cast< int >(val2
);
6402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6403 if (!SWIG_IsOK(ecode3
)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6406 arg3
= static_cast< int >(val3
);
6408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6409 if (!SWIG_IsOK(ecode4
)) {
6410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6412 arg4
= static_cast< int >(val4
);
6415 if (!wxPyCheckForApp()) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6428 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6429 PyObject
*resultobj
= 0;
6430 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6434 PyObject
*swig_obj
[1] ;
6436 if (!args
) SWIG_fail
;
6438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6439 if (!SWIG_IsOK(res1
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6442 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6444 result
= (long)(arg1
)->GetHandle();
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_From_long(static_cast< long >(result
));
6454 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
= 0;
6456 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 char * kwnames
[] = {
6465 (char *) "self",(char *) "handle", NULL
6468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6473 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6474 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6475 if (!SWIG_IsOK(ecode2
)) {
6476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6478 arg2
= static_cast< long >(val2
);
6480 wxBitmap_SetHandle(arg1
,arg2
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_Py_Void();
6490 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6491 PyObject
*resultobj
= 0;
6492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6496 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6504 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6506 result
= (bool)(arg1
)->IsOk();
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6518 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6519 PyObject
*resultobj
= 0;
6520 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6524 PyObject
*swig_obj
[1] ;
6526 if (!args
) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6532 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6534 result
= (int)(arg1
)->GetWidth();
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= SWIG_From_int(static_cast< int >(result
));
6544 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6545 PyObject
*resultobj
= 0;
6546 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6550 PyObject
*swig_obj
[1] ;
6552 if (!args
) SWIG_fail
;
6554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6555 if (!SWIG_IsOK(res1
)) {
6556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6558 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6560 result
= (int)(arg1
)->GetHeight();
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_From_int(static_cast< int >(result
));
6570 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6571 PyObject
*resultobj
= 0;
6572 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6576 PyObject
*swig_obj
[1] ;
6578 if (!args
) SWIG_fail
;
6580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6581 if (!SWIG_IsOK(res1
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6584 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6586 result
= (int)(arg1
)->GetDepth();
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_From_int(static_cast< int >(result
));
6596 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6597 PyObject
*resultobj
= 0;
6598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6602 PyObject
*swig_obj
[1] ;
6604 if (!args
) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6610 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6612 result
= wxBitmap_GetSize(arg1
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6622 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6623 PyObject
*resultobj
= 0;
6624 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6625 SwigValueWrapper
<wxImage
> result
;
6628 PyObject
*swig_obj
[1] ;
6630 if (!args
) SWIG_fail
;
6632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6633 if (!SWIG_IsOK(res1
)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6636 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6638 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6648 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6651 wxMask
*result
= 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6662 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6664 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6674 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= 0;
6676 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6677 wxMask
*arg2
= (wxMask
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "mask", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) 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_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6693 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6694 if (!SWIG_IsOK(res2
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6698 (arg1
)->SetMask(arg2
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= SWIG_Py_Void();
6708 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
= 0;
6710 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6711 wxColour
*arg2
= 0 ;
6715 PyObject
* obj0
= 0 ;
6716 PyObject
* obj1
= 0 ;
6717 char * kwnames
[] = {
6718 (char *) "self",(char *) "colour", NULL
6721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6723 if (!SWIG_IsOK(res1
)) {
6724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6726 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6732 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_Py_Void();
6742 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
= 0;
6744 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6746 SwigValueWrapper
<wxBitmap
> result
;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6752 char * kwnames
[] = {
6753 (char *) "self",(char *) "rect", NULL
6756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6758 if (!SWIG_IsOK(res1
)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6761 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6767 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6777 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
= 0;
6779 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6780 wxString
*arg2
= 0 ;
6782 wxPalette
*arg4
= (wxPalette
*) NULL
;
6786 bool temp2
= false ;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6793 PyObject
* obj2
= 0 ;
6794 PyObject
* obj3
= 0 ;
6795 char * kwnames
[] = {
6796 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6801 if (!SWIG_IsOK(res1
)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6804 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6806 arg2
= wxString_in_helper(obj1
);
6807 if (arg2
== NULL
) SWIG_fail
;
6810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6811 if (!SWIG_IsOK(ecode3
)) {
6812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6814 arg3
= static_cast< wxBitmapType
>(val3
);
6816 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6817 if (!SWIG_IsOK(res4
)) {
6818 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6820 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6823 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6843 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
= 0;
6845 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6846 wxString
*arg2
= 0 ;
6851 bool temp2
= false ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6856 PyObject
* obj2
= 0 ;
6857 char * kwnames
[] = {
6858 (char *) "self",(char *) "name",(char *) "type", NULL
6861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6863 if (!SWIG_IsOK(res1
)) {
6864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6866 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6868 arg2
= wxString_in_helper(obj1
);
6869 if (arg2
== NULL
) SWIG_fail
;
6872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6873 if (!SWIG_IsOK(ecode3
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6876 arg3
= static_cast< wxBitmapType
>(val3
);
6878 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6898 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6899 PyObject
*resultobj
= 0;
6900 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6901 wxPalette
*result
= 0 ;
6904 PyObject
*swig_obj
[1] ;
6906 if (!args
) SWIG_fail
;
6908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6909 if (!SWIG_IsOK(res1
)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6914 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6924 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
= 0;
6926 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6927 wxPalette
*arg2
= 0 ;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 char * kwnames
[] = {
6935 (char *) "self",(char *) "palette", NULL
6938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6940 if (!SWIG_IsOK(res1
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6943 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6945 if (!SWIG_IsOK(res2
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6951 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6953 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_Py_Void();
6963 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
= 0;
6965 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 char * kwnames
[] = {
6975 (char *) "self",(char *) "icon", NULL
6978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6980 if (!SWIG_IsOK(res1
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6983 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6985 if (!SWIG_IsOK(res2
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6991 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6993 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7005 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
= 0;
7007 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7014 PyObject
* obj1
= 0 ;
7015 char * kwnames
[] = {
7016 (char *) "self",(char *) "height", NULL
7019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7021 if (!SWIG_IsOK(res1
)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7024 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7026 if (!SWIG_IsOK(ecode2
)) {
7027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7029 arg2
= static_cast< int >(val2
);
7031 (arg1
)->SetHeight(arg2
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_Py_Void();
7041 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= 0;
7043 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 char * kwnames
[] = {
7052 (char *) "self",(char *) "width", NULL
7055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7060 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7062 if (!SWIG_IsOK(ecode2
)) {
7063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7065 arg2
= static_cast< int >(val2
);
7067 (arg1
)->SetWidth(arg2
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_Py_Void();
7077 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
= 0;
7079 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 char * kwnames
[] = {
7088 (char *) "self",(char *) "depth", NULL
7091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7096 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7098 if (!SWIG_IsOK(ecode2
)) {
7099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7101 arg2
= static_cast< int >(val2
);
7103 (arg1
)->SetDepth(arg2
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_Py_Void();
7113 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
= 0;
7115 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7122 char * kwnames
[] = {
7123 (char *) "self",(char *) "size", NULL
7126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7131 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7137 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_Py_Void();
7147 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= 0;
7149 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7150 wxCursor
*arg2
= 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "cursor", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7169 if (!SWIG_IsOK(res2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7175 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7177 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7189 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
= 0;
7191 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 char * kwnames
[] = {
7200 (char *) "self",(char *) "data", NULL
7203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7205 if (!SWIG_IsOK(res1
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7208 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7210 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7214 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_Py_Void();
7224 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
= 0;
7226 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7234 char * kwnames
[] = {
7235 (char *) "self",(char *) "data", NULL
7238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7240 if (!SWIG_IsOK(res1
)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7243 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7245 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7249 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_Py_Void();
7259 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7261 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7262 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7270 char * kwnames
[] = {
7271 (char *) "self",(char *) "other", NULL
7274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7276 if (!SWIG_IsOK(res1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7279 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7281 if (!SWIG_IsOK(res2
)) {
7282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7284 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7286 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7298 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
= 0;
7300 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7301 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 char * kwnames
[] = {
7310 (char *) "self",(char *) "other", NULL
7313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7318 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7320 if (!SWIG_IsOK(res2
)) {
7321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7323 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7325 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7337 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7340 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7341 return SWIG_Py_Void();
7344 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7345 return SWIG_Python_InitShadowInstance(args
);
7348 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
= 0;
7356 wxBitmap
*result
= 0 ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7365 PyObject
* obj2
= 0 ;
7366 PyObject
* obj3
= 0 ;
7367 char * kwnames
[] = {
7368 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7373 if (!SWIG_IsOK(ecode1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7376 arg1
= static_cast< int >(val1
);
7377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7378 if (!SWIG_IsOK(ecode2
)) {
7379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7381 arg2
= static_cast< int >(val2
);
7383 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7387 if (obj3
!= Py_None
) {
7388 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7393 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7403 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
= 0;
7409 wxBitmap
*result
= 0 ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7417 PyObject
* obj2
= 0 ;
7418 char * kwnames
[] = {
7419 (char *) "width",(char *) "height",(char *) "data", NULL
7422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7424 if (!SWIG_IsOK(ecode1
)) {
7425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7427 arg1
= static_cast< int >(val1
);
7428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7429 if (!SWIG_IsOK(ecode2
)) {
7430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7432 arg2
= static_cast< int >(val2
);
7434 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7438 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7448 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7454 wxBitmap
*result
= 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7463 char * kwnames
[] = {
7464 (char *) "width",(char *) "height",(char *) "data", NULL
7467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7468 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7469 if (!SWIG_IsOK(ecode1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7472 arg1
= static_cast< int >(val1
);
7473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7474 if (!SWIG_IsOK(ecode2
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7477 arg2
= static_cast< int >(val2
);
7479 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7483 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7493 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7494 PyObject
*resultobj
= 0;
7495 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7499 PyObject
*swig_obj
[1] ;
7501 if (!args
) SWIG_fail
;
7503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7504 if (!SWIG_IsOK(res1
)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7507 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7509 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7519 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7520 PyObject
*resultobj
= 0;
7521 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7525 PyObject
*swig_obj
[1] ;
7527 if (!args
) SWIG_fail
;
7529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7530 if (!SWIG_IsOK(res1
)) {
7531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7533 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7535 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= SWIG_From_int(static_cast< int >(result
));
7545 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7546 PyObject
*resultobj
= 0;
7547 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7551 PyObject
*swig_obj
[1] ;
7553 if (!args
) SWIG_fail
;
7555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7556 if (!SWIG_IsOK(res1
)) {
7557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7559 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7561 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_From_int(static_cast< int >(result
));
7571 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7572 PyObject
*resultobj
= 0;
7573 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7577 PyObject
*swig_obj
[1] ;
7579 if (!args
) SWIG_fail
;
7581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7582 if (!SWIG_IsOK(res1
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7585 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7587 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7597 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7598 PyObject
*resultobj
= 0;
7599 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7603 PyObject
*swig_obj
[1] ;
7605 if (!args
) SWIG_fail
;
7607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7608 if (!SWIG_IsOK(res1
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7611 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7613 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_From_int(static_cast< int >(result
));
7623 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7627 return SWIG_Py_Void();
7630 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7631 PyObject
*resultobj
= 0;
7632 wxBitmap
*arg1
= 0 ;
7633 wxNativePixelData
*result
= 0 ;
7637 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7639 if (!SWIG_IsOK(res1
)) {
7640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7645 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7647 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7657 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7658 PyObject
*resultobj
= 0;
7659 wxBitmap
*arg1
= 0 ;
7661 wxNativePixelData
*result
= 0 ;
7666 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7668 if (!SWIG_IsOK(res1
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7674 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7677 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7680 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7690 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7691 PyObject
*resultobj
= 0;
7692 wxBitmap
*arg1
= 0 ;
7695 wxNativePixelData
*result
= 0 ;
7701 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7703 if (!SWIG_IsOK(res1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7709 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7712 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7716 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7719 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7729 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7733 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7736 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7739 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7742 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7746 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7751 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7752 PyObject
*resultobj
= 0;
7753 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7756 PyObject
*swig_obj
[1] ;
7758 if (!args
) SWIG_fail
;
7760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7761 if (!SWIG_IsOK(res1
)) {
7762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7764 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_Py_Void();
7777 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 PyObject
*resultobj
= 0;
7779 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7780 wxNativePixelData_Accessor result
;
7783 PyObject
*swig_obj
[1] ;
7785 if (!args
) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7791 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7793 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7803 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7804 PyObject
*resultobj
= 0;
7805 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7808 PyObject
*swig_obj
[1] ;
7810 if (!args
) SWIG_fail
;
7812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7813 if (!SWIG_IsOK(res1
)) {
7814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7816 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_Py_Void();
7828 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7829 PyObject
*resultobj
= 0;
7830 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7834 PyObject
*swig_obj
[1] ;
7836 if (!args
) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7842 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7844 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7856 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7859 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7860 return SWIG_Py_Void();
7863 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7864 return SWIG_Python_InitShadowInstance(args
);
7867 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7868 PyObject
*resultobj
= 0;
7869 wxNativePixelData
*arg1
= 0 ;
7870 wxNativePixelData_Accessor
*result
= 0 ;
7874 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7882 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7884 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7894 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7895 PyObject
*resultobj
= 0;
7896 wxBitmap
*arg1
= 0 ;
7897 wxNativePixelData
*arg2
= 0 ;
7898 wxNativePixelData_Accessor
*result
= 0 ;
7904 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7913 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7914 if (!SWIG_IsOK(res2
)) {
7915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7920 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7922 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7932 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7933 PyObject
*resultobj
= 0;
7934 wxNativePixelData_Accessor
*result
= 0 ;
7936 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7938 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7948 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7952 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7955 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7958 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7961 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7965 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7970 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 PyObject
*resultobj
= 0;
7972 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7975 PyObject
*swig_obj
[1] ;
7977 if (!args
) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7983 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_Py_Void();
7996 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
= 0;
7998 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7999 wxNativePixelData
*arg2
= 0 ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 char * kwnames
[] = {
8007 (char *) "self",(char *) "data", NULL
8010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8012 if (!SWIG_IsOK(res1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8015 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8017 if (!SWIG_IsOK(res2
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8023 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8025 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_Py_Void();
8035 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 PyObject
*resultobj
= 0;
8037 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8041 PyObject
*swig_obj
[1] ;
8043 if (!args
) SWIG_fail
;
8045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8046 if (!SWIG_IsOK(res1
)) {
8047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8049 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8051 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8063 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8064 PyObject
*resultobj
= 0;
8065 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8068 PyObject
*swig_obj
[1] ;
8070 if (!args
) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8076 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8078 wxNativePixelData_Accessor_nextPixel(arg1
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_Py_Void();
8088 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
= 0;
8090 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8091 wxNativePixelData
*arg2
= 0 ;
8102 PyObject
* obj0
= 0 ;
8103 PyObject
* obj1
= 0 ;
8104 PyObject
* obj2
= 0 ;
8105 PyObject
* obj3
= 0 ;
8106 char * kwnames
[] = {
8107 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8112 if (!SWIG_IsOK(res1
)) {
8113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8115 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8117 if (!SWIG_IsOK(res2
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8123 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8125 if (!SWIG_IsOK(ecode3
)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8128 arg3
= static_cast< int >(val3
);
8129 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8130 if (!SWIG_IsOK(ecode4
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8133 arg4
= static_cast< int >(val4
);
8135 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_Py_Void();
8145 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8148 wxNativePixelData
*arg2
= 0 ;
8156 PyObject
* obj0
= 0 ;
8157 PyObject
* obj1
= 0 ;
8158 PyObject
* obj2
= 0 ;
8159 char * kwnames
[] = {
8160 (char *) "self",(char *) "data",(char *) "x", NULL
8163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8165 if (!SWIG_IsOK(res1
)) {
8166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8168 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8170 if (!SWIG_IsOK(res2
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8176 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8178 if (!SWIG_IsOK(ecode3
)) {
8179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8181 arg3
= static_cast< int >(val3
);
8183 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_Py_Void();
8193 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
= 0;
8195 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8196 wxNativePixelData
*arg2
= 0 ;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8206 PyObject
* obj2
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "data",(char *) "y", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8216 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8224 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8226 if (!SWIG_IsOK(ecode3
)) {
8227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8229 arg3
= static_cast< int >(val3
);
8231 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_Py_Void();
8241 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
= 0;
8243 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8244 wxNativePixelData
*arg2
= 0 ;
8255 PyObject
* obj0
= 0 ;
8256 PyObject
* obj1
= 0 ;
8257 PyObject
* obj2
= 0 ;
8258 PyObject
* obj3
= 0 ;
8259 char * kwnames
[] = {
8260 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8265 if (!SWIG_IsOK(res1
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8268 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8270 if (!SWIG_IsOK(res2
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8276 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8278 if (!SWIG_IsOK(ecode3
)) {
8279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8281 arg3
= static_cast< int >(val3
);
8282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8283 if (!SWIG_IsOK(ecode4
)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8286 arg4
= static_cast< int >(val4
);
8288 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_Py_Void();
8298 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
= 0;
8300 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8306 unsigned char val2
;
8308 unsigned char val3
;
8310 unsigned char val4
;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8314 PyObject
* obj2
= 0 ;
8315 PyObject
* obj3
= 0 ;
8316 char * kwnames
[] = {
8317 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8322 if (!SWIG_IsOK(res1
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8325 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8326 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8327 if (!SWIG_IsOK(ecode2
)) {
8328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8330 arg2
= static_cast< byte
>(val2
);
8331 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8332 if (!SWIG_IsOK(ecode3
)) {
8333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8335 arg3
= static_cast< byte
>(val3
);
8336 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8337 if (!SWIG_IsOK(ecode4
)) {
8338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8340 arg4
= static_cast< byte
>(val4
);
8342 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_Py_Void();
8352 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8353 PyObject
*resultobj
= 0;
8354 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8355 PyObject
*result
= 0 ;
8358 PyObject
*swig_obj
[1] ;
8360 if (!args
) SWIG_fail
;
8362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8363 if (!SWIG_IsOK(res1
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8366 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8368 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8378 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8381 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8382 return SWIG_Py_Void();
8385 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 return SWIG_Python_InitShadowInstance(args
);
8389 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8390 PyObject
*resultobj
= 0;
8391 wxBitmap
*arg1
= 0 ;
8392 wxAlphaPixelData
*result
= 0 ;
8396 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8398 if (!SWIG_IsOK(res1
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8406 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8416 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8417 PyObject
*resultobj
= 0;
8418 wxBitmap
*arg1
= 0 ;
8420 wxAlphaPixelData
*result
= 0 ;
8425 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8433 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8436 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8439 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8449 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8450 PyObject
*resultobj
= 0;
8451 wxBitmap
*arg1
= 0 ;
8454 wxAlphaPixelData
*result
= 0 ;
8460 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8462 if (!SWIG_IsOK(res1
)) {
8463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8468 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8471 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8475 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8478 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8488 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8492 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8495 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8498 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8501 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8505 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8510 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8511 PyObject
*resultobj
= 0;
8512 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8515 PyObject
*swig_obj
[1] ;
8517 if (!args
) SWIG_fail
;
8519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8520 if (!SWIG_IsOK(res1
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8523 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= SWIG_Py_Void();
8536 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8537 PyObject
*resultobj
= 0;
8538 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8539 wxAlphaPixelData_Accessor result
;
8542 PyObject
*swig_obj
[1] ;
8544 if (!args
) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8550 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8552 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8562 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8563 PyObject
*resultobj
= 0;
8564 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8567 PyObject
*swig_obj
[1] ;
8569 if (!args
) SWIG_fail
;
8571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8572 if (!SWIG_IsOK(res1
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8575 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_Py_Void();
8587 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8588 PyObject
*resultobj
= 0;
8589 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8593 PyObject
*swig_obj
[1] ;
8595 if (!args
) SWIG_fail
;
8597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8598 if (!SWIG_IsOK(res1
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8601 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8603 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8615 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8618 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8619 return SWIG_Py_Void();
8622 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8623 return SWIG_Python_InitShadowInstance(args
);
8626 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8627 PyObject
*resultobj
= 0;
8628 wxAlphaPixelData
*arg1
= 0 ;
8629 wxAlphaPixelData_Accessor
*result
= 0 ;
8633 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8641 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8643 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8653 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8654 PyObject
*resultobj
= 0;
8655 wxBitmap
*arg1
= 0 ;
8656 wxAlphaPixelData
*arg2
= 0 ;
8657 wxAlphaPixelData_Accessor
*result
= 0 ;
8663 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8665 if (!SWIG_IsOK(res1
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8671 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8672 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8673 if (!SWIG_IsOK(res2
)) {
8674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8679 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8681 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8691 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8692 PyObject
*resultobj
= 0;
8693 wxAlphaPixelData_Accessor
*result
= 0 ;
8695 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8697 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8707 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8711 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8714 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8717 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8720 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8724 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8729 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8730 PyObject
*resultobj
= 0;
8731 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8734 PyObject
*swig_obj
[1] ;
8736 if (!args
) SWIG_fail
;
8738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8739 if (!SWIG_IsOK(res1
)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8742 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= SWIG_Py_Void();
8755 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
= 0;
8757 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8758 wxAlphaPixelData
*arg2
= 0 ;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8765 char * kwnames
[] = {
8766 (char *) "self",(char *) "data", NULL
8769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8771 if (!SWIG_IsOK(res1
)) {
8772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8774 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8776 if (!SWIG_IsOK(res2
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8782 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8784 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_Py_Void();
8794 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8795 PyObject
*resultobj
= 0;
8796 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8800 PyObject
*swig_obj
[1] ;
8802 if (!args
) SWIG_fail
;
8804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8805 if (!SWIG_IsOK(res1
)) {
8806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8808 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8810 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8822 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8823 PyObject
*resultobj
= 0;
8824 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8827 PyObject
*swig_obj
[1] ;
8829 if (!args
) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8835 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8837 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_Py_Void();
8847 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= 0;
8849 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8850 wxAlphaPixelData
*arg2
= 0 ;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8863 PyObject
* obj2
= 0 ;
8864 PyObject
* obj3
= 0 ;
8865 char * kwnames
[] = {
8866 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8871 if (!SWIG_IsOK(res1
)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8874 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8876 if (!SWIG_IsOK(res2
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8882 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8884 if (!SWIG_IsOK(ecode3
)) {
8885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8887 arg3
= static_cast< int >(val3
);
8888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8889 if (!SWIG_IsOK(ecode4
)) {
8890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8892 arg4
= static_cast< int >(val4
);
8894 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_Py_Void();
8904 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
= 0;
8906 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8907 wxAlphaPixelData
*arg2
= 0 ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 PyObject
* obj2
= 0 ;
8918 char * kwnames
[] = {
8919 (char *) "self",(char *) "data",(char *) "x", NULL
8922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8924 if (!SWIG_IsOK(res1
)) {
8925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8927 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8929 if (!SWIG_IsOK(res2
)) {
8930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8935 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8937 if (!SWIG_IsOK(ecode3
)) {
8938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8940 arg3
= static_cast< int >(val3
);
8942 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= SWIG_Py_Void();
8952 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
= 0;
8954 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8955 wxAlphaPixelData
*arg2
= 0 ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8966 char * kwnames
[] = {
8967 (char *) "self",(char *) "data",(char *) "y", NULL
8970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8975 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8977 if (!SWIG_IsOK(res2
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8983 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8985 if (!SWIG_IsOK(ecode3
)) {
8986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8988 arg3
= static_cast< int >(val3
);
8990 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_Py_Void();
9000 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= 0;
9002 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9003 wxAlphaPixelData
*arg2
= 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 PyObject
* obj2
= 0 ;
9017 PyObject
* obj3
= 0 ;
9018 char * kwnames
[] = {
9019 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9024 if (!SWIG_IsOK(res1
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9027 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9029 if (!SWIG_IsOK(res2
)) {
9030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9035 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9037 if (!SWIG_IsOK(ecode3
)) {
9038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9040 arg3
= static_cast< int >(val3
);
9041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9042 if (!SWIG_IsOK(ecode4
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9045 arg4
= static_cast< int >(val4
);
9047 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_Py_Void();
9057 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
= 0;
9059 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9066 unsigned char val2
;
9068 unsigned char val3
;
9070 unsigned char val4
;
9072 unsigned char val5
;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 PyObject
* obj2
= 0 ;
9077 PyObject
* obj3
= 0 ;
9078 PyObject
* obj4
= 0 ;
9079 char * kwnames
[] = {
9080 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9085 if (!SWIG_IsOK(res1
)) {
9086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9088 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9089 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9090 if (!SWIG_IsOK(ecode2
)) {
9091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9093 arg2
= static_cast< byte
>(val2
);
9094 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9095 if (!SWIG_IsOK(ecode3
)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9098 arg3
= static_cast< byte
>(val3
);
9099 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9100 if (!SWIG_IsOK(ecode4
)) {
9101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9103 arg4
= static_cast< byte
>(val4
);
9104 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9105 if (!SWIG_IsOK(ecode5
)) {
9106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9108 arg5
= static_cast< byte
>(val5
);
9110 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_Py_Void();
9120 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9121 PyObject
*resultobj
= 0;
9122 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9123 PyObject
*result
= 0 ;
9126 PyObject
*swig_obj
[1] ;
9128 if (!args
) SWIG_fail
;
9130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9131 if (!SWIG_IsOK(res1
)) {
9132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9134 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9136 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9146 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9149 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9150 return SWIG_Py_Void();
9153 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9154 return SWIG_Python_InitShadowInstance(args
);
9157 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
= 0;
9159 wxBitmap
*arg1
= 0 ;
9160 wxColour
const &arg2_defvalue
= wxNullColour
;
9161 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9162 wxMask
*result
= 0 ;
9166 PyObject
* obj0
= 0 ;
9167 PyObject
* obj1
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "bitmap",(char *) "colour", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9180 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9184 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9188 if (!wxPyCheckForApp()) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9201 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9202 PyObject
*resultobj
= 0;
9203 wxMask
*arg1
= (wxMask
*) 0 ;
9206 PyObject
*swig_obj
[1] ;
9208 if (!args
) SWIG_fail
;
9210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9211 if (!SWIG_IsOK(res1
)) {
9212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9214 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= SWIG_Py_Void();
9227 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9230 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9231 return SWIG_Py_Void();
9234 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9235 return SWIG_Python_InitShadowInstance(args
);
9238 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
= 0;
9240 wxString
*arg1
= 0 ;
9242 int arg3
= (int) -1 ;
9243 int arg4
= (int) -1 ;
9244 wxIcon
*result
= 0 ;
9245 bool temp1
= false ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9254 PyObject
* obj2
= 0 ;
9255 PyObject
* obj3
= 0 ;
9256 char * kwnames
[] = {
9257 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9262 arg1
= wxString_in_helper(obj0
);
9263 if (arg1
== NULL
) SWIG_fail
;
9266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9267 if (!SWIG_IsOK(ecode2
)) {
9268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9270 arg2
= static_cast< wxBitmapType
>(val2
);
9272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9273 if (!SWIG_IsOK(ecode3
)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9276 arg3
= static_cast< int >(val3
);
9279 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9280 if (!SWIG_IsOK(ecode4
)) {
9281 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9283 arg4
= static_cast< int >(val4
);
9286 if (!wxPyCheckForApp()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9307 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9308 PyObject
*resultobj
= 0;
9309 wxIcon
*arg1
= (wxIcon
*) 0 ;
9312 PyObject
*swig_obj
[1] ;
9314 if (!args
) SWIG_fail
;
9316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9317 if (!SWIG_IsOK(res1
)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9320 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_Py_Void();
9335 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9336 PyObject
*resultobj
= 0;
9337 wxIcon
*result
= 0 ;
9339 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9341 if (!wxPyCheckForApp()) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (wxIcon
*)new wxIcon();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9354 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= 0;
9356 wxIconLocation
*arg1
= 0 ;
9357 wxIcon
*result
= 0 ;
9360 PyObject
* obj0
= 0 ;
9361 char * kwnames
[] = {
9362 (char *) "loc", NULL
9365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9366 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9367 if (!SWIG_IsOK(res1
)) {
9368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9373 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9375 if (!wxPyCheckForApp()) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9388 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
= 0;
9390 wxBitmap
*arg1
= 0 ;
9391 wxIcon
*result
= 0 ;
9394 PyObject
* obj0
= 0 ;
9395 char * kwnames
[] = {
9396 (char *) "bmp", NULL
9399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9400 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9401 if (!SWIG_IsOK(res1
)) {
9402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9407 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9409 if (!wxPyCheckForApp()) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9422 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
= 0;
9424 PyObject
*arg1
= (PyObject
*) 0 ;
9425 wxIcon
*result
= 0 ;
9426 PyObject
* obj0
= 0 ;
9427 char * kwnames
[] = {
9428 (char *) "listOfStrings", NULL
9431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9434 if (!wxPyCheckForApp()) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (wxIcon
*)new_wxIcon(arg1
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9447 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxIcon
*arg1
= (wxIcon
*) 0 ;
9450 wxString
*arg2
= 0 ;
9455 bool temp2
= false ;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 PyObject
* obj2
= 0 ;
9461 char * kwnames
[] = {
9462 (char *) "self",(char *) "name",(char *) "type", NULL
9465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9467 if (!SWIG_IsOK(res1
)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9470 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9472 arg2
= wxString_in_helper(obj1
);
9473 if (arg2
== NULL
) SWIG_fail
;
9476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9477 if (!SWIG_IsOK(ecode3
)) {
9478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9480 arg3
= static_cast< wxBitmapType
>(val3
);
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9504 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9505 PyObject
*resultobj
= 0;
9506 wxIcon
*arg1
= (wxIcon
*) 0 ;
9510 PyObject
*swig_obj
[1] ;
9512 if (!args
) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9518 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (long)(arg1
)->GetHandle();
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= SWIG_From_long(static_cast< long >(result
));
9532 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
= 0;
9534 wxIcon
*arg1
= (wxIcon
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9542 char * kwnames
[] = {
9543 (char *) "self",(char *) "handle", NULL
9546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9548 if (!SWIG_IsOK(res1
)) {
9549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9551 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9553 if (!SWIG_IsOK(ecode2
)) {
9554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9556 arg2
= static_cast< long >(val2
);
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 wxIcon_SetHandle(arg1
,arg2
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_Py_Void();
9570 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9571 PyObject
*resultobj
= 0;
9572 wxIcon
*arg1
= (wxIcon
*) 0 ;
9576 PyObject
*swig_obj
[1] ;
9578 if (!args
) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9584 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (bool)(arg1
)->IsOk();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9600 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9601 PyObject
*resultobj
= 0;
9602 wxIcon
*arg1
= (wxIcon
*) 0 ;
9606 PyObject
*swig_obj
[1] ;
9608 if (!args
) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9614 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (int)(arg1
)->GetWidth();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_From_int(static_cast< int >(result
));
9628 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9629 PyObject
*resultobj
= 0;
9630 wxIcon
*arg1
= (wxIcon
*) 0 ;
9634 PyObject
*swig_obj
[1] ;
9636 if (!args
) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9642 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (int)(arg1
)->GetHeight();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_From_int(static_cast< int >(result
));
9656 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9657 PyObject
*resultobj
= 0;
9658 wxIcon
*arg1
= (wxIcon
*) 0 ;
9662 PyObject
*swig_obj
[1] ;
9664 if (!args
) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9670 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (int)(arg1
)->GetDepth();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_From_int(static_cast< int >(result
));
9684 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= 0;
9686 wxIcon
*arg1
= (wxIcon
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "w", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9703 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9705 if (!SWIG_IsOK(ecode2
)) {
9706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9708 arg2
= static_cast< int >(val2
);
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->SetWidth(arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9722 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
= 0;
9724 wxIcon
*arg1
= (wxIcon
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 char * kwnames
[] = {
9733 (char *) "self",(char *) "h", NULL
9736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9741 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9743 if (!SWIG_IsOK(ecode2
)) {
9744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9746 arg2
= static_cast< int >(val2
);
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 (arg1
)->SetHeight(arg2
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_Py_Void();
9760 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxIcon
*arg1
= (wxIcon
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "d", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9779 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9781 if (!SWIG_IsOK(ecode2
)) {
9782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9784 arg2
= static_cast< int >(val2
);
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 (arg1
)->SetDepth(arg2
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_Py_Void();
9798 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
= 0;
9800 wxIcon
*arg1
= (wxIcon
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9807 char * kwnames
[] = {
9808 (char *) "self",(char *) "size", NULL
9811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9813 if (!SWIG_IsOK(res1
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9816 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9819 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 (arg1
)->SetSize((wxSize
const &)*arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_Py_Void();
9834 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
= 0;
9836 wxIcon
*arg1
= (wxIcon
*) 0 ;
9837 wxBitmap
*arg2
= 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 char * kwnames
[] = {
9845 (char *) "self",(char *) "bmp", NULL
9848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9850 if (!SWIG_IsOK(res1
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9853 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9855 if (!SWIG_IsOK(res2
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9861 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_Py_Void();
9875 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9878 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9879 return SWIG_Py_Void();
9882 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9883 return SWIG_Python_InitShadowInstance(args
);
9886 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
= 0;
9888 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9889 int arg2
= (int) 0 ;
9890 wxIconLocation
*result
= 0 ;
9891 bool temp1
= false ;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9896 char * kwnames
[] = {
9897 (char *) "filename",(char *) "num", NULL
9900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9903 arg1
= wxString_in_helper(obj0
);
9904 if (arg1
== NULL
) SWIG_fail
;
9909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9910 if (!SWIG_IsOK(ecode2
)) {
9911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9913 arg2
= static_cast< int >(val2
);
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9936 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9937 PyObject
*resultobj
= 0;
9938 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9941 PyObject
*swig_obj
[1] ;
9943 if (!args
) SWIG_fail
;
9945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9946 if (!SWIG_IsOK(res1
)) {
9947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9949 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_Py_Void();
9964 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 PyObject
*resultobj
= 0;
9966 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9970 PyObject
*swig_obj
[1] ;
9972 if (!args
) SWIG_fail
;
9974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9975 if (!SWIG_IsOK(res1
)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9978 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9994 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
= 0;
9996 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9997 wxString
*arg2
= 0 ;
10000 bool temp2
= false ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 char * kwnames
[] = {
10004 (char *) "self",(char *) "filename", NULL
10007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10009 if (!SWIG_IsOK(res1
)) {
10010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10012 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10014 arg2
= wxString_in_helper(obj1
);
10015 if (arg2
== NULL
) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 (arg1
)->SetFileName((wxString
const &)*arg2
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_Py_Void();
10039 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10040 PyObject
*resultobj
= 0;
10041 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10042 wxString
*result
= 0 ;
10045 PyObject
*swig_obj
[1] ;
10047 if (!args
) SWIG_fail
;
10048 swig_obj
[0] = args
;
10049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10050 if (!SWIG_IsOK(res1
)) {
10051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10053 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10058 result
= (wxString
*) &_result_ref
;
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10067 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10076 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char * kwnames
[] = {
10087 (char *) "self",(char *) "num", NULL
10090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10095 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10097 if (!SWIG_IsOK(ecode2
)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10100 arg2
= static_cast< int >(val2
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 wxIconLocation_SetIndex(arg1
,arg2
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_Py_Void();
10114 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10128 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)wxIconLocation_GetIndex(arg1
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_From_int(static_cast< int >(result
));
10142 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10145 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10146 return SWIG_Py_Void();
10149 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10150 return SWIG_Python_InitShadowInstance(args
);
10153 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10154 PyObject
*resultobj
= 0;
10155 wxIconBundle
*result
= 0 ;
10157 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (wxIconBundle
*)new wxIconBundle();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10171 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
= 0;
10173 wxString
*arg1
= 0 ;
10175 wxIconBundle
*result
= 0 ;
10176 bool temp1
= false ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 char * kwnames
[] = {
10182 (char *) "file",(char *) "type", NULL
10185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10187 arg1
= wxString_in_helper(obj0
);
10188 if (arg1
== NULL
) SWIG_fail
;
10191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10192 if (!SWIG_IsOK(ecode2
)) {
10193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10195 arg2
= static_cast< long >(val2
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10217 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
= 0;
10220 wxIconBundle
*result
= 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char * kwnames
[] = {
10225 (char *) "icon", NULL
10228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10230 if (!SWIG_IsOK(res1
)) {
10231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10236 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10250 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10251 PyObject
*resultobj
= 0;
10252 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10255 PyObject
*swig_obj
[1] ;
10257 if (!args
) SWIG_fail
;
10258 swig_obj
[0] = args
;
10259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10260 if (!SWIG_IsOK(res1
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10263 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_Py_Void();
10278 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
= 0;
10280 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 char * kwnames
[] = {
10289 (char *) "self",(char *) "icon", NULL
10292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10294 if (!SWIG_IsOK(res1
)) {
10295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10297 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10299 if (!SWIG_IsOK(res2
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10305 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_Py_Void();
10319 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
= 0;
10321 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10322 wxString
*arg2
= 0 ;
10326 bool temp2
= false ;
10329 PyObject
* obj0
= 0 ;
10330 PyObject
* obj1
= 0 ;
10331 PyObject
* obj2
= 0 ;
10332 char * kwnames
[] = {
10333 (char *) "self",(char *) "file",(char *) "type", NULL
10336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10338 if (!SWIG_IsOK(res1
)) {
10339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10341 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10343 arg2
= wxString_in_helper(obj1
);
10344 if (arg2
== NULL
) SWIG_fail
;
10347 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10348 if (!SWIG_IsOK(ecode3
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10351 arg3
= static_cast< long >(val3
);
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_Py_Void();
10373 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
= 0;
10375 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10377 wxIcon
*result
= 0 ;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 char * kwnames
[] = {
10384 (char *) "self",(char *) "size", NULL
10387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10389 if (!SWIG_IsOK(res1
)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10392 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10395 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10401 result
= (wxIcon
*) &_result_ref
;
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10407 wxIcon
* resultptr
= new wxIcon(*result
);
10408 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10416 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10419 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10420 return SWIG_Py_Void();
10423 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 return SWIG_Python_InitShadowInstance(args
);
10427 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
= 0;
10429 wxString
*arg1
= 0 ;
10431 int arg3
= (int) 0 ;
10432 int arg4
= (int) 0 ;
10433 wxCursor
*result
= 0 ;
10434 bool temp1
= false ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 PyObject
* obj3
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10451 arg1
= wxString_in_helper(obj0
);
10452 if (arg1
== NULL
) SWIG_fail
;
10455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10456 if (!SWIG_IsOK(ecode2
)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10459 arg2
= static_cast< long >(val2
);
10461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10462 if (!SWIG_IsOK(ecode3
)) {
10463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10465 arg3
= static_cast< int >(val3
);
10468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10469 if (!SWIG_IsOK(ecode4
)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10472 arg4
= static_cast< int >(val4
);
10475 if (!wxPyCheckForApp()) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10496 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10497 PyObject
*resultobj
= 0;
10498 wxCursor
*arg1
= (wxCursor
*) 0 ;
10501 PyObject
*swig_obj
[1] ;
10503 if (!args
) SWIG_fail
;
10504 swig_obj
[0] = args
;
10505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10506 if (!SWIG_IsOK(res1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10509 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_Py_Void();
10524 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
= 0;
10527 wxCursor
*result
= 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char * kwnames
[] = {
10532 (char *) "id", NULL
10535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10536 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10537 if (!SWIG_IsOK(ecode1
)) {
10538 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10540 arg1
= static_cast< int >(val1
);
10542 if (!wxPyCheckForApp()) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (wxCursor
*)new wxCursor(arg1
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10555 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
= 0;
10557 wxImage
*arg1
= 0 ;
10558 wxCursor
*result
= 0 ;
10561 PyObject
* obj0
= 0 ;
10562 char * kwnames
[] = {
10563 (char *) "image", NULL
10566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10567 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10568 if (!SWIG_IsOK(res1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10574 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10576 if (!wxPyCheckForApp()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10589 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10590 PyObject
*resultobj
= 0;
10591 wxCursor
*arg1
= (wxCursor
*) 0 ;
10595 PyObject
*swig_obj
[1] ;
10597 if (!args
) SWIG_fail
;
10598 swig_obj
[0] = args
;
10599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10603 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= (long)(arg1
)->GetHandle();
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= SWIG_From_long(static_cast< long >(result
));
10617 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= 0;
10619 wxCursor
*arg1
= (wxCursor
*) 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char * kwnames
[] = {
10628 (char *) "self",(char *) "handle", NULL
10631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10633 if (!SWIG_IsOK(res1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10636 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10637 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10638 if (!SWIG_IsOK(ecode2
)) {
10639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10641 arg2
= static_cast< long >(val2
);
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 wxCursor_SetHandle(arg1
,arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_Py_Void();
10655 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10656 PyObject
*resultobj
= 0;
10657 wxCursor
*arg1
= (wxCursor
*) 0 ;
10661 PyObject
*swig_obj
[1] ;
10663 if (!args
) SWIG_fail
;
10664 swig_obj
[0] = args
;
10665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10666 if (!SWIG_IsOK(res1
)) {
10667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10669 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (bool)(arg1
)->IsOk();
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10685 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10686 PyObject
*resultobj
= 0;
10687 wxCursor
*arg1
= (wxCursor
*) 0 ;
10691 PyObject
*swig_obj
[1] ;
10693 if (!args
) SWIG_fail
;
10694 swig_obj
[0] = args
;
10695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10699 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= (int)(arg1
)->GetWidth();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_From_int(static_cast< int >(result
));
10713 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10714 PyObject
*resultobj
= 0;
10715 wxCursor
*arg1
= (wxCursor
*) 0 ;
10719 PyObject
*swig_obj
[1] ;
10721 if (!args
) SWIG_fail
;
10722 swig_obj
[0] = args
;
10723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10724 if (!SWIG_IsOK(res1
)) {
10725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10727 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (int)(arg1
)->GetHeight();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_From_int(static_cast< int >(result
));
10741 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10742 PyObject
*resultobj
= 0;
10743 wxCursor
*arg1
= (wxCursor
*) 0 ;
10747 PyObject
*swig_obj
[1] ;
10749 if (!args
) SWIG_fail
;
10750 swig_obj
[0] = args
;
10751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10752 if (!SWIG_IsOK(res1
)) {
10753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10755 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (int)(arg1
)->GetDepth();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_From_int(static_cast< int >(result
));
10769 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxCursor
*arg1
= (wxCursor
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "w", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10788 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10790 if (!SWIG_IsOK(ecode2
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10793 arg2
= static_cast< int >(val2
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetWidth(arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxCursor
*arg1
= (wxCursor
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 char * kwnames
[] = {
10818 (char *) "self",(char *) "h", NULL
10821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10826 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10828 if (!SWIG_IsOK(ecode2
)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10831 arg2
= static_cast< int >(val2
);
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetHeight(arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_Py_Void();
10845 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
= 0;
10847 wxCursor
*arg1
= (wxCursor
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "d", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10864 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10869 arg2
= static_cast< int >(val2
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetDepth(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
= 0;
10885 wxCursor
*arg1
= (wxCursor
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char * kwnames
[] = {
10893 (char *) "self",(char *) "size", NULL
10896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10901 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 (arg1
)->SetSize((wxSize
const &)*arg2
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= SWIG_Py_Void();
10919 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10922 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10923 return SWIG_Py_Void();
10926 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10927 return SWIG_Python_InitShadowInstance(args
);
10930 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
= 0;
10932 int arg1
= (int) 0 ;
10933 int arg2
= (int) 0 ;
10934 int arg3
= (int) 0 ;
10935 int arg4
= (int) 0 ;
10936 wxRegion
*result
= 0 ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 PyObject
* obj2
= 0 ;
10948 PyObject
* obj3
= 0 ;
10949 char * kwnames
[] = {
10950 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10956 if (!SWIG_IsOK(ecode1
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10959 arg1
= static_cast< int >(val1
);
10962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10963 if (!SWIG_IsOK(ecode2
)) {
10964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10966 arg2
= static_cast< int >(val2
);
10969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10970 if (!SWIG_IsOK(ecode3
)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10973 arg3
= static_cast< int >(val3
);
10976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10977 if (!SWIG_IsOK(ecode4
)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10980 arg4
= static_cast< int >(val4
);
10983 if (!wxPyCheckForApp()) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10996 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
= 0;
10998 wxBitmap
*arg1
= 0 ;
10999 wxRegion
*result
= 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char * kwnames
[] = {
11004 (char *) "bmp", NULL
11007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11008 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11017 if (!wxPyCheckForApp()) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11030 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
= 0;
11032 wxBitmap
*arg1
= 0 ;
11033 wxColour
*arg2
= 0 ;
11034 int arg3
= (int) 0 ;
11035 wxRegion
*result
= 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 PyObject
* obj2
= 0 ;
11044 char * kwnames
[] = {
11045 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11049 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11050 if (!SWIG_IsOK(res1
)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11056 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11063 if (!SWIG_IsOK(ecode3
)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11066 arg3
= static_cast< int >(val3
);
11069 if (!wxPyCheckForApp()) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11082 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11085 wxPoint
*arg2
= (wxPoint
*) 0 ;
11086 int arg3
= (int) wxWINDING_RULE
;
11087 wxRegion
*result
= 0 ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 char * kwnames
[] = {
11093 (char *) "points",(char *) "fillStyle", NULL
11096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11098 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11099 if (arg2
== NULL
) SWIG_fail
;
11102 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11103 if (!SWIG_IsOK(ecode3
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11106 arg3
= static_cast< int >(val3
);
11109 if (!wxPyCheckForApp()) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11117 if (arg2
) delete [] arg2
;
11122 if (arg2
) delete [] arg2
;
11128 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11129 PyObject
*resultobj
= 0;
11130 wxRegion
*arg1
= (wxRegion
*) 0 ;
11133 PyObject
*swig_obj
[1] ;
11135 if (!args
) SWIG_fail
;
11136 swig_obj
[0] = args
;
11137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11141 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= SWIG_Py_Void();
11156 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11157 PyObject
*resultobj
= 0;
11158 wxRegion
*arg1
= (wxRegion
*) 0 ;
11161 PyObject
*swig_obj
[1] ;
11163 if (!args
) SWIG_fail
;
11164 swig_obj
[0] = args
;
11165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11166 if (!SWIG_IsOK(res1
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11169 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= SWIG_Py_Void();
11183 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
= 0;
11185 wxRegion
*arg1
= (wxRegion
*) 0 ;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 PyObject
* obj2
= 0 ;
11198 char * kwnames
[] = {
11199 (char *) "self",(char *) "x",(char *) "y", NULL
11202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11207 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11209 if (!SWIG_IsOK(ecode2
)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11212 arg2
= static_cast< int >(val2
);
11213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11214 if (!SWIG_IsOK(ecode3
)) {
11215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11217 arg3
= static_cast< int >(val3
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxRegion
*arg1
= (wxRegion
*) 0 ;
11238 wxRegionContain result
;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 char * kwnames
[] = {
11249 (char *) "self",(char *) "x",(char *) "y", NULL
11252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11254 if (!SWIG_IsOK(res1
)) {
11255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11257 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11259 if (!SWIG_IsOK(ecode2
)) {
11260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11262 arg2
= static_cast< int >(val2
);
11263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11264 if (!SWIG_IsOK(ecode3
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11267 arg3
= static_cast< int >(val3
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= SWIG_From_int(static_cast< int >(result
));
11281 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11283 wxRegion
*arg1
= (wxRegion
*) 0 ;
11284 wxPoint
*arg2
= 0 ;
11285 wxRegionContain result
;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 char * kwnames
[] = {
11292 (char *) "self",(char *) "pt", NULL
11295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11300 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= SWIG_From_int(static_cast< int >(result
));
11318 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
= 0;
11320 wxRegion
*arg1
= (wxRegion
*) 0 ;
11322 wxRegionContain result
;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char * kwnames
[] = {
11329 (char *) "self",(char *) "rect", NULL
11332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11337 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11340 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_int(static_cast< int >(result
));
11355 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= 0;
11357 wxRegion
*arg1
= (wxRegion
*) 0 ;
11362 wxRegionContain result
;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 PyObject
* obj2
= 0 ;
11376 PyObject
* obj3
= 0 ;
11377 PyObject
* obj4
= 0 ;
11378 char * kwnames
[] = {
11379 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11384 if (!SWIG_IsOK(res1
)) {
11385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11387 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11389 if (!SWIG_IsOK(ecode2
)) {
11390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11392 arg2
= static_cast< int >(val2
);
11393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11394 if (!SWIG_IsOK(ecode3
)) {
11395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11397 arg3
= static_cast< int >(val3
);
11398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11399 if (!SWIG_IsOK(ecode4
)) {
11400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11402 arg4
= static_cast< int >(val4
);
11403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11404 if (!SWIG_IsOK(ecode5
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11407 arg5
= static_cast< int >(val5
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_From_int(static_cast< int >(result
));
11421 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11422 PyObject
*resultobj
= 0;
11423 wxRegion
*arg1
= (wxRegion
*) 0 ;
11427 PyObject
*swig_obj
[1] ;
11429 if (!args
) SWIG_fail
;
11430 swig_obj
[0] = args
;
11431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11432 if (!SWIG_IsOK(res1
)) {
11433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11435 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (arg1
)->GetBox();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11449 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
= 0;
11451 wxRegion
*arg1
= (wxRegion
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 PyObject
* obj2
= 0 ;
11470 PyObject
* obj3
= 0 ;
11471 PyObject
* obj4
= 0 ;
11472 char * kwnames
[] = {
11473 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11481 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11483 if (!SWIG_IsOK(ecode2
)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11486 arg2
= static_cast< int >(val2
);
11487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11488 if (!SWIG_IsOK(ecode3
)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11491 arg3
= static_cast< int >(val3
);
11492 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11493 if (!SWIG_IsOK(ecode4
)) {
11494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11496 arg4
= static_cast< int >(val4
);
11497 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11498 if (!SWIG_IsOK(ecode5
)) {
11499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11501 arg5
= static_cast< int >(val5
);
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11517 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
= 0;
11519 wxRegion
*arg1
= (wxRegion
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 char * kwnames
[] = {
11528 (char *) "self",(char *) "rect", NULL
11531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11533 if (!SWIG_IsOK(res1
)) {
11534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11536 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11539 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11556 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxRegion
*arg1
= (wxRegion
*) 0 ;
11559 wxRegion
*arg2
= 0 ;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 char * kwnames
[] = {
11568 (char *) "self",(char *) "region", NULL
11571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11576 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11578 if (!SWIG_IsOK(res2
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11584 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11600 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11601 PyObject
*resultobj
= 0;
11602 wxRegion
*arg1
= (wxRegion
*) 0 ;
11606 PyObject
*swig_obj
[1] ;
11608 if (!args
) SWIG_fail
;
11609 swig_obj
[0] = args
;
11610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11611 if (!SWIG_IsOK(res1
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11614 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= (bool)(arg1
)->IsEmpty();
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11630 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
= 0;
11632 wxRegion
*arg1
= (wxRegion
*) 0 ;
11633 wxRegion
*arg2
= 0 ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 char * kwnames
[] = {
11642 (char *) "self",(char *) "region", NULL
11645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11650 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11652 if (!SWIG_IsOK(res2
)) {
11653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11658 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11674 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
= 0;
11676 wxRegion
*arg1
= (wxRegion
*) 0 ;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 PyObject
* obj2
= 0 ;
11695 PyObject
* obj3
= 0 ;
11696 PyObject
* obj4
= 0 ;
11697 char * kwnames
[] = {
11698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11703 if (!SWIG_IsOK(res1
)) {
11704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11706 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11708 if (!SWIG_IsOK(ecode2
)) {
11709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11711 arg2
= static_cast< int >(val2
);
11712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11713 if (!SWIG_IsOK(ecode3
)) {
11714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11716 arg3
= static_cast< int >(val3
);
11717 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11718 if (!SWIG_IsOK(ecode4
)) {
11719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11721 arg4
= static_cast< int >(val4
);
11722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11723 if (!SWIG_IsOK(ecode5
)) {
11724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11726 arg5
= static_cast< int >(val5
);
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11742 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
= 0;
11744 wxRegion
*arg1
= (wxRegion
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 char * kwnames
[] = {
11753 (char *) "self",(char *) "rect", NULL
11756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11761 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11781 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
= 0;
11783 wxRegion
*arg1
= (wxRegion
*) 0 ;
11784 wxRegion
*arg2
= 0 ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 char * kwnames
[] = {
11793 (char *) "self",(char *) "region", NULL
11796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11798 if (!SWIG_IsOK(res1
)) {
11799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11801 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11803 if (!SWIG_IsOK(res2
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11809 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11825 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
= 0;
11827 wxRegion
*arg1
= (wxRegion
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 PyObject
* obj2
= 0 ;
11846 PyObject
* obj3
= 0 ;
11847 PyObject
* obj4
= 0 ;
11848 char * kwnames
[] = {
11849 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11857 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11859 if (!SWIG_IsOK(ecode2
)) {
11860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11862 arg2
= static_cast< int >(val2
);
11863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11864 if (!SWIG_IsOK(ecode3
)) {
11865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11867 arg3
= static_cast< int >(val3
);
11868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11869 if (!SWIG_IsOK(ecode4
)) {
11870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11872 arg4
= static_cast< int >(val4
);
11873 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11874 if (!SWIG_IsOK(ecode5
)) {
11875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11877 arg5
= static_cast< int >(val5
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11893 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
= 0;
11895 wxRegion
*arg1
= (wxRegion
*) 0 ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 char * kwnames
[] = {
11904 (char *) "self",(char *) "rect", NULL
11907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11912 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11915 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11932 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= 0;
11934 wxRegion
*arg1
= (wxRegion
*) 0 ;
11935 wxRegion
*arg2
= 0 ;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 char * kwnames
[] = {
11944 (char *) "self",(char *) "region", NULL
11947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11949 if (!SWIG_IsOK(res1
)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11952 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11954 if (!SWIG_IsOK(res2
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11960 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11976 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
= 0;
11978 wxRegion
*arg1
= (wxRegion
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 PyObject
* obj2
= 0 ;
11997 PyObject
* obj3
= 0 ;
11998 PyObject
* obj4
= 0 ;
11999 char * kwnames
[] = {
12000 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12005 if (!SWIG_IsOK(res1
)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12008 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12010 if (!SWIG_IsOK(ecode2
)) {
12011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12013 arg2
= static_cast< int >(val2
);
12014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12015 if (!SWIG_IsOK(ecode3
)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12018 arg3
= static_cast< int >(val3
);
12019 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12020 if (!SWIG_IsOK(ecode4
)) {
12021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12023 arg4
= static_cast< int >(val4
);
12024 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12025 if (!SWIG_IsOK(ecode5
)) {
12026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12028 arg5
= static_cast< int >(val5
);
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12044 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
= 0;
12046 wxRegion
*arg1
= (wxRegion
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char * kwnames
[] = {
12055 (char *) "self",(char *) "rect", NULL
12058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12063 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12066 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12083 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
= 0;
12085 wxRegion
*arg1
= (wxRegion
*) 0 ;
12086 wxRegion
*arg2
= 0 ;
12092 PyObject
* obj0
= 0 ;
12093 PyObject
* obj1
= 0 ;
12094 char * kwnames
[] = {
12095 (char *) "self",(char *) "region", NULL
12098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12103 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12105 if (!SWIG_IsOK(res2
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12111 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12127 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12128 PyObject
*resultobj
= 0;
12129 wxRegion
*arg1
= (wxRegion
*) 0 ;
12130 SwigValueWrapper
<wxBitmap
> result
;
12133 PyObject
*swig_obj
[1] ;
12135 if (!args
) SWIG_fail
;
12136 swig_obj
[0] = args
;
12137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12138 if (!SWIG_IsOK(res1
)) {
12139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12141 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (arg1
)->ConvertToBitmap();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12155 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
= 0;
12157 wxRegion
*arg1
= (wxRegion
*) 0 ;
12158 wxBitmap
*arg2
= 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char * kwnames
[] = {
12167 (char *) "self",(char *) "bmp", NULL
12170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12175 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12177 if (!SWIG_IsOK(res2
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12183 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12199 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= 0;
12201 wxRegion
*arg1
= (wxRegion
*) 0 ;
12202 wxBitmap
*arg2
= 0 ;
12203 wxColour
*arg3
= 0 ;
12204 int arg4
= (int) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 PyObject
* obj2
= 0 ;
12216 PyObject
* obj3
= 0 ;
12217 char * kwnames
[] = {
12218 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12226 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12227 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12228 if (!SWIG_IsOK(res2
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12234 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12237 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12241 if (!SWIG_IsOK(ecode4
)) {
12242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12244 arg4
= static_cast< int >(val4
);
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12261 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12264 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12265 return SWIG_Py_Void();
12268 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12269 return SWIG_Python_InitShadowInstance(args
);
12272 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
= 0;
12274 wxRegion
*arg1
= 0 ;
12275 wxRegionIterator
*result
= 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char * kwnames
[] = {
12280 (char *) "region", NULL
12283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12284 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12291 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12293 if (!wxPyCheckForApp()) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12306 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12311 PyObject
*swig_obj
[1] ;
12313 if (!args
) SWIG_fail
;
12314 swig_obj
[0] = args
;
12315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12319 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12334 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12335 PyObject
*resultobj
= 0;
12336 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12340 PyObject
*swig_obj
[1] ;
12342 if (!args
) SWIG_fail
;
12343 swig_obj
[0] = args
;
12344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12348 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (int)(arg1
)->GetX();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_From_int(static_cast< int >(result
));
12362 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 PyObject
*resultobj
= 0;
12364 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12368 PyObject
*swig_obj
[1] ;
12370 if (!args
) SWIG_fail
;
12371 swig_obj
[0] = args
;
12372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12376 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (int)(arg1
)->GetY();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_From_int(static_cast< int >(result
));
12390 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12391 PyObject
*resultobj
= 0;
12392 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12396 PyObject
*swig_obj
[1] ;
12398 if (!args
) SWIG_fail
;
12399 swig_obj
[0] = args
;
12400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12401 if (!SWIG_IsOK(res1
)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12404 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (int)(arg1
)->GetW();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_From_int(static_cast< int >(result
));
12418 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12419 PyObject
*resultobj
= 0;
12420 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12424 PyObject
*swig_obj
[1] ;
12426 if (!args
) SWIG_fail
;
12427 swig_obj
[0] = args
;
12428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12432 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (int)(arg1
)->GetWidth();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_From_int(static_cast< int >(result
));
12446 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12447 PyObject
*resultobj
= 0;
12448 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12452 PyObject
*swig_obj
[1] ;
12454 if (!args
) SWIG_fail
;
12455 swig_obj
[0] = args
;
12456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12457 if (!SWIG_IsOK(res1
)) {
12458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12460 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (int)(arg1
)->GetH();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_From_int(static_cast< int >(result
));
12474 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 PyObject
*resultobj
= 0;
12476 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12488 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (int)(arg1
)->GetHeight();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_From_int(static_cast< int >(result
));
12502 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12503 PyObject
*resultobj
= 0;
12504 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12508 PyObject
*swig_obj
[1] ;
12510 if (!args
) SWIG_fail
;
12511 swig_obj
[0] = args
;
12512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12516 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= (arg1
)->GetRect();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12530 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12531 PyObject
*resultobj
= 0;
12532 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12536 PyObject
*swig_obj
[1] ;
12538 if (!args
) SWIG_fail
;
12539 swig_obj
[0] = args
;
12540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12544 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (bool)(arg1
)->HaveRects();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12560 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12561 PyObject
*resultobj
= 0;
12562 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12565 PyObject
*swig_obj
[1] ;
12567 if (!args
) SWIG_fail
;
12568 swig_obj
[0] = args
;
12569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12573 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_Py_Void();
12587 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12588 PyObject
*resultobj
= 0;
12589 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12592 PyObject
*swig_obj
[1] ;
12594 if (!args
) SWIG_fail
;
12595 swig_obj
[0] = args
;
12596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12597 if (!SWIG_IsOK(res1
)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12600 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 wxRegionIterator_Next(arg1
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_Py_Void();
12614 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 PyObject
*resultobj
= 0;
12616 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12620 PyObject
*swig_obj
[1] ;
12622 if (!args
) SWIG_fail
;
12623 swig_obj
[0] = args
;
12624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12628 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12644 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12647 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12648 return SWIG_Py_Void();
12651 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12652 return SWIG_Python_InitShadowInstance(args
);
12655 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12656 PyObject
*resultobj
= 0;
12657 wxNativeFontInfo
*result
= 0 ;
12659 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12673 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12674 PyObject
*resultobj
= 0;
12675 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12678 PyObject
*swig_obj
[1] ;
12680 if (!args
) SWIG_fail
;
12681 swig_obj
[0] = args
;
12682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12683 if (!SWIG_IsOK(res1
)) {
12684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12686 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= SWIG_Py_Void();
12701 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12702 PyObject
*resultobj
= 0;
12703 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12706 PyObject
*swig_obj
[1] ;
12708 if (!args
) SWIG_fail
;
12709 swig_obj
[0] = args
;
12710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12711 if (!SWIG_IsOK(res1
)) {
12712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12714 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_Py_Void();
12728 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
= 0;
12730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 char * kwnames
[] = {
12739 (char *) "self",(char *) "font", NULL
12742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12744 if (!SWIG_IsOK(res1
)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12747 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12749 if (!SWIG_IsOK(res2
)) {
12750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12755 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_Py_Void();
12769 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12770 PyObject
*resultobj
= 0;
12771 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12775 PyObject
*swig_obj
[1] ;
12777 if (!args
) SWIG_fail
;
12778 swig_obj
[0] = args
;
12779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12783 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= SWIG_From_int(static_cast< int >(result
));
12797 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12798 PyObject
*resultobj
= 0;
12799 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12803 PyObject
*swig_obj
[1] ;
12805 if (!args
) SWIG_fail
;
12806 swig_obj
[0] = args
;
12807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12808 if (!SWIG_IsOK(res1
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12811 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12825 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12826 PyObject
*resultobj
= 0;
12827 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12828 wxFontStyle result
;
12831 PyObject
*swig_obj
[1] ;
12833 if (!args
) SWIG_fail
;
12834 swig_obj
[0] = args
;
12835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12836 if (!SWIG_IsOK(res1
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12839 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_From_int(static_cast< int >(result
));
12853 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12854 PyObject
*resultobj
= 0;
12855 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12856 wxFontWeight result
;
12859 PyObject
*swig_obj
[1] ;
12861 if (!args
) SWIG_fail
;
12862 swig_obj
[0] = args
;
12863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12867 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_From_int(static_cast< int >(result
));
12881 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12882 PyObject
*resultobj
= 0;
12883 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12887 PyObject
*swig_obj
[1] ;
12889 if (!args
) SWIG_fail
;
12890 swig_obj
[0] = args
;
12891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12895 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12911 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12912 PyObject
*resultobj
= 0;
12913 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12917 PyObject
*swig_obj
[1] ;
12919 if (!args
) SWIG_fail
;
12920 swig_obj
[0] = args
;
12921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12925 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12945 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12946 PyObject
*resultobj
= 0;
12947 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12948 wxFontFamily result
;
12951 PyObject
*swig_obj
[1] ;
12953 if (!args
) SWIG_fail
;
12954 swig_obj
[0] = args
;
12955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12956 if (!SWIG_IsOK(res1
)) {
12957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12959 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_From_int(static_cast< int >(result
));
12973 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 PyObject
*resultobj
= 0;
12975 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12976 wxFontEncoding result
;
12979 PyObject
*swig_obj
[1] ;
12981 if (!args
) SWIG_fail
;
12982 swig_obj
[0] = args
;
12983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12984 if (!SWIG_IsOK(res1
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12987 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_From_int(static_cast< int >(result
));
13001 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
= 0;
13003 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "self",(char *) "pointsize", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13020 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13022 if (!SWIG_IsOK(ecode2
)) {
13023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13025 arg2
= static_cast< int >(val2
);
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 (arg1
)->SetPointSize(arg2
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= SWIG_Py_Void();
13039 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
= 0;
13041 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char * kwnames
[] = {
13049 (char *) "self",(char *) "pixelSize", NULL
13052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13054 if (!SWIG_IsOK(res1
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13057 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13060 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= SWIG_Py_Void();
13075 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char * kwnames
[] = {
13086 (char *) "self",(char *) "style", NULL
13089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13094 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13096 if (!SWIG_IsOK(ecode2
)) {
13097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13099 arg2
= static_cast< wxFontStyle
>(val2
);
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->SetStyle(arg2
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_Py_Void();
13113 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13116 wxFontWeight arg2
;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 char * kwnames
[] = {
13124 (char *) "self",(char *) "weight", NULL
13127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13129 if (!SWIG_IsOK(res1
)) {
13130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13132 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13134 if (!SWIG_IsOK(ecode2
)) {
13135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13137 arg2
= static_cast< wxFontWeight
>(val2
);
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 (arg1
)->SetWeight(arg2
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= SWIG_Py_Void();
13151 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
= 0;
13153 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 char * kwnames
[] = {
13162 (char *) "self",(char *) "underlined", NULL
13165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13167 if (!SWIG_IsOK(res1
)) {
13168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13170 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13171 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13172 if (!SWIG_IsOK(ecode2
)) {
13173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13175 arg2
= static_cast< bool >(val2
);
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 (arg1
)->SetUnderlined(arg2
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_Py_Void();
13189 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char * kwnames
[] = {
13199 (char *) "self",(char *) "facename", NULL
13202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13207 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13209 wxString
* sptr
= wxString_in_helper(obj1
);
13210 if (sptr
== NULL
) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (bool)(arg1
)->SetFaceName(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13229 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
= 0;
13231 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13232 wxFontFamily arg2
;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 char * kwnames
[] = {
13240 (char *) "self",(char *) "family", NULL
13243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13245 if (!SWIG_IsOK(res1
)) {
13246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13248 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13250 if (!SWIG_IsOK(ecode2
)) {
13251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13253 arg2
= static_cast< wxFontFamily
>(val2
);
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 (arg1
)->SetFamily(arg2
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= SWIG_Py_Void();
13267 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
= 0;
13269 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13270 wxFontEncoding arg2
;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char * kwnames
[] = {
13278 (char *) "self",(char *) "encoding", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13286 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13288 if (!SWIG_IsOK(ecode2
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13291 arg2
= static_cast< wxFontEncoding
>(val2
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 (arg1
)->SetEncoding(arg2
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_Py_Void();
13305 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
= 0;
13307 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13308 wxString
*arg2
= 0 ;
13312 bool temp2
= false ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char * kwnames
[] = {
13316 (char *) "self",(char *) "s", NULL
13319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13321 if (!SWIG_IsOK(res1
)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13324 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13326 arg2
= wxString_in_helper(obj1
);
13327 if (arg2
== NULL
) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13353 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13354 PyObject
*resultobj
= 0;
13355 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13359 PyObject
*swig_obj
[1] ;
13361 if (!args
) SWIG_fail
;
13362 swig_obj
[0] = args
;
13363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13367 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13387 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13388 PyObject
*resultobj
= 0;
13389 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13393 PyObject
*swig_obj
[1] ;
13395 if (!args
) SWIG_fail
;
13396 swig_obj
[0] = args
;
13397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13398 if (!SWIG_IsOK(res1
)) {
13399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13401 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= wxNativeFontInfo___str__(arg1
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13421 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
= 0;
13423 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13424 wxString
*arg2
= 0 ;
13428 bool temp2
= false ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char * kwnames
[] = {
13432 (char *) "self",(char *) "s", NULL
13435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13437 if (!SWIG_IsOK(res1
)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13440 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13442 arg2
= wxString_in_helper(obj1
);
13443 if (arg2
== NULL
) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13469 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13470 PyObject
*resultobj
= 0;
13471 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13475 PyObject
*swig_obj
[1] ;
13477 if (!args
) SWIG_fail
;
13478 swig_obj
[0] = args
;
13479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13480 if (!SWIG_IsOK(res1
)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13483 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13503 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13506 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13507 return SWIG_Py_Void();
13510 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 return SWIG_Python_InitShadowInstance(args
);
13514 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13516 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13517 wxString
*arg2
= (wxString
*) 0 ;
13520 bool temp2
= false ;
13521 PyObject
*swig_obj
[2] ;
13523 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13528 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13530 arg2
= wxString_in_helper(swig_obj
[1]);
13531 if (arg2
== NULL
) SWIG_fail
;
13534 if (arg1
) (arg1
)->facename
= *arg2
;
13536 resultobj
= SWIG_Py_Void();
13551 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13552 PyObject
*resultobj
= 0;
13553 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13554 wxString
*result
= 0 ;
13557 PyObject
*swig_obj
[1] ;
13559 if (!args
) SWIG_fail
;
13560 swig_obj
[0] = args
;
13561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13562 if (!SWIG_IsOK(res1
)) {
13563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13565 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13566 result
= (wxString
*)& ((arg1
)->facename
);
13569 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13571 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13580 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13581 PyObject
*resultobj
= 0;
13582 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13583 wxFontEncoding arg2
;
13588 PyObject
*swig_obj
[2] ;
13590 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13592 if (!SWIG_IsOK(res1
)) {
13593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13595 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13596 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13597 if (!SWIG_IsOK(ecode2
)) {
13598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13600 arg2
= static_cast< wxFontEncoding
>(val2
);
13601 if (arg1
) (arg1
)->encoding
= arg2
;
13603 resultobj
= SWIG_Py_Void();
13610 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13611 PyObject
*resultobj
= 0;
13612 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13613 wxFontEncoding result
;
13616 PyObject
*swig_obj
[1] ;
13618 if (!args
) SWIG_fail
;
13619 swig_obj
[0] = args
;
13620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13621 if (!SWIG_IsOK(res1
)) {
13622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13624 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13625 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13626 resultobj
= SWIG_From_int(static_cast< int >(result
));
13633 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13634 PyObject
*resultobj
= 0;
13635 wxNativeEncodingInfo
*result
= 0 ;
13637 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13651 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13652 PyObject
*resultobj
= 0;
13653 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13656 PyObject
*swig_obj
[1] ;
13658 if (!args
) SWIG_fail
;
13659 swig_obj
[0] = args
;
13660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13661 if (!SWIG_IsOK(res1
)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13664 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_Py_Void();
13679 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
= 0;
13681 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13682 wxString
*arg2
= 0 ;
13686 bool temp2
= false ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 char * kwnames
[] = {
13690 (char *) "self",(char *) "s", NULL
13693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13695 if (!SWIG_IsOK(res1
)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13698 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13700 arg2
= wxString_in_helper(obj1
);
13701 if (arg2
== NULL
) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13727 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13728 PyObject
*resultobj
= 0;
13729 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13733 PyObject
*swig_obj
[1] ;
13735 if (!args
) SWIG_fail
;
13736 swig_obj
[0] = args
;
13737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13738 if (!SWIG_IsOK(res1
)) {
13739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13741 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13761 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13764 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13765 return SWIG_Py_Void();
13768 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13769 return SWIG_Python_InitShadowInstance(args
);
13772 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
= 0;
13774 wxFontEncoding arg1
;
13775 wxNativeEncodingInfo
*result
= 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "encoding", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13784 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13785 if (!SWIG_IsOK(ecode1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13788 arg1
= static_cast< wxFontEncoding
>(val1
);
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13802 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
= 0;
13804 wxNativeEncodingInfo
*arg1
= 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char * kwnames
[] = {
13810 (char *) "info", NULL
13813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13814 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13815 if (!SWIG_IsOK(res1
)) {
13816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13821 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13837 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13838 PyObject
*resultobj
= 0;
13839 wxFontMapper
*result
= 0 ;
13841 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (wxFontMapper
*)new wxFontMapper();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13855 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13856 PyObject
*resultobj
= 0;
13857 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13860 PyObject
*swig_obj
[1] ;
13862 if (!args
) SWIG_fail
;
13863 swig_obj
[0] = args
;
13864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13865 if (!SWIG_IsOK(res1
)) {
13866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13868 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_Py_Void();
13883 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13884 PyObject
*resultobj
= 0;
13885 wxFontMapper
*result
= 0 ;
13887 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (wxFontMapper
*)wxFontMapper::Get();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13901 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13904 wxFontMapper
*result
= 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char * kwnames
[] = {
13909 (char *) "mapper", NULL
13912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13914 if (!SWIG_IsOK(res1
)) {
13915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13917 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13931 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
= 0;
13933 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13934 wxString
*arg2
= 0 ;
13935 bool arg3
= (bool) true ;
13936 wxFontEncoding result
;
13939 bool temp2
= false ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 PyObject
* obj2
= 0 ;
13945 char * kwnames
[] = {
13946 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13951 if (!SWIG_IsOK(res1
)) {
13952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13954 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13956 arg2
= wxString_in_helper(obj1
);
13957 if (arg2
== NULL
) SWIG_fail
;
13961 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13962 if (!SWIG_IsOK(ecode3
)) {
13963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13965 arg3
= static_cast< bool >(val3
);
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_From_int(static_cast< int >(result
));
13988 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13992 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14006 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
= 0;
14009 wxFontEncoding result
;
14012 PyObject
* obj0
= 0 ;
14013 char * kwnames
[] = {
14017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14018 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14019 if (!SWIG_IsOK(ecode1
)) {
14020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14022 arg1
= static_cast< size_t >(val1
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_From_int(static_cast< int >(result
));
14036 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
= 0;
14038 wxFontEncoding arg1
;
14042 PyObject
* obj0
= 0 ;
14043 char * kwnames
[] = {
14044 (char *) "encoding", NULL
14047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14049 if (!SWIG_IsOK(ecode1
)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14052 arg1
= static_cast< wxFontEncoding
>(val1
);
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= wxFontMapper::GetEncodingName(arg1
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14072 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
= 0;
14074 wxFontEncoding arg1
;
14078 PyObject
* obj0
= 0 ;
14079 char * kwnames
[] = {
14080 (char *) "encoding", NULL
14083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14085 if (!SWIG_IsOK(ecode1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14088 arg1
= static_cast< wxFontEncoding
>(val1
);
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= wxFontMapper::GetEncodingDescription(arg1
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14108 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
= 0;
14110 wxString
*arg1
= 0 ;
14111 wxFontEncoding result
;
14112 bool temp1
= false ;
14113 PyObject
* obj0
= 0 ;
14114 char * kwnames
[] = {
14115 (char *) "name", NULL
14118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14120 arg1
= wxString_in_helper(obj0
);
14121 if (arg1
== NULL
) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= SWIG_From_int(static_cast< int >(result
));
14145 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
= 0;
14147 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14148 wxString
*arg2
= 0 ;
14151 bool temp2
= false ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 char * kwnames
[] = {
14155 (char *) "self",(char *) "prefix", NULL
14158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14160 if (!SWIG_IsOK(res1
)) {
14161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14163 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14165 arg2
= wxString_in_helper(obj1
);
14166 if (arg2
== NULL
) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_Py_Void();
14190 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14194 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= wxFontMapper::GetDefaultConfigPath();
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14214 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
= 0;
14216 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14217 wxFontEncoding arg2
;
14218 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14219 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14220 bool arg4
= (bool) true ;
14221 PyObject
*result
= 0 ;
14226 bool temp3
= false ;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 PyObject
* obj2
= 0 ;
14232 PyObject
* obj3
= 0 ;
14233 char * kwnames
[] = {
14234 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14239 if (!SWIG_IsOK(res1
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14242 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14244 if (!SWIG_IsOK(ecode2
)) {
14245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14247 arg2
= static_cast< wxFontEncoding
>(val2
);
14250 arg3
= wxString_in_helper(obj2
);
14251 if (arg3
== NULL
) SWIG_fail
;
14256 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14257 if (!SWIG_IsOK(ecode4
)) {
14258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14260 arg4
= static_cast< bool >(val4
);
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= result
;
14283 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= 0;
14285 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14286 wxFontEncoding arg2
;
14287 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14294 bool temp3
= false ;
14295 PyObject
* obj0
= 0 ;
14296 PyObject
* obj1
= 0 ;
14297 PyObject
* obj2
= 0 ;
14298 char * kwnames
[] = {
14299 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14304 if (!SWIG_IsOK(res1
)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14307 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14309 if (!SWIG_IsOK(ecode2
)) {
14310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14312 arg2
= static_cast< wxFontEncoding
>(val2
);
14315 arg3
= wxString_in_helper(obj2
);
14316 if (arg3
== NULL
) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14343 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
= 0;
14345 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14346 wxWindow
*arg2
= (wxWindow
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char * kwnames
[] = {
14354 (char *) "self",(char *) "parent", NULL
14357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14359 if (!SWIG_IsOK(res1
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14362 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14364 if (!SWIG_IsOK(res2
)) {
14365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14367 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 (arg1
)->SetDialogParent(arg2
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_Py_Void();
14381 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
= 0;
14383 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14384 wxString
*arg2
= 0 ;
14387 bool temp2
= false ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 char * kwnames
[] = {
14391 (char *) "self",(char *) "title", NULL
14394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14396 if (!SWIG_IsOK(res1
)) {
14397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14399 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14401 arg2
= wxString_in_helper(obj1
);
14402 if (arg2
== NULL
) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_Py_Void();
14426 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14429 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14430 return SWIG_Py_Void();
14433 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14434 return SWIG_Python_InitShadowInstance(args
);
14437 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
= 0;
14443 bool arg5
= (bool) false ;
14444 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14445 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14446 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14447 wxFont
*result
= 0 ;
14458 bool temp6
= false ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 PyObject
* obj2
= 0 ;
14464 PyObject
* obj3
= 0 ;
14465 PyObject
* obj4
= 0 ;
14466 PyObject
* obj5
= 0 ;
14467 PyObject
* obj6
= 0 ;
14468 char * kwnames
[] = {
14469 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14473 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14474 if (!SWIG_IsOK(ecode1
)) {
14475 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14477 arg1
= static_cast< int >(val1
);
14478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14479 if (!SWIG_IsOK(ecode2
)) {
14480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14482 arg2
= static_cast< int >(val2
);
14483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14484 if (!SWIG_IsOK(ecode3
)) {
14485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14487 arg3
= static_cast< int >(val3
);
14488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14489 if (!SWIG_IsOK(ecode4
)) {
14490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14492 arg4
= static_cast< int >(val4
);
14494 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14495 if (!SWIG_IsOK(ecode5
)) {
14496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14498 arg5
= static_cast< bool >(val5
);
14502 arg6
= wxString_in_helper(obj5
);
14503 if (arg6
== NULL
) SWIG_fail
;
14508 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14509 if (!SWIG_IsOK(ecode7
)) {
14510 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14512 arg7
= static_cast< wxFontEncoding
>(val7
);
14515 if (!wxPyCheckForApp()) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14536 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxFont
*arg1
= (wxFont
*) 0 ;
14541 PyObject
*swig_obj
[1] ;
14543 if (!args
) SWIG_fail
;
14544 swig_obj
[0] = args
;
14545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14549 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_Py_Void();
14564 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxNativeFontInfo
*arg1
= 0 ;
14567 wxFont
*result
= 0 ;
14570 PyObject
* obj0
= 0 ;
14571 char * kwnames
[] = {
14572 (char *) "info", NULL
14575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14583 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14585 if (!wxPyCheckForApp()) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14598 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
= 0;
14600 wxString
*arg1
= 0 ;
14601 wxFont
*result
= 0 ;
14602 bool temp1
= false ;
14603 PyObject
* obj0
= 0 ;
14604 char * kwnames
[] = {
14605 (char *) "info", NULL
14608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14610 arg1
= wxString_in_helper(obj0
);
14611 if (arg1
== NULL
) SWIG_fail
;
14615 if (!wxPyCheckForApp()) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14636 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
= 0;
14639 wxFontFamily arg2
;
14640 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14643 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14644 wxFont
*result
= 0 ;
14651 bool temp4
= false ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 PyObject
* obj2
= 0 ;
14657 PyObject
* obj3
= 0 ;
14658 PyObject
* obj4
= 0 ;
14659 char * kwnames
[] = {
14660 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14664 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14665 if (!SWIG_IsOK(ecode1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14668 arg1
= static_cast< int >(val1
);
14669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14670 if (!SWIG_IsOK(ecode2
)) {
14671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14673 arg2
= static_cast< wxFontFamily
>(val2
);
14675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14676 if (!SWIG_IsOK(ecode3
)) {
14677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14679 arg3
= static_cast< int >(val3
);
14683 arg4
= wxString_in_helper(obj3
);
14684 if (arg4
== NULL
) SWIG_fail
;
14689 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14690 if (!SWIG_IsOK(ecode5
)) {
14691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14693 arg5
= static_cast< wxFontEncoding
>(val5
);
14696 if (!wxPyCheckForApp()) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14717 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
= 0;
14723 bool arg5
= (bool) false ;
14724 wxString
const &arg6_defvalue
= wxEmptyString
;
14725 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14726 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14727 wxFont
*result
= 0 ;
14737 bool temp6
= false ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 PyObject
* obj2
= 0 ;
14743 PyObject
* obj3
= 0 ;
14744 PyObject
* obj4
= 0 ;
14745 PyObject
* obj5
= 0 ;
14746 PyObject
* obj6
= 0 ;
14747 char * kwnames
[] = {
14748 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14754 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14757 if (!SWIG_IsOK(ecode2
)) {
14758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14760 arg2
= static_cast< int >(val2
);
14761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14762 if (!SWIG_IsOK(ecode3
)) {
14763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14765 arg3
= static_cast< int >(val3
);
14766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14767 if (!SWIG_IsOK(ecode4
)) {
14768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14770 arg4
= static_cast< int >(val4
);
14772 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14773 if (!SWIG_IsOK(ecode5
)) {
14774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14776 arg5
= static_cast< bool >(val5
);
14780 arg6
= wxString_in_helper(obj5
);
14781 if (arg6
== NULL
) SWIG_fail
;
14786 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14787 if (!SWIG_IsOK(ecode7
)) {
14788 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14790 arg7
= static_cast< wxFontEncoding
>(val7
);
14793 if (!wxPyCheckForApp()) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14814 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
= 0;
14817 wxFontFamily arg2
;
14818 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14819 wxString
const &arg4_defvalue
= wxEmptyString
;
14820 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14821 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14822 wxFont
*result
= 0 ;
14828 bool temp4
= false ;
14831 PyObject
* obj0
= 0 ;
14832 PyObject
* obj1
= 0 ;
14833 PyObject
* obj2
= 0 ;
14834 PyObject
* obj3
= 0 ;
14835 PyObject
* obj4
= 0 ;
14836 char * kwnames
[] = {
14837 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14843 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14846 if (!SWIG_IsOK(ecode2
)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14849 arg2
= static_cast< wxFontFamily
>(val2
);
14851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14852 if (!SWIG_IsOK(ecode3
)) {
14853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14855 arg3
= static_cast< int >(val3
);
14859 arg4
= wxString_in_helper(obj3
);
14860 if (arg4
== NULL
) SWIG_fail
;
14865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14866 if (!SWIG_IsOK(ecode5
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14869 arg5
= static_cast< wxFontEncoding
>(val5
);
14872 if (!wxPyCheckForApp()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14893 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14894 PyObject
*resultobj
= 0;
14895 wxFont
*arg1
= (wxFont
*) 0 ;
14899 PyObject
*swig_obj
[1] ;
14901 if (!args
) SWIG_fail
;
14902 swig_obj
[0] = args
;
14903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14907 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14923 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
= 0;
14925 wxFont
*arg1
= (wxFont
*) 0 ;
14926 wxFont
*arg2
= (wxFont
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char * kwnames
[] = {
14935 (char *) "self",(char *) "other", NULL
14938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14943 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14945 if (!SWIG_IsOK(res2
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14948 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
= 0;
14966 wxFont
*arg1
= (wxFont
*) 0 ;
14967 wxFont
*arg2
= (wxFont
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 PyObject
* obj1
= 0 ;
14975 char * kwnames
[] = {
14976 (char *) "self",(char *) "other", NULL
14979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14981 if (!SWIG_IsOK(res1
)) {
14982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14984 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14986 if (!SWIG_IsOK(res2
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14989 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15005 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 PyObject
*resultobj
= 0;
15007 wxFont
*arg1
= (wxFont
*) 0 ;
15011 PyObject
*swig_obj
[1] ;
15013 if (!args
) SWIG_fail
;
15014 swig_obj
[0] = args
;
15015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15019 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_From_int(static_cast< int >(result
));
15033 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15034 PyObject
*resultobj
= 0;
15035 wxFont
*arg1
= (wxFont
*) 0 ;
15039 PyObject
*swig_obj
[1] ;
15041 if (!args
) SWIG_fail
;
15042 swig_obj
[0] = args
;
15043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15044 if (!SWIG_IsOK(res1
)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15047 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15061 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15062 PyObject
*resultobj
= 0;
15063 wxFont
*arg1
= (wxFont
*) 0 ;
15067 PyObject
*swig_obj
[1] ;
15069 if (!args
) SWIG_fail
;
15070 swig_obj
[0] = args
;
15071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15072 if (!SWIG_IsOK(res1
)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15075 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15091 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15092 PyObject
*resultobj
= 0;
15093 wxFont
*arg1
= (wxFont
*) 0 ;
15097 PyObject
*swig_obj
[1] ;
15099 if (!args
) SWIG_fail
;
15100 swig_obj
[0] = args
;
15101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15105 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_From_int(static_cast< int >(result
));
15119 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15120 PyObject
*resultobj
= 0;
15121 wxFont
*arg1
= (wxFont
*) 0 ;
15125 PyObject
*swig_obj
[1] ;
15127 if (!args
) SWIG_fail
;
15128 swig_obj
[0] = args
;
15129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15133 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_From_int(static_cast< int >(result
));
15147 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15148 PyObject
*resultobj
= 0;
15149 wxFont
*arg1
= (wxFont
*) 0 ;
15153 PyObject
*swig_obj
[1] ;
15155 if (!args
) SWIG_fail
;
15156 swig_obj
[0] = args
;
15157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15158 if (!SWIG_IsOK(res1
)) {
15159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15161 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= SWIG_From_int(static_cast< int >(result
));
15175 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15176 PyObject
*resultobj
= 0;
15177 wxFont
*arg1
= (wxFont
*) 0 ;
15181 PyObject
*swig_obj
[1] ;
15183 if (!args
) SWIG_fail
;
15184 swig_obj
[0] = args
;
15185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15186 if (!SWIG_IsOK(res1
)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15189 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15205 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15206 PyObject
*resultobj
= 0;
15207 wxFont
*arg1
= (wxFont
*) 0 ;
15211 PyObject
*swig_obj
[1] ;
15213 if (!args
) SWIG_fail
;
15214 swig_obj
[0] = args
;
15215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15216 if (!SWIG_IsOK(res1
)) {
15217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15219 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= ((wxFont
const *)arg1
)->GetFaceName();
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15239 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15240 PyObject
*resultobj
= 0;
15241 wxFont
*arg1
= (wxFont
*) 0 ;
15242 wxFontEncoding result
;
15245 PyObject
*swig_obj
[1] ;
15247 if (!args
) SWIG_fail
;
15248 swig_obj
[0] = args
;
15249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15250 if (!SWIG_IsOK(res1
)) {
15251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15253 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_From_int(static_cast< int >(result
));
15267 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15268 PyObject
*resultobj
= 0;
15269 wxFont
*arg1
= (wxFont
*) 0 ;
15270 wxNativeFontInfo
*result
= 0 ;
15273 PyObject
*swig_obj
[1] ;
15275 if (!args
) SWIG_fail
;
15276 swig_obj
[0] = args
;
15277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15278 if (!SWIG_IsOK(res1
)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15281 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15295 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15296 PyObject
*resultobj
= 0;
15297 wxFont
*arg1
= (wxFont
*) 0 ;
15301 PyObject
*swig_obj
[1] ;
15303 if (!args
) SWIG_fail
;
15304 swig_obj
[0] = args
;
15305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15306 if (!SWIG_IsOK(res1
)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15309 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15325 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15326 PyObject
*resultobj
= 0;
15327 wxFont
*arg1
= (wxFont
*) 0 ;
15331 PyObject
*swig_obj
[1] ;
15333 if (!args
) SWIG_fail
;
15334 swig_obj
[0] = args
;
15335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15336 if (!SWIG_IsOK(res1
)) {
15337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15339 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15359 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15360 PyObject
*resultobj
= 0;
15361 wxFont
*arg1
= (wxFont
*) 0 ;
15365 PyObject
*swig_obj
[1] ;
15367 if (!args
) SWIG_fail
;
15368 swig_obj
[0] = args
;
15369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15370 if (!SWIG_IsOK(res1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15373 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15393 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
= 0;
15395 wxFont
*arg1
= (wxFont
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 char * kwnames
[] = {
15404 (char *) "self",(char *) "pointSize", NULL
15407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15409 if (!SWIG_IsOK(res1
)) {
15410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15412 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15414 if (!SWIG_IsOK(ecode2
)) {
15415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15417 arg2
= static_cast< int >(val2
);
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 (arg1
)->SetPointSize(arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_Py_Void();
15431 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
= 0;
15433 wxFont
*arg1
= (wxFont
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char * kwnames
[] = {
15441 (char *) "self",(char *) "pixelSize", NULL
15444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15446 if (!SWIG_IsOK(res1
)) {
15447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15449 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15452 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_Py_Void();
15467 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
= 0;
15469 wxFont
*arg1
= (wxFont
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char * kwnames
[] = {
15478 (char *) "self",(char *) "family", NULL
15481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15483 if (!SWIG_IsOK(res1
)) {
15484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15486 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15488 if (!SWIG_IsOK(ecode2
)) {
15489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15491 arg2
= static_cast< int >(val2
);
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 (arg1
)->SetFamily(arg2
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_Py_Void();
15505 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
= 0;
15507 wxFont
*arg1
= (wxFont
*) 0 ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char * kwnames
[] = {
15516 (char *) "self",(char *) "style", NULL
15519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15524 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15526 if (!SWIG_IsOK(ecode2
)) {
15527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15529 arg2
= static_cast< int >(val2
);
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 (arg1
)->SetStyle(arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_Py_Void();
15543 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
= 0;
15545 wxFont
*arg1
= (wxFont
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 PyObject
* obj1
= 0 ;
15553 char * kwnames
[] = {
15554 (char *) "self",(char *) "weight", NULL
15557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15559 if (!SWIG_IsOK(res1
)) {
15560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15562 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15564 if (!SWIG_IsOK(ecode2
)) {
15565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15567 arg2
= static_cast< int >(val2
);
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 (arg1
)->SetWeight(arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_Py_Void();
15581 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
= 0;
15583 wxFont
*arg1
= (wxFont
*) 0 ;
15584 wxString
*arg2
= 0 ;
15588 bool temp2
= false ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 char * kwnames
[] = {
15592 (char *) "self",(char *) "faceName", NULL
15595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15597 if (!SWIG_IsOK(res1
)) {
15598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15600 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15602 arg2
= wxString_in_helper(obj1
);
15603 if (arg2
== NULL
) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15629 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15630 PyObject
*resultobj
= 0;
15631 wxFont
*arg1
= (wxFont
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 char * kwnames
[] = {
15640 (char *) "self",(char *) "underlined", NULL
15643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15648 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15649 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15650 if (!SWIG_IsOK(ecode2
)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15653 arg2
= static_cast< bool >(val2
);
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->SetUnderlined(arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_Py_Void();
15667 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
= 0;
15669 wxFont
*arg1
= (wxFont
*) 0 ;
15670 wxFontEncoding arg2
;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "self",(char *) "encoding", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15686 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15688 if (!SWIG_IsOK(ecode2
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15691 arg2
= static_cast< wxFontEncoding
>(val2
);
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->SetEncoding(arg2
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= SWIG_Py_Void();
15705 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
= 0;
15707 wxFont
*arg1
= (wxFont
*) 0 ;
15708 wxNativeFontInfo
*arg2
= 0 ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 char * kwnames
[] = {
15716 (char *) "self",(char *) "info", NULL
15719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15724 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15726 if (!SWIG_IsOK(res2
)) {
15727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15732 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_Py_Void();
15746 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
= 0;
15748 wxFont
*arg1
= (wxFont
*) 0 ;
15749 wxString
*arg2
= 0 ;
15753 bool temp2
= false ;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 char * kwnames
[] = {
15757 (char *) "self",(char *) "info", NULL
15760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15765 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15767 arg2
= wxString_in_helper(obj1
);
15768 if (arg2
== NULL
) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15794 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
= 0;
15796 wxFont
*arg1
= (wxFont
*) 0 ;
15797 wxString
*arg2
= 0 ;
15801 bool temp2
= false ;
15802 PyObject
* obj0
= 0 ;
15803 PyObject
* obj1
= 0 ;
15804 char * kwnames
[] = {
15805 (char *) "self",(char *) "info", NULL
15808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15810 if (!SWIG_IsOK(res1
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15813 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15815 arg2
= wxString_in_helper(obj1
);
15816 if (arg2
== NULL
) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15842 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15843 PyObject
*resultobj
= 0;
15844 wxFont
*arg1
= (wxFont
*) 0 ;
15848 PyObject
*swig_obj
[1] ;
15850 if (!args
) SWIG_fail
;
15851 swig_obj
[0] = args
;
15852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15853 if (!SWIG_IsOK(res1
)) {
15854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15856 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15876 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15877 PyObject
*resultobj
= 0;
15878 wxFont
*arg1
= (wxFont
*) 0 ;
15882 PyObject
*swig_obj
[1] ;
15884 if (!args
) SWIG_fail
;
15885 swig_obj
[0] = args
;
15886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15887 if (!SWIG_IsOK(res1
)) {
15888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15890 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= ((wxFont
const *)arg1
)->GetStyleString();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15910 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15911 PyObject
*resultobj
= 0;
15912 wxFont
*arg1
= (wxFont
*) 0 ;
15916 PyObject
*swig_obj
[1] ;
15918 if (!args
) SWIG_fail
;
15919 swig_obj
[0] = args
;
15920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15921 if (!SWIG_IsOK(res1
)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15924 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= ((wxFont
const *)arg1
)->GetWeightString();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15944 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
= 0;
15946 wxFont
*arg1
= (wxFont
*) 0 ;
15947 bool arg2
= (bool) true ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 char * kwnames
[] = {
15955 (char *) "self",(char *) "no", NULL
15958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15960 if (!SWIG_IsOK(res1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15963 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15965 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15966 if (!SWIG_IsOK(ecode2
)) {
15967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15969 arg2
= static_cast< bool >(val2
);
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 (arg1
)->SetNoAntiAliasing(arg2
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_Py_Void();
15984 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15985 PyObject
*resultobj
= 0;
15986 wxFont
*arg1
= (wxFont
*) 0 ;
15990 PyObject
*swig_obj
[1] ;
15992 if (!args
) SWIG_fail
;
15993 swig_obj
[0] = args
;
15994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15995 if (!SWIG_IsOK(res1
)) {
15996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15998 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16014 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16015 PyObject
*resultobj
= 0;
16016 wxFontEncoding result
;
16018 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16020 if (!wxPyCheckForApp()) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= SWIG_From_int(static_cast< int >(result
));
16033 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
= 0;
16035 wxFontEncoding arg1
;
16038 PyObject
* obj0
= 0 ;
16039 char * kwnames
[] = {
16040 (char *) "encoding", NULL
16043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16045 if (!SWIG_IsOK(ecode1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16048 arg1
= static_cast< wxFontEncoding
>(val1
);
16050 if (!wxPyCheckForApp()) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 wxFont::SetDefaultEncoding(arg1
);
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= SWIG_Py_Void();
16063 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16066 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16067 return SWIG_Py_Void();
16070 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16071 return SWIG_Python_InitShadowInstance(args
);
16074 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16075 PyObject
*resultobj
= 0;
16076 wxPyFontEnumerator
*result
= 0 ;
16078 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16080 if (!wxPyCheckForApp()) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16093 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16094 PyObject
*resultobj
= 0;
16095 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16098 PyObject
*swig_obj
[1] ;
16100 if (!args
) SWIG_fail
;
16101 swig_obj
[0] = args
;
16102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16103 if (!SWIG_IsOK(res1
)) {
16104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16106 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_Py_Void();
16121 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
= 0;
16123 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16124 PyObject
*arg2
= (PyObject
*) 0 ;
16125 PyObject
*arg3
= (PyObject
*) 0 ;
16126 int arg4
= (int) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 PyObject
* obj2
= 0 ;
16134 PyObject
* obj3
= 0 ;
16135 char * kwnames
[] = {
16136 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16141 if (!SWIG_IsOK(res1
)) {
16142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16144 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16149 if (!SWIG_IsOK(ecode4
)) {
16150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16152 arg4
= static_cast< int >(val4
);
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_Py_Void();
16167 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
= 0;
16169 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16170 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16171 bool arg3
= (bool) false ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 PyObject
* obj2
= 0 ;
16182 char * kwnames
[] = {
16183 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16188 if (!SWIG_IsOK(res1
)) {
16189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16191 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16194 if (!SWIG_IsOK(ecode2
)) {
16195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16197 arg2
= static_cast< wxFontEncoding
>(val2
);
16200 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16201 if (!SWIG_IsOK(ecode3
)) {
16202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16204 arg3
= static_cast< bool >(val3
);
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16221 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
= 0;
16223 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16224 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16225 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16229 bool temp2
= false ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 char * kwnames
[] = {
16233 (char *) "self",(char *) "facename", NULL
16236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16238 if (!SWIG_IsOK(res1
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16241 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16244 arg2
= wxString_in_helper(obj1
);
16245 if (arg2
== NULL
) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16272 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16273 PyObject
*resultobj
= 0;
16274 PyObject
*result
= 0 ;
16276 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= result
;
16290 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16291 PyObject
*resultobj
= 0;
16292 PyObject
*result
= 0 ;
16294 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
;
16308 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
= 0;
16310 wxString
*arg1
= 0 ;
16312 bool temp1
= false ;
16313 PyObject
* obj0
= 0 ;
16314 char * kwnames
[] = {
16315 (char *) "str", NULL
16318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16320 arg1
= wxString_in_helper(obj0
);
16321 if (arg1
== NULL
) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16351 return SWIG_Py_Void();
16354 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16355 return SWIG_Python_InitShadowInstance(args
);
16358 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16359 PyObject
*resultobj
= 0;
16360 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16366 PyObject
*swig_obj
[2] ;
16368 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16370 if (!SWIG_IsOK(res1
)) {
16371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16373 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16374 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16375 if (!SWIG_IsOK(ecode2
)) {
16376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16378 arg2
= static_cast< int >(val2
);
16379 if (arg1
) (arg1
)->Language
= arg2
;
16381 resultobj
= SWIG_Py_Void();
16388 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16389 PyObject
*resultobj
= 0;
16390 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16394 PyObject
*swig_obj
[1] ;
16396 if (!args
) SWIG_fail
;
16397 swig_obj
[0] = args
;
16398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16399 if (!SWIG_IsOK(res1
)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16402 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16403 result
= (int) ((arg1
)->Language
);
16404 resultobj
= SWIG_From_int(static_cast< int >(result
));
16411 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16412 PyObject
*resultobj
= 0;
16413 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16414 wxString
*arg2
= (wxString
*) 0 ;
16417 bool temp2
= false ;
16418 PyObject
*swig_obj
[2] ;
16420 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16422 if (!SWIG_IsOK(res1
)) {
16423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16425 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16427 arg2
= wxString_in_helper(swig_obj
[1]);
16428 if (arg2
== NULL
) SWIG_fail
;
16431 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16433 resultobj
= SWIG_Py_Void();
16448 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16449 PyObject
*resultobj
= 0;
16450 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16451 wxString
*result
= 0 ;
16454 PyObject
*swig_obj
[1] ;
16456 if (!args
) SWIG_fail
;
16457 swig_obj
[0] = args
;
16458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16459 if (!SWIG_IsOK(res1
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16462 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16463 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16477 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16478 PyObject
*resultobj
= 0;
16479 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16480 wxString
*arg2
= (wxString
*) 0 ;
16483 bool temp2
= false ;
16484 PyObject
*swig_obj
[2] ;
16486 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16488 if (!SWIG_IsOK(res1
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16491 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16493 arg2
= wxString_in_helper(swig_obj
[1]);
16494 if (arg2
== NULL
) SWIG_fail
;
16497 if (arg1
) (arg1
)->Description
= *arg2
;
16499 resultobj
= SWIG_Py_Void();
16514 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 PyObject
*resultobj
= 0;
16516 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16517 wxString
*result
= 0 ;
16520 PyObject
*swig_obj
[1] ;
16522 if (!args
) SWIG_fail
;
16523 swig_obj
[0] = args
;
16524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16528 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16529 result
= (wxString
*)& ((arg1
)->Description
);
16532 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16534 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16543 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16546 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16547 return SWIG_Py_Void();
16550 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
= 0;
16552 int arg1
= (int) -1 ;
16553 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16554 wxLocale
*result
= 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char * kwnames
[] = {
16562 (char *) "language",(char *) "flags", NULL
16565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16568 if (!SWIG_IsOK(ecode1
)) {
16569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16571 arg1
= static_cast< int >(val1
);
16574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16575 if (!SWIG_IsOK(ecode2
)) {
16576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16578 arg2
= static_cast< int >(val2
);
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16593 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16594 PyObject
*resultobj
= 0;
16595 wxLocale
*arg1
= (wxLocale
*) 0 ;
16598 PyObject
*swig_obj
[1] ;
16600 if (!args
) SWIG_fail
;
16601 swig_obj
[0] = args
;
16602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16603 if (!SWIG_IsOK(res1
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16606 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= SWIG_Py_Void();
16621 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
= 0;
16623 wxLocale
*arg1
= (wxLocale
*) 0 ;
16624 wxString
*arg2
= 0 ;
16625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16627 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16628 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16629 bool arg5
= (bool) true ;
16630 bool arg6
= (bool) false ;
16634 bool temp2
= false ;
16635 bool temp3
= false ;
16636 bool temp4
= false ;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 PyObject
* obj2
= 0 ;
16644 PyObject
* obj3
= 0 ;
16645 PyObject
* obj4
= 0 ;
16646 PyObject
* obj5
= 0 ;
16647 char * kwnames
[] = {
16648 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16656 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16658 arg2
= wxString_in_helper(obj1
);
16659 if (arg2
== NULL
) SWIG_fail
;
16664 arg3
= wxString_in_helper(obj2
);
16665 if (arg3
== NULL
) SWIG_fail
;
16671 arg4
= wxString_in_helper(obj3
);
16672 if (arg4
== NULL
) SWIG_fail
;
16677 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16678 if (!SWIG_IsOK(ecode5
)) {
16679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16681 arg5
= static_cast< bool >(val5
);
16684 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16685 if (!SWIG_IsOK(ecode6
)) {
16686 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16688 arg6
= static_cast< bool >(val6
);
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16729 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
= 0;
16731 wxLocale
*arg1
= (wxLocale
*) 0 ;
16732 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16733 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 PyObject
* obj2
= 0 ;
16744 char * kwnames
[] = {
16745 (char *) "self",(char *) "language",(char *) "flags", NULL
16748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16750 if (!SWIG_IsOK(res1
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16753 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16756 if (!SWIG_IsOK(ecode2
)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16759 arg2
= static_cast< int >(val2
);
16762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16763 if (!SWIG_IsOK(ecode3
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16766 arg3
= static_cast< int >(val3
);
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16783 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16784 PyObject
*resultobj
= 0;
16787 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (int)wxLocale::GetSystemLanguage();
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_From_int(static_cast< int >(result
));
16801 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16802 PyObject
*resultobj
= 0;
16803 wxFontEncoding result
;
16805 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_From_int(static_cast< int >(result
));
16819 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16820 PyObject
*resultobj
= 0;
16823 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= wxLocale::GetSystemEncodingName();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16843 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16844 PyObject
*resultobj
= 0;
16845 wxLocale
*arg1
= (wxLocale
*) 0 ;
16849 PyObject
*swig_obj
[1] ;
16851 if (!args
) SWIG_fail
;
16852 swig_obj
[0] = args
;
16853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16854 if (!SWIG_IsOK(res1
)) {
16855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16857 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16874 PyObject
*resultobj
= 0;
16875 wxLocale
*arg1
= (wxLocale
*) 0 ;
16879 PyObject
*swig_obj
[1] ;
16881 if (!args
) SWIG_fail
;
16882 swig_obj
[0] = args
;
16883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16884 if (!SWIG_IsOK(res1
)) {
16885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16887 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= ((wxLocale
const *)arg1
)->GetLocale();
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16907 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16908 PyObject
*resultobj
= 0;
16909 wxLocale
*arg1
= (wxLocale
*) 0 ;
16913 PyObject
*swig_obj
[1] ;
16915 if (!args
) SWIG_fail
;
16916 swig_obj
[0] = args
;
16917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16921 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_From_int(static_cast< int >(result
));
16935 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16936 PyObject
*resultobj
= 0;
16937 wxLocale
*arg1
= (wxLocale
*) 0 ;
16941 PyObject
*swig_obj
[1] ;
16943 if (!args
) SWIG_fail
;
16944 swig_obj
[0] = args
;
16945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16949 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= ((wxLocale
const *)arg1
)->GetSysName();
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16969 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16970 PyObject
*resultobj
= 0;
16971 wxLocale
*arg1
= (wxLocale
*) 0 ;
16975 PyObject
*swig_obj
[1] ;
16977 if (!args
) SWIG_fail
;
16978 swig_obj
[0] = args
;
16979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16980 if (!SWIG_IsOK(res1
)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16983 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17003 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
= 0;
17005 wxString
*arg1
= 0 ;
17006 bool temp1
= false ;
17007 PyObject
* obj0
= 0 ;
17008 char * kwnames
[] = {
17009 (char *) "prefix", NULL
17012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17014 arg1
= wxString_in_helper(obj0
);
17015 if (arg1
== NULL
) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_Py_Void();
17039 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
= 0;
17041 wxLocale
*arg1
= (wxLocale
*) 0 ;
17042 wxString
*arg2
= 0 ;
17046 bool temp2
= false ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "szDomain", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17058 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17060 arg2
= wxString_in_helper(obj1
);
17061 if (arg2
== NULL
) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17087 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
= 0;
17093 PyObject
* obj0
= 0 ;
17094 char * kwnames
[] = {
17095 (char *) "lang", NULL
17098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17100 if (!SWIG_IsOK(ecode1
)) {
17101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17103 arg1
= static_cast< int >(val1
);
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (bool)wxLocale::IsAvailable(arg1
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17119 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
= 0;
17121 wxLocale
*arg1
= (wxLocale
*) 0 ;
17122 wxString
*arg2
= 0 ;
17126 bool temp2
= false ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 char * kwnames
[] = {
17130 (char *) "self",(char *) "szDomain", NULL
17133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17135 if (!SWIG_IsOK(res1
)) {
17136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17138 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17140 arg2
= wxString_in_helper(obj1
);
17141 if (arg2
== NULL
) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17167 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
= 0;
17170 wxLanguageInfo
*result
= 0 ;
17173 PyObject
* obj0
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "lang", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17180 if (!SWIG_IsOK(ecode1
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17183 arg1
= static_cast< int >(val1
);
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17197 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
= 0;
17203 PyObject
* obj0
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "lang", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17210 if (!SWIG_IsOK(ecode1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17213 arg1
= static_cast< int >(val1
);
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 result
= wxLocale::GetLanguageName(arg1
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17233 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
= 0;
17235 wxString
*arg1
= 0 ;
17236 wxLanguageInfo
*result
= 0 ;
17237 bool temp1
= false ;
17238 PyObject
* obj0
= 0 ;
17239 char * kwnames
[] = {
17240 (char *) "locale", NULL
17243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17245 arg1
= wxString_in_helper(obj0
);
17246 if (arg1
== NULL
) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17270 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
= 0;
17272 wxLanguageInfo
*arg1
= 0 ;
17275 PyObject
* obj0
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "info", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17281 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17288 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_Py_Void();
17302 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
= 0;
17304 wxLocale
*arg1
= (wxLocale
*) 0 ;
17305 wxString
*arg2
= 0 ;
17306 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17307 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17311 bool temp2
= false ;
17312 bool temp3
= false ;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 char * kwnames
[] = {
17317 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17322 if (!SWIG_IsOK(res1
)) {
17323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17325 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17327 arg2
= wxString_in_helper(obj1
);
17328 if (arg2
== NULL
) SWIG_fail
;
17333 arg3
= wxString_in_helper(obj2
);
17334 if (arg3
== NULL
) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17373 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17374 PyObject
*resultobj
= 0;
17375 wxLocale
*arg1
= (wxLocale
*) 0 ;
17376 wxString
*result
= 0 ;
17379 PyObject
*swig_obj
[1] ;
17381 if (!args
) SWIG_fail
;
17382 swig_obj
[0] = args
;
17383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17384 if (!SWIG_IsOK(res1
)) {
17385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17387 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17392 result
= (wxString
*) &_result_ref
;
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17401 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17410 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17413 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17414 return SWIG_Py_Void();
17417 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17418 return SWIG_Python_InitShadowInstance(args
);
17421 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
= 0;
17423 int arg1
= (int) -1 ;
17424 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17425 wxPyLocale
*result
= 0 ;
17430 PyObject
* obj0
= 0 ;
17431 PyObject
* obj1
= 0 ;
17432 char * kwnames
[] = {
17433 (char *) "language",(char *) "flags", NULL
17436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17439 if (!SWIG_IsOK(ecode1
)) {
17440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17442 arg1
= static_cast< int >(val1
);
17445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17446 if (!SWIG_IsOK(ecode2
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17449 arg2
= static_cast< int >(val2
);
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17464 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17465 PyObject
*resultobj
= 0;
17466 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17469 PyObject
*swig_obj
[1] ;
17471 if (!args
) SWIG_fail
;
17472 swig_obj
[0] = args
;
17473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17474 if (!SWIG_IsOK(res1
)) {
17475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17477 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_Py_Void();
17492 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
= 0;
17494 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17495 PyObject
*arg2
= (PyObject
*) 0 ;
17496 PyObject
*arg3
= (PyObject
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 PyObject
* obj2
= 0 ;
17502 char * kwnames
[] = {
17503 (char *) "self",(char *) "self",(char *) "_class", NULL
17506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17508 if (!SWIG_IsOK(res1
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17511 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_Py_Void();
17527 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17530 wxChar
*arg2
= (wxChar
*) 0 ;
17531 wxChar
*arg3
= (wxChar
*) NULL
;
17532 wxChar
*result
= 0 ;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 PyObject
* obj2
= 0 ;
17542 char * kwnames
[] = {
17543 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17548 if (!SWIG_IsOK(res1
)) {
17549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17551 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17553 if (!SWIG_IsOK(res2
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17556 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17558 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17559 if (!SWIG_IsOK(res3
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17562 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17577 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
= 0;
17579 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17580 wxChar
*arg2
= (wxChar
*) 0 ;
17581 wxChar
*arg3
= (wxChar
*) 0 ;
17583 wxChar
*arg5
= (wxChar
*) NULL
;
17584 wxChar
*result
= 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 PyObject
* obj2
= 0 ;
17598 PyObject
* obj3
= 0 ;
17599 PyObject
* obj4
= 0 ;
17600 char * kwnames
[] = {
17601 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17606 if (!SWIG_IsOK(res1
)) {
17607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17609 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17611 if (!SWIG_IsOK(res2
)) {
17612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17614 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17615 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17616 if (!SWIG_IsOK(res3
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17619 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17620 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17621 if (!SWIG_IsOK(ecode4
)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17624 arg4
= static_cast< size_t >(val4
);
17626 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17627 if (!SWIG_IsOK(res5
)) {
17628 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17630 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17645 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17648 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17649 return SWIG_Py_Void();
17652 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17653 return SWIG_Python_InitShadowInstance(args
);
17656 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17657 PyObject
*resultobj
= 0;
17658 wxLocale
*result
= 0 ;
17660 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (wxLocale
*)wxGetLocale();
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17674 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17675 PyObject
*resultobj
= 0;
17676 wxString
*arg1
= 0 ;
17678 bool temp1
= false ;
17680 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17682 arg1
= wxString_in_helper(swig_obj
[0]);
17683 if (arg1
== NULL
) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= wxGetTranslation((wxString
const &)*arg1
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17713 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17714 PyObject
*resultobj
= 0;
17715 wxString
*arg1
= 0 ;
17716 wxString
*arg2
= 0 ;
17718 bool temp1
= false ;
17719 bool temp2
= false ;
17721 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17723 arg1
= wxString_in_helper(swig_obj
[0]);
17724 if (arg1
== NULL
) SWIG_fail
;
17728 arg2
= wxString_in_helper(swig_obj
[1]);
17729 if (arg2
== NULL
) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17767 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17768 PyObject
*resultobj
= 0;
17769 wxString
*arg1
= 0 ;
17770 wxString
*arg2
= 0 ;
17773 bool temp1
= false ;
17774 bool temp2
= false ;
17778 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17780 arg1
= wxString_in_helper(swig_obj
[0]);
17781 if (arg1
== NULL
) SWIG_fail
;
17785 arg2
= wxString_in_helper(swig_obj
[1]);
17786 if (arg2
== NULL
) SWIG_fail
;
17789 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17790 if (!SWIG_IsOK(ecode3
)) {
17791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17793 arg3
= static_cast< size_t >(val3
);
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17797 wxPyEndAllowThreads(__tstate
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17829 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17830 PyObject
*resultobj
= 0;
17831 wxString
*arg1
= 0 ;
17832 wxString
*arg2
= 0 ;
17834 wxString
*arg4
= 0 ;
17836 bool temp1
= false ;
17837 bool temp2
= false ;
17840 bool temp4
= false ;
17842 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17844 arg1
= wxString_in_helper(swig_obj
[0]);
17845 if (arg1
== NULL
) SWIG_fail
;
17849 arg2
= wxString_in_helper(swig_obj
[1]);
17850 if (arg2
== NULL
) SWIG_fail
;
17853 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17854 if (!SWIG_IsOK(ecode3
)) {
17855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17857 arg3
= static_cast< size_t >(val3
);
17859 arg4
= wxString_in_helper(swig_obj
[3]);
17860 if (arg4
== NULL
) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17906 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17910 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17913 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17916 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17919 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17922 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17926 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17931 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17932 PyObject
*resultobj
= 0;
17933 wxEncodingConverter
*result
= 0 ;
17935 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17949 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17950 PyObject
*resultobj
= 0;
17951 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17954 PyObject
*swig_obj
[1] ;
17956 if (!args
) SWIG_fail
;
17957 swig_obj
[0] = args
;
17958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17959 if (!SWIG_IsOK(res1
)) {
17960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17962 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_Py_Void();
17977 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
= 0;
17979 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17980 wxFontEncoding arg2
;
17981 wxFontEncoding arg3
;
17982 int arg4
= (int) wxCONVERT_STRICT
;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 PyObject
* obj3
= 0 ;
17996 char * kwnames
[] = {
17997 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
18000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18002 if (!SWIG_IsOK(res1
)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18005 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18007 if (!SWIG_IsOK(ecode2
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18010 arg2
= static_cast< wxFontEncoding
>(val2
);
18011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18012 if (!SWIG_IsOK(ecode3
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18015 arg3
= static_cast< wxFontEncoding
>(val3
);
18017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18018 if (!SWIG_IsOK(ecode4
)) {
18019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18021 arg4
= static_cast< int >(val4
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18038 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
= 0;
18040 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18041 wxString
*arg2
= 0 ;
18045 bool temp2
= false ;
18046 PyObject
* obj0
= 0 ;
18047 PyObject
* obj1
= 0 ;
18048 char * kwnames
[] = {
18049 (char *) "self",(char *) "input", NULL
18052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18054 if (!SWIG_IsOK(res1
)) {
18055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18057 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18059 arg2
= wxString_in_helper(obj1
);
18060 if (arg2
== NULL
) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18090 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
= 0;
18092 wxFontEncoding arg1
;
18093 int arg2
= (int) wxPLATFORM_CURRENT
;
18094 wxFontEncodingArray result
;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 char * kwnames
[] = {
18102 (char *) "enc",(char *) "platform", NULL
18105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18107 if (!SWIG_IsOK(ecode1
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18110 arg1
= static_cast< wxFontEncoding
>(val1
);
18112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18113 if (!SWIG_IsOK(ecode2
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18116 arg2
= static_cast< int >(val2
);
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= PyList_New(0);
18126 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18127 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18128 PyList_Append(resultobj
, number
);
18138 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
= 0;
18140 wxFontEncoding arg1
;
18141 wxFontEncodingArray result
;
18144 PyObject
* obj0
= 0 ;
18145 char * kwnames
[] = {
18146 (char *) "enc", NULL
18149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18150 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18151 if (!SWIG_IsOK(ecode1
)) {
18152 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18154 arg1
= static_cast< wxFontEncoding
>(val1
);
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= PyList_New(0);
18163 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18164 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18165 PyList_Append(resultobj
, number
);
18175 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
= 0;
18177 wxFontEncoding arg1
;
18178 wxFontEncoding arg2
;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 char * kwnames
[] = {
18187 (char *) "encIn",(char *) "encOut", NULL
18190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18191 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18192 if (!SWIG_IsOK(ecode1
)) {
18193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18195 arg1
= static_cast< wxFontEncoding
>(val1
);
18196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18197 if (!SWIG_IsOK(ecode2
)) {
18198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18200 arg2
= static_cast< wxFontEncoding
>(val2
);
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18216 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18219 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18220 return SWIG_Py_Void();
18223 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18224 return SWIG_Python_InitShadowInstance(args
);
18227 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18228 PyObject
*resultobj
= 0;
18229 wxDC
*arg1
= (wxDC
*) 0 ;
18232 PyObject
*swig_obj
[1] ;
18234 if (!args
) SWIG_fail
;
18235 swig_obj
[0] = args
;
18236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18237 if (!SWIG_IsOK(res1
)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= SWIG_Py_Void();
18255 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
= 0;
18257 wxDC
*arg1
= (wxDC
*) 0 ;
18260 wxColour
*arg4
= 0 ;
18261 int arg5
= (int) wxFLOOD_SURFACE
;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 PyObject
* obj2
= 0 ;
18275 PyObject
* obj3
= 0 ;
18276 PyObject
* obj4
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18288 if (!SWIG_IsOK(ecode2
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18291 arg2
= static_cast< int >(val2
);
18292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18293 if (!SWIG_IsOK(ecode3
)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18296 arg3
= static_cast< int >(val3
);
18299 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18302 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18303 if (!SWIG_IsOK(ecode5
)) {
18304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18306 arg5
= static_cast< int >(val5
);
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18323 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= 0;
18325 wxDC
*arg1
= (wxDC
*) 0 ;
18326 wxPoint
*arg2
= 0 ;
18327 wxColour
*arg3
= 0 ;
18328 int arg4
= (int) wxFLOOD_SURFACE
;
18336 PyObject
* obj0
= 0 ;
18337 PyObject
* obj1
= 0 ;
18338 PyObject
* obj2
= 0 ;
18339 PyObject
* obj3
= 0 ;
18340 char * kwnames
[] = {
18341 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18346 if (!SWIG_IsOK(res1
)) {
18347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18356 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18360 if (!SWIG_IsOK(ecode4
)) {
18361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18363 arg4
= static_cast< int >(val4
);
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18380 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
= 0;
18382 wxDC
*arg1
= (wxDC
*) 0 ;
18384 wxColour
*arg3
= 0 ;
18385 wxColour
*arg4
= 0 ;
18386 wxPoint
*arg5
= 0 ;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj1
= 0 ;
18395 PyObject
* obj2
= 0 ;
18396 PyObject
* obj3
= 0 ;
18397 PyObject
* obj4
= 0 ;
18398 char * kwnames
[] = {
18399 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18410 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18414 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18418 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18422 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_Py_Void();
18437 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
= 0;
18439 wxDC
*arg1
= (wxDC
*) 0 ;
18441 wxColour
*arg3
= 0 ;
18442 wxColour
*arg4
= 0 ;
18443 wxDirection arg5
= (wxDirection
) wxEAST
;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 PyObject
* obj2
= 0 ;
18454 PyObject
* obj3
= 0 ;
18455 PyObject
* obj4
= 0 ;
18456 char * kwnames
[] = {
18457 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18468 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18472 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18476 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18479 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18480 if (!SWIG_IsOK(ecode5
)) {
18481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18483 arg5
= static_cast< wxDirection
>(val5
);
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_Py_Void();
18498 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
= 0;
18500 wxDC
*arg1
= (wxDC
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 PyObject
* obj2
= 0 ;
18513 char * kwnames
[] = {
18514 (char *) "self",(char *) "x",(char *) "y", NULL
18517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18519 if (!SWIG_IsOK(res1
)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18524 if (!SWIG_IsOK(ecode2
)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18527 arg2
= static_cast< int >(val2
);
18528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18529 if (!SWIG_IsOK(ecode3
)) {
18530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18532 arg3
= static_cast< int >(val3
);
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18546 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
= 0;
18548 wxDC
*arg1
= (wxDC
*) 0 ;
18549 wxPoint
*arg2
= 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char * kwnames
[] = {
18557 (char *) "self",(char *) "pt", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18583 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxDC
*arg1
= (wxDC
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 PyObject
* obj1
= 0 ;
18602 PyObject
* obj2
= 0 ;
18603 PyObject
* obj3
= 0 ;
18604 PyObject
* obj4
= 0 ;
18605 char * kwnames
[] = {
18606 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18611 if (!SWIG_IsOK(res1
)) {
18612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18616 if (!SWIG_IsOK(ecode2
)) {
18617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18619 arg2
= static_cast< int >(val2
);
18620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18621 if (!SWIG_IsOK(ecode3
)) {
18622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18624 arg3
= static_cast< int >(val3
);
18625 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18626 if (!SWIG_IsOK(ecode4
)) {
18627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18629 arg4
= static_cast< int >(val4
);
18630 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18631 if (!SWIG_IsOK(ecode5
)) {
18632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18634 arg5
= static_cast< int >(val5
);
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= SWIG_Py_Void();
18648 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
= 0;
18650 wxDC
*arg1
= (wxDC
*) 0 ;
18651 wxPoint
*arg2
= 0 ;
18652 wxPoint
*arg3
= 0 ;
18657 PyObject
* obj0
= 0 ;
18658 PyObject
* obj1
= 0 ;
18659 PyObject
* obj2
= 0 ;
18660 char * kwnames
[] = {
18661 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_Py_Void();
18691 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
= 0;
18693 wxDC
*arg1
= (wxDC
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 PyObject
* obj2
= 0 ;
18705 char * kwnames
[] = {
18706 (char *) "self",(char *) "x",(char *) "y", NULL
18709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18711 if (!SWIG_IsOK(res1
)) {
18712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18716 if (!SWIG_IsOK(ecode2
)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18719 arg2
= static_cast< int >(val2
);
18720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18721 if (!SWIG_IsOK(ecode3
)) {
18722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18724 arg3
= static_cast< int >(val3
);
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 (arg1
)->CrossHair(arg2
,arg3
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= SWIG_Py_Void();
18738 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
= 0;
18740 wxDC
*arg1
= (wxDC
*) 0 ;
18741 wxPoint
*arg2
= 0 ;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 char * kwnames
[] = {
18748 (char *) "self",(char *) "pt", NULL
18751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18753 if (!SWIG_IsOK(res1
)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_Py_Void();
18774 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
= 0;
18776 wxDC
*arg1
= (wxDC
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 PyObject
* obj2
= 0 ;
18800 PyObject
* obj3
= 0 ;
18801 PyObject
* obj4
= 0 ;
18802 PyObject
* obj5
= 0 ;
18803 PyObject
* obj6
= 0 ;
18804 char * kwnames
[] = {
18805 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18810 if (!SWIG_IsOK(res1
)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18815 if (!SWIG_IsOK(ecode2
)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18818 arg2
= static_cast< int >(val2
);
18819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18820 if (!SWIG_IsOK(ecode3
)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18823 arg3
= static_cast< int >(val3
);
18824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18825 if (!SWIG_IsOK(ecode4
)) {
18826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18828 arg4
= static_cast< int >(val4
);
18829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18830 if (!SWIG_IsOK(ecode5
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18833 arg5
= static_cast< int >(val5
);
18834 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18835 if (!SWIG_IsOK(ecode6
)) {
18836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18838 arg6
= static_cast< int >(val6
);
18839 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18840 if (!SWIG_IsOK(ecode7
)) {
18841 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18843 arg7
= static_cast< int >(val7
);
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= SWIG_Py_Void();
18857 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
= 0;
18859 wxDC
*arg1
= (wxDC
*) 0 ;
18860 wxPoint
*arg2
= 0 ;
18861 wxPoint
*arg3
= 0 ;
18862 wxPoint
*arg4
= 0 ;
18868 PyObject
* obj0
= 0 ;
18869 PyObject
* obj1
= 0 ;
18870 PyObject
* obj2
= 0 ;
18871 PyObject
* obj3
= 0 ;
18872 char * kwnames
[] = {
18873 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18878 if (!SWIG_IsOK(res1
)) {
18879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_Py_Void();
18907 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
= 0;
18909 wxDC
*arg1
= (wxDC
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 PyObject
* obj2
= 0 ;
18927 PyObject
* obj3
= 0 ;
18928 PyObject
* obj4
= 0 ;
18929 char * kwnames
[] = {
18930 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18935 if (!SWIG_IsOK(res1
)) {
18936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18940 if (!SWIG_IsOK(ecode2
)) {
18941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18943 arg2
= static_cast< int >(val2
);
18944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18945 if (!SWIG_IsOK(ecode3
)) {
18946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18948 arg3
= static_cast< int >(val3
);
18949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18950 if (!SWIG_IsOK(ecode4
)) {
18951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18953 arg4
= static_cast< int >(val4
);
18954 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18955 if (!SWIG_IsOK(ecode5
)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18958 arg5
= static_cast< int >(val5
);
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= SWIG_Py_Void();
18972 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
= 0;
18974 wxDC
*arg1
= (wxDC
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char * kwnames
[] = {
18982 (char *) "self",(char *) "rect", NULL
18985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18993 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_Py_Void();
19008 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
= 0;
19010 wxDC
*arg1
= (wxDC
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 PyObject
* obj2
= 0 ;
19034 PyObject
* obj3
= 0 ;
19035 PyObject
* obj4
= 0 ;
19036 PyObject
* obj5
= 0 ;
19037 PyObject
* obj6
= 0 ;
19038 char * kwnames
[] = {
19039 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19044 if (!SWIG_IsOK(res1
)) {
19045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19049 if (!SWIG_IsOK(ecode2
)) {
19050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19052 arg2
= static_cast< int >(val2
);
19053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19054 if (!SWIG_IsOK(ecode3
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19057 arg3
= static_cast< int >(val3
);
19058 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19059 if (!SWIG_IsOK(ecode4
)) {
19060 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19062 arg4
= static_cast< int >(val4
);
19063 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19064 if (!SWIG_IsOK(ecode5
)) {
19065 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19067 arg5
= static_cast< int >(val5
);
19068 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19069 if (!SWIG_IsOK(ecode6
)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19072 arg6
= static_cast< double >(val6
);
19073 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19074 if (!SWIG_IsOK(ecode7
)) {
19075 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19077 arg7
= static_cast< double >(val7
);
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_Py_Void();
19091 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
= 0;
19093 wxDC
*arg1
= (wxDC
*) 0 ;
19094 wxPoint
*arg2
= 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 PyObject
* obj2
= 0 ;
19109 PyObject
* obj3
= 0 ;
19110 PyObject
* obj4
= 0 ;
19111 char * kwnames
[] = {
19112 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19117 if (!SWIG_IsOK(res1
)) {
19118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19127 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19129 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19130 if (!SWIG_IsOK(ecode4
)) {
19131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19133 arg4
= static_cast< double >(val4
);
19134 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19135 if (!SWIG_IsOK(ecode5
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19138 arg5
= static_cast< double >(val5
);
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_Py_Void();
19152 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
= 0;
19154 wxDC
*arg1
= (wxDC
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "x",(char *) "y", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19177 if (!SWIG_IsOK(ecode2
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19180 arg2
= static_cast< int >(val2
);
19181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19182 if (!SWIG_IsOK(ecode3
)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19185 arg3
= static_cast< int >(val3
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->DrawPoint(arg2
,arg3
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxDC
*arg1
= (wxDC
*) 0 ;
19202 wxPoint
*arg2
= 0 ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char * kwnames
[] = {
19209 (char *) "self",(char *) "pt", NULL
19212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_Py_Void();
19235 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
= 0;
19237 wxDC
*arg1
= (wxDC
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 PyObject
* obj2
= 0 ;
19255 PyObject
* obj3
= 0 ;
19256 PyObject
* obj4
= 0 ;
19257 char * kwnames
[] = {
19258 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19263 if (!SWIG_IsOK(res1
)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19268 if (!SWIG_IsOK(ecode2
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19271 arg2
= static_cast< int >(val2
);
19272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19273 if (!SWIG_IsOK(ecode3
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19276 arg3
= static_cast< int >(val3
);
19277 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19278 if (!SWIG_IsOK(ecode4
)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19281 arg4
= static_cast< int >(val4
);
19282 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19283 if (!SWIG_IsOK(ecode5
)) {
19284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19286 arg5
= static_cast< int >(val5
);
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_Py_Void();
19300 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
= 0;
19302 wxDC
*arg1
= (wxDC
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 char * kwnames
[] = {
19310 (char *) "self",(char *) "rect", NULL
19313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19315 if (!SWIG_IsOK(res1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19321 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= SWIG_Py_Void();
19336 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
= 0;
19338 wxDC
*arg1
= (wxDC
*) 0 ;
19339 wxPoint
*arg2
= 0 ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 PyObject
* obj2
= 0 ;
19348 char * kwnames
[] = {
19349 (char *) "self",(char *) "pt",(char *) "sz", NULL
19352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19354 if (!SWIG_IsOK(res1
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19364 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= SWIG_Py_Void();
19379 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
= 0;
19381 wxDC
*arg1
= (wxDC
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 PyObject
* obj3
= 0 ;
19403 PyObject
* obj4
= 0 ;
19404 PyObject
* obj5
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19416 if (!SWIG_IsOK(ecode2
)) {
19417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19419 arg2
= static_cast< int >(val2
);
19420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19421 if (!SWIG_IsOK(ecode3
)) {
19422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19424 arg3
= static_cast< int >(val3
);
19425 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19426 if (!SWIG_IsOK(ecode4
)) {
19427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19429 arg4
= static_cast< int >(val4
);
19430 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19431 if (!SWIG_IsOK(ecode5
)) {
19432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19434 arg5
= static_cast< int >(val5
);
19435 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19436 if (!SWIG_IsOK(ecode6
)) {
19437 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19439 arg6
= static_cast< double >(val6
);
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_Py_Void();
19453 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
= 0;
19455 wxDC
*arg1
= (wxDC
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 PyObject
* obj2
= 0 ;
19466 char * kwnames
[] = {
19467 (char *) "self",(char *) "r",(char *) "radius", NULL
19470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19472 if (!SWIG_IsOK(res1
)) {
19473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19478 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19480 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19481 if (!SWIG_IsOK(ecode3
)) {
19482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19484 arg3
= static_cast< double >(val3
);
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_Py_Void();
19498 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
= 0;
19500 wxDC
*arg1
= (wxDC
*) 0 ;
19501 wxPoint
*arg2
= 0 ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 PyObject
* obj3
= 0 ;
19514 char * kwnames
[] = {
19515 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19520 if (!SWIG_IsOK(res1
)) {
19521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19530 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19532 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19533 if (!SWIG_IsOK(ecode4
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19536 arg4
= static_cast< double >(val4
);
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= SWIG_Py_Void();
19550 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
= 0;
19552 wxDC
*arg1
= (wxDC
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 PyObject
* obj2
= 0 ;
19567 PyObject
* obj3
= 0 ;
19568 char * kwnames
[] = {
19569 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19574 if (!SWIG_IsOK(res1
)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19579 if (!SWIG_IsOK(ecode2
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19582 arg2
= static_cast< int >(val2
);
19583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19584 if (!SWIG_IsOK(ecode3
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19587 arg3
= static_cast< int >(val3
);
19588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19589 if (!SWIG_IsOK(ecode4
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19592 arg4
= static_cast< int >(val4
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_Py_Void();
19606 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
= 0;
19608 wxDC
*arg1
= (wxDC
*) 0 ;
19609 wxPoint
*arg2
= 0 ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 PyObject
* obj2
= 0 ;
19619 char * kwnames
[] = {
19620 (char *) "self",(char *) "pt",(char *) "radius", NULL
19623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19625 if (!SWIG_IsOK(res1
)) {
19626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19634 if (!SWIG_IsOK(ecode3
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19637 arg3
= static_cast< int >(val3
);
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= SWIG_Py_Void();
19651 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
= 0;
19653 wxDC
*arg1
= (wxDC
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 PyObject
* obj2
= 0 ;
19671 PyObject
* obj3
= 0 ;
19672 PyObject
* obj4
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19684 if (!SWIG_IsOK(ecode2
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19687 arg2
= static_cast< int >(val2
);
19688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19689 if (!SWIG_IsOK(ecode3
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19692 arg3
= static_cast< int >(val3
);
19693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19694 if (!SWIG_IsOK(ecode4
)) {
19695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19697 arg4
= static_cast< int >(val4
);
19698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19699 if (!SWIG_IsOK(ecode5
)) {
19700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19702 arg5
= static_cast< int >(val5
);
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_Py_Void();
19716 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
= 0;
19718 wxDC
*arg1
= (wxDC
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 PyObject
* obj1
= 0 ;
19725 char * kwnames
[] = {
19726 (char *) "self",(char *) "rect", NULL
19729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19731 if (!SWIG_IsOK(res1
)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19737 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_Py_Void();
19752 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
= 0;
19754 wxDC
*arg1
= (wxDC
*) 0 ;
19755 wxPoint
*arg2
= 0 ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 PyObject
* obj2
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "self",(char *) "pt",(char *) "sz", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19770 if (!SWIG_IsOK(res1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19780 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= SWIG_Py_Void();
19795 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
= 0;
19797 wxDC
*arg1
= (wxDC
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 PyObject
* obj2
= 0 ;
19812 PyObject
* obj3
= 0 ;
19813 char * kwnames
[] = {
19814 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19819 if (!SWIG_IsOK(res1
)) {
19820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19824 if (!SWIG_IsOK(res2
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19830 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19832 if (!SWIG_IsOK(ecode3
)) {
19833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19835 arg3
= static_cast< int >(val3
);
19836 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19837 if (!SWIG_IsOK(ecode4
)) {
19838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19840 arg4
= static_cast< int >(val4
);
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_Py_Void();
19854 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
= 0;
19856 wxDC
*arg1
= (wxDC
*) 0 ;
19858 wxPoint
*arg3
= 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 PyObject
* obj2
= 0 ;
19867 char * kwnames
[] = {
19868 (char *) "self",(char *) "icon",(char *) "pt", NULL
19871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19873 if (!SWIG_IsOK(res1
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19878 if (!SWIG_IsOK(res2
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19884 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_Py_Void();
19902 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
= 0;
19904 wxDC
*arg1
= (wxDC
*) 0 ;
19905 wxBitmap
*arg2
= 0 ;
19908 bool arg5
= (bool) false ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 PyObject
* obj2
= 0 ;
19922 PyObject
* obj3
= 0 ;
19923 PyObject
* obj4
= 0 ;
19924 char * kwnames
[] = {
19925 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19930 if (!SWIG_IsOK(res1
)) {
19931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19935 if (!SWIG_IsOK(res2
)) {
19936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19941 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19943 if (!SWIG_IsOK(ecode3
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19946 arg3
= static_cast< int >(val3
);
19947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19948 if (!SWIG_IsOK(ecode4
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19951 arg4
= static_cast< int >(val4
);
19953 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19954 if (!SWIG_IsOK(ecode5
)) {
19955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19957 arg5
= static_cast< bool >(val5
);
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_Py_Void();
19972 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
= 0;
19974 wxDC
*arg1
= (wxDC
*) 0 ;
19975 wxBitmap
*arg2
= 0 ;
19976 wxPoint
*arg3
= 0 ;
19977 bool arg4
= (bool) false ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 PyObject
* obj2
= 0 ;
19988 PyObject
* obj3
= 0 ;
19989 char * kwnames
[] = {
19990 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20000 if (!SWIG_IsOK(res2
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20006 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20012 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20013 if (!SWIG_IsOK(ecode4
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20016 arg4
= static_cast< bool >(val4
);
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= SWIG_Py_Void();
20031 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
= 0;
20033 wxDC
*arg1
= (wxDC
*) 0 ;
20034 wxString
*arg2
= 0 ;
20039 bool temp2
= false ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 PyObject
* obj3
= 0 ;
20048 char * kwnames
[] = {
20049 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20054 if (!SWIG_IsOK(res1
)) {
20055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20059 arg2
= wxString_in_helper(obj1
);
20060 if (arg2
== NULL
) SWIG_fail
;
20063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20064 if (!SWIG_IsOK(ecode3
)) {
20065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20067 arg3
= static_cast< int >(val3
);
20068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20069 if (!SWIG_IsOK(ecode4
)) {
20070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20072 arg4
= static_cast< int >(val4
);
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= SWIG_Py_Void();
20094 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxDC
*arg1
= (wxDC
*) 0 ;
20097 wxString
*arg2
= 0 ;
20098 wxPoint
*arg3
= 0 ;
20101 bool temp2
= false ;
20103 PyObject
* obj0
= 0 ;
20104 PyObject
* obj1
= 0 ;
20105 PyObject
* obj2
= 0 ;
20106 char * kwnames
[] = {
20107 (char *) "self",(char *) "text",(char *) "pt", NULL
20110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20117 arg2
= wxString_in_helper(obj1
);
20118 if (arg2
== NULL
) SWIG_fail
;
20123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_Py_Void();
20146 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
= 0;
20148 wxDC
*arg1
= (wxDC
*) 0 ;
20149 wxString
*arg2
= 0 ;
20155 bool temp2
= false ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 PyObject
* obj2
= 0 ;
20165 PyObject
* obj3
= 0 ;
20166 PyObject
* obj4
= 0 ;
20167 char * kwnames
[] = {
20168 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20173 if (!SWIG_IsOK(res1
)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20178 arg2
= wxString_in_helper(obj1
);
20179 if (arg2
== NULL
) SWIG_fail
;
20182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20183 if (!SWIG_IsOK(ecode3
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20186 arg3
= static_cast< int >(val3
);
20187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20188 if (!SWIG_IsOK(ecode4
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20191 arg4
= static_cast< int >(val4
);
20192 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20193 if (!SWIG_IsOK(ecode5
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20196 arg5
= static_cast< double >(val5
);
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= SWIG_Py_Void();
20218 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxDC
*arg1
= (wxDC
*) 0 ;
20221 wxString
*arg2
= 0 ;
20222 wxPoint
*arg3
= 0 ;
20226 bool temp2
= false ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 PyObject
* obj2
= 0 ;
20233 PyObject
* obj3
= 0 ;
20234 char * kwnames
[] = {
20235 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20240 if (!SWIG_IsOK(res1
)) {
20241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20245 arg2
= wxString_in_helper(obj1
);
20246 if (arg2
== NULL
) SWIG_fail
;
20251 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20253 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20254 if (!SWIG_IsOK(ecode4
)) {
20255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20257 arg4
= static_cast< double >(val4
);
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= SWIG_Py_Void();
20279 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
= 0;
20281 wxDC
*arg1
= (wxDC
*) 0 ;
20286 wxDC
*arg6
= (wxDC
*) 0 ;
20289 int arg9
= (int) wxCOPY
;
20290 bool arg10
= (bool) false ;
20291 int arg11
= (int) -1 ;
20292 int arg12
= (int) -1 ;
20318 PyObject
* obj0
= 0 ;
20319 PyObject
* obj1
= 0 ;
20320 PyObject
* obj2
= 0 ;
20321 PyObject
* obj3
= 0 ;
20322 PyObject
* obj4
= 0 ;
20323 PyObject
* obj5
= 0 ;
20324 PyObject
* obj6
= 0 ;
20325 PyObject
* obj7
= 0 ;
20326 PyObject
* obj8
= 0 ;
20327 PyObject
* obj9
= 0 ;
20328 PyObject
* obj10
= 0 ;
20329 PyObject
* obj11
= 0 ;
20330 char * kwnames
[] = {
20331 (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
20334 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
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20341 if (!SWIG_IsOK(ecode2
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20344 arg2
= static_cast< int >(val2
);
20345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20346 if (!SWIG_IsOK(ecode3
)) {
20347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20349 arg3
= static_cast< int >(val3
);
20350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20351 if (!SWIG_IsOK(ecode4
)) {
20352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20354 arg4
= static_cast< int >(val4
);
20355 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20356 if (!SWIG_IsOK(ecode5
)) {
20357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20359 arg5
= static_cast< int >(val5
);
20360 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20361 if (!SWIG_IsOK(res6
)) {
20362 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20364 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20365 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20366 if (!SWIG_IsOK(ecode7
)) {
20367 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20369 arg7
= static_cast< int >(val7
);
20370 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20371 if (!SWIG_IsOK(ecode8
)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20374 arg8
= static_cast< int >(val8
);
20376 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20377 if (!SWIG_IsOK(ecode9
)) {
20378 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20380 arg9
= static_cast< int >(val9
);
20383 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20384 if (!SWIG_IsOK(ecode10
)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20387 arg10
= static_cast< bool >(val10
);
20390 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20391 if (!SWIG_IsOK(ecode11
)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20394 arg11
= static_cast< int >(val11
);
20397 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20398 if (!SWIG_IsOK(ecode12
)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20401 arg12
= static_cast< int >(val12
);
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20418 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
= 0;
20420 wxDC
*arg1
= (wxDC
*) 0 ;
20421 wxPoint
*arg2
= 0 ;
20423 wxDC
*arg4
= (wxDC
*) 0 ;
20424 wxPoint
*arg5
= 0 ;
20425 int arg6
= (int) wxCOPY
;
20426 bool arg7
= (bool) false ;
20427 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20428 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20442 PyObject
* obj0
= 0 ;
20443 PyObject
* obj1
= 0 ;
20444 PyObject
* obj2
= 0 ;
20445 PyObject
* obj3
= 0 ;
20446 PyObject
* obj4
= 0 ;
20447 PyObject
* obj5
= 0 ;
20448 PyObject
* obj6
= 0 ;
20449 PyObject
* obj7
= 0 ;
20450 char * kwnames
[] = {
20451 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20456 if (!SWIG_IsOK(res1
)) {
20457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20466 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20468 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20469 if (!SWIG_IsOK(res4
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20472 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20475 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20478 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20479 if (!SWIG_IsOK(ecode6
)) {
20480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20482 arg6
= static_cast< int >(val6
);
20485 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20486 if (!SWIG_IsOK(ecode7
)) {
20487 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20489 arg7
= static_cast< bool >(val7
);
20494 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20512 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
= 0;
20514 wxDC
*arg1
= (wxDC
*) 0 ;
20515 wxRect
*arg2
= (wxRect
*) NULL
;
20516 SwigValueWrapper
<wxBitmap
> result
;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 char * kwnames
[] = {
20524 (char *) "self",(char *) "subrect", NULL
20527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20529 if (!SWIG_IsOK(res1
)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20535 if (!SWIG_IsOK(res2
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20538 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20553 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
= 0;
20555 wxDC
*arg1
= (wxDC
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20572 PyObject
* obj2
= 0 ;
20573 PyObject
* obj3
= 0 ;
20574 PyObject
* obj4
= 0 ;
20575 char * kwnames
[] = {
20576 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20581 if (!SWIG_IsOK(res1
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20586 if (!SWIG_IsOK(ecode2
)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20589 arg2
= static_cast< int >(val2
);
20590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20591 if (!SWIG_IsOK(ecode3
)) {
20592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20594 arg3
= static_cast< int >(val3
);
20595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20596 if (!SWIG_IsOK(ecode4
)) {
20597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20599 arg4
= static_cast< int >(val4
);
20600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20601 if (!SWIG_IsOK(ecode5
)) {
20602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20604 arg5
= static_cast< int >(val5
);
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_Py_Void();
20618 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
= 0;
20620 wxDC
*arg1
= (wxDC
*) 0 ;
20621 wxPoint
*arg2
= 0 ;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20629 PyObject
* obj2
= 0 ;
20630 char * kwnames
[] = {
20631 (char *) "self",(char *) "pt",(char *) "sz", NULL
20634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20646 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= SWIG_Py_Void();
20661 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
= 0;
20663 wxDC
*arg1
= (wxDC
*) 0 ;
20664 wxRegion
*arg2
= 0 ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 char * kwnames
[] = {
20672 (char *) "self",(char *) "region", NULL
20675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20677 if (!SWIG_IsOK(res1
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20682 if (!SWIG_IsOK(res2
)) {
20683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20688 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_Py_Void();
20702 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= 0;
20704 wxDC
*arg1
= (wxDC
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 char * kwnames
[] = {
20712 (char *) "self",(char *) "rect", NULL
20715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20717 if (!SWIG_IsOK(res1
)) {
20718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20723 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_Py_Void();
20738 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxDC
*arg1
= (wxDC
*) 0 ;
20742 wxPoint
*arg3
= (wxPoint
*) 0 ;
20743 int arg4
= (int) 0 ;
20744 int arg5
= (int) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 PyObject
* obj2
= 0 ;
20754 PyObject
* obj3
= 0 ;
20755 char * kwnames
[] = {
20756 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20761 if (!SWIG_IsOK(res1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20766 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20767 if (arg3
== NULL
) SWIG_fail
;
20770 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20771 if (!SWIG_IsOK(ecode4
)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20774 arg4
= static_cast< int >(val4
);
20777 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20778 if (!SWIG_IsOK(ecode5
)) {
20779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20781 arg5
= static_cast< int >(val5
);
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_Py_Void();
20791 if (arg3
) delete [] arg3
;
20796 if (arg3
) delete [] arg3
;
20802 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
= 0;
20804 wxDC
*arg1
= (wxDC
*) 0 ;
20806 wxPoint
*arg3
= (wxPoint
*) 0 ;
20807 int arg4
= (int) 0 ;
20808 int arg5
= (int) 0 ;
20809 int arg6
= (int) wxODDEVEN_RULE
;
20818 PyObject
* obj0
= 0 ;
20819 PyObject
* obj1
= 0 ;
20820 PyObject
* obj2
= 0 ;
20821 PyObject
* obj3
= 0 ;
20822 PyObject
* obj4
= 0 ;
20823 char * kwnames
[] = {
20824 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20834 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20835 if (arg3
== NULL
) SWIG_fail
;
20838 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20839 if (!SWIG_IsOK(ecode4
)) {
20840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20842 arg4
= static_cast< int >(val4
);
20845 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20846 if (!SWIG_IsOK(ecode5
)) {
20847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20849 arg5
= static_cast< int >(val5
);
20852 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20853 if (!SWIG_IsOK(ecode6
)) {
20854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20856 arg6
= static_cast< int >(val6
);
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_Py_Void();
20866 if (arg3
) delete [] arg3
;
20871 if (arg3
) delete [] arg3
;
20877 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
= 0;
20879 wxDC
*arg1
= (wxDC
*) 0 ;
20880 wxString
*arg2
= 0 ;
20882 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20883 int arg5
= (int) -1 ;
20886 bool temp2
= false ;
20892 PyObject
* obj0
= 0 ;
20893 PyObject
* obj1
= 0 ;
20894 PyObject
* obj2
= 0 ;
20895 PyObject
* obj3
= 0 ;
20896 PyObject
* obj4
= 0 ;
20897 char * kwnames
[] = {
20898 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20908 arg2
= wxString_in_helper(obj1
);
20909 if (arg2
== NULL
) SWIG_fail
;
20914 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20918 if (!SWIG_IsOK(ecode4
)) {
20919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20921 arg4
= static_cast< int >(val4
);
20924 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20925 if (!SWIG_IsOK(ecode5
)) {
20926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20928 arg5
= static_cast< int >(val5
);
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_Py_Void();
20951 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
= 0;
20953 wxDC
*arg1
= (wxDC
*) 0 ;
20954 wxString
*arg2
= 0 ;
20955 wxBitmap
*arg3
= 0 ;
20957 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20958 int arg6
= (int) -1 ;
20962 bool temp2
= false ;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20972 PyObject
* obj2
= 0 ;
20973 PyObject
* obj3
= 0 ;
20974 PyObject
* obj4
= 0 ;
20975 PyObject
* obj5
= 0 ;
20976 char * kwnames
[] = {
20977 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20985 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20987 arg2
= wxString_in_helper(obj1
);
20988 if (arg2
== NULL
) SWIG_fail
;
20991 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20992 if (!SWIG_IsOK(res3
)) {
20993 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20998 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21001 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21004 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21005 if (!SWIG_IsOK(ecode5
)) {
21006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21008 arg5
= static_cast< int >(val5
);
21011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21012 if (!SWIG_IsOK(ecode6
)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21015 arg6
= static_cast< int >(val6
);
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21038 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= 0;
21040 wxDC
*arg1
= (wxDC
*) 0 ;
21042 wxPoint
*arg3
= (wxPoint
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char * kwnames
[] = {
21048 (char *) "self",(char *) "points", NULL
21051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21053 if (!SWIG_IsOK(res1
)) {
21054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21058 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21059 if (arg3
== NULL
) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 (arg1
)->DrawSpline(arg2
,arg3
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= SWIG_Py_Void();
21069 if (arg3
) delete [] arg3
;
21074 if (arg3
) delete [] arg3
;
21080 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21081 PyObject
*resultobj
= 0;
21082 wxDC
*arg1
= (wxDC
*) 0 ;
21085 PyObject
*swig_obj
[1] ;
21087 if (!args
) SWIG_fail
;
21088 swig_obj
[0] = args
;
21089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21090 if (!SWIG_IsOK(res1
)) {
21091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_Py_Void();
21107 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
= 0;
21109 wxDC
*arg1
= (wxDC
*) 0 ;
21110 wxString
*arg2
= 0 ;
21114 bool temp2
= false ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 char * kwnames
[] = {
21118 (char *) "self",(char *) "message", NULL
21121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21128 arg2
= wxString_in_helper(obj1
);
21129 if (arg2
== NULL
) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21155 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21156 PyObject
*resultobj
= 0;
21157 wxDC
*arg1
= (wxDC
*) 0 ;
21160 PyObject
*swig_obj
[1] ;
21162 if (!args
) SWIG_fail
;
21163 swig_obj
[0] = args
;
21164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21165 if (!SWIG_IsOK(res1
)) {
21166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_Py_Void();
21182 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21183 PyObject
*resultobj
= 0;
21184 wxDC
*arg1
= (wxDC
*) 0 ;
21187 PyObject
*swig_obj
[1] ;
21189 if (!args
) SWIG_fail
;
21190 swig_obj
[0] = args
;
21191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21192 if (!SWIG_IsOK(res1
)) {
21193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 (arg1
)->StartPage();
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_Py_Void();
21209 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21210 PyObject
*resultobj
= 0;
21211 wxDC
*arg1
= (wxDC
*) 0 ;
21214 PyObject
*swig_obj
[1] ;
21216 if (!args
) SWIG_fail
;
21217 swig_obj
[0] = args
;
21218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_Py_Void();
21236 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
= 0;
21238 wxDC
*arg1
= (wxDC
*) 0 ;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 char * kwnames
[] = {
21247 (char *) "self",(char *) "font", NULL
21250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21252 if (!SWIG_IsOK(res1
)) {
21253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21257 if (!SWIG_IsOK(res2
)) {
21258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21263 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 (arg1
)->SetFont((wxFont
const &)*arg2
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_Py_Void();
21277 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
= 0;
21279 wxDC
*arg1
= (wxDC
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char * kwnames
[] = {
21288 (char *) "self",(char *) "pen", NULL
21291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21293 if (!SWIG_IsOK(res1
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21298 if (!SWIG_IsOK(res2
)) {
21299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21304 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 (arg1
)->SetPen((wxPen
const &)*arg2
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_Py_Void();
21318 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
= 0;
21320 wxDC
*arg1
= (wxDC
*) 0 ;
21321 wxBrush
*arg2
= 0 ;
21326 PyObject
* obj0
= 0 ;
21327 PyObject
* obj1
= 0 ;
21328 char * kwnames
[] = {
21329 (char *) "self",(char *) "brush", NULL
21332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21334 if (!SWIG_IsOK(res1
)) {
21335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21339 if (!SWIG_IsOK(res2
)) {
21340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21345 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_Py_Void();
21359 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
= 0;
21361 wxDC
*arg1
= (wxDC
*) 0 ;
21362 wxBrush
*arg2
= 0 ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 char * kwnames
[] = {
21370 (char *) "self",(char *) "brush", NULL
21373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21375 if (!SWIG_IsOK(res1
)) {
21376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21380 if (!SWIG_IsOK(res2
)) {
21381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21386 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= SWIG_Py_Void();
21400 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
= 0;
21402 wxDC
*arg1
= (wxDC
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char * kwnames
[] = {
21411 (char *) "self",(char *) "mode", NULL
21414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21416 if (!SWIG_IsOK(res1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21421 if (!SWIG_IsOK(ecode2
)) {
21422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21424 arg2
= static_cast< int >(val2
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetBackgroundMode(arg2
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_Py_Void();
21438 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= 0;
21440 wxDC
*arg1
= (wxDC
*) 0 ;
21441 wxPalette
*arg2
= 0 ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "self",(char *) "palette", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21459 if (!SWIG_IsOK(res2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21465 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= SWIG_Py_Void();
21479 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21480 PyObject
*resultobj
= 0;
21481 wxDC
*arg1
= (wxDC
*) 0 ;
21484 PyObject
*swig_obj
[1] ;
21486 if (!args
) SWIG_fail
;
21487 swig_obj
[0] = args
;
21488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 (arg1
)->DestroyClippingRegion();
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_Py_Void();
21506 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21507 PyObject
*resultobj
= 0;
21508 wxDC
*arg1
= (wxDC
*) 0 ;
21509 int *arg2
= (int *) 0 ;
21510 int *arg3
= (int *) 0 ;
21511 int *arg4
= (int *) 0 ;
21512 int *arg5
= (int *) 0 ;
21516 int res2
= SWIG_TMPOBJ
;
21518 int res3
= SWIG_TMPOBJ
;
21520 int res4
= SWIG_TMPOBJ
;
21522 int res5
= SWIG_TMPOBJ
;
21523 PyObject
*swig_obj
[1] ;
21529 if (!args
) SWIG_fail
;
21530 swig_obj
[0] = args
;
21531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21532 if (!SWIG_IsOK(res1
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= SWIG_Py_Void();
21543 if (SWIG_IsTmpObj(res2
)) {
21544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21546 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21549 if (SWIG_IsTmpObj(res3
)) {
21550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21552 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21555 if (SWIG_IsTmpObj(res4
)) {
21556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21558 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21561 if (SWIG_IsTmpObj(res5
)) {
21562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21564 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21573 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21574 PyObject
*resultobj
= 0;
21575 wxDC
*arg1
= (wxDC
*) 0 ;
21579 PyObject
*swig_obj
[1] ;
21581 if (!args
) SWIG_fail
;
21582 swig_obj
[0] = args
;
21583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21584 if (!SWIG_IsOK(res1
)) {
21585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21587 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= wxDC_GetClippingRect(arg1
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21601 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 PyObject
*resultobj
= 0;
21603 wxDC
*arg1
= (wxDC
*) 0 ;
21607 PyObject
*swig_obj
[1] ;
21609 if (!args
) SWIG_fail
;
21610 swig_obj
[0] = args
;
21611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= SWIG_From_int(static_cast< int >(result
));
21629 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21630 PyObject
*resultobj
= 0;
21631 wxDC
*arg1
= (wxDC
*) 0 ;
21635 PyObject
*swig_obj
[1] ;
21637 if (!args
) SWIG_fail
;
21638 swig_obj
[0] = args
;
21639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_From_int(static_cast< int >(result
));
21657 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
= 0;
21659 wxDC
*arg1
= (wxDC
*) 0 ;
21660 wxString
*arg2
= 0 ;
21661 int *arg3
= (int *) 0 ;
21662 int *arg4
= (int *) 0 ;
21665 bool temp2
= false ;
21667 int res3
= SWIG_TMPOBJ
;
21669 int res4
= SWIG_TMPOBJ
;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char * kwnames
[] = {
21673 (char *) "self",(char *) "string", NULL
21678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21680 if (!SWIG_IsOK(res1
)) {
21681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21685 arg2
= wxString_in_helper(obj1
);
21686 if (arg2
== NULL
) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= SWIG_Py_Void();
21696 if (SWIG_IsTmpObj(res3
)) {
21697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21699 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21702 if (SWIG_IsTmpObj(res4
)) {
21703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21705 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21722 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
= 0;
21724 wxDC
*arg1
= (wxDC
*) 0 ;
21725 wxString
*arg2
= 0 ;
21726 int *arg3
= (int *) 0 ;
21727 int *arg4
= (int *) 0 ;
21728 int *arg5
= (int *) 0 ;
21729 int *arg6
= (int *) 0 ;
21730 wxFont
*arg7
= (wxFont
*) NULL
;
21733 bool temp2
= false ;
21735 int res3
= SWIG_TMPOBJ
;
21737 int res4
= SWIG_TMPOBJ
;
21739 int res5
= SWIG_TMPOBJ
;
21741 int res6
= SWIG_TMPOBJ
;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 char * kwnames
[] = {
21748 (char *) "self",(char *) "string",(char *) "font", NULL
21755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21757 if (!SWIG_IsOK(res1
)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21762 arg2
= wxString_in_helper(obj1
);
21763 if (arg2
== NULL
) SWIG_fail
;
21767 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21768 if (!SWIG_IsOK(res7
)) {
21769 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21771 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_Py_Void();
21780 if (SWIG_IsTmpObj(res3
)) {
21781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21783 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21784 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21786 if (SWIG_IsTmpObj(res4
)) {
21787 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21789 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21790 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21792 if (SWIG_IsTmpObj(res5
)) {
21793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21795 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21798 if (SWIG_IsTmpObj(res6
)) {
21799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21801 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21818 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
= 0;
21820 wxDC
*arg1
= (wxDC
*) 0 ;
21821 wxString
*arg2
= 0 ;
21822 int *arg3
= (int *) 0 ;
21823 int *arg4
= (int *) 0 ;
21824 int *arg5
= (int *) 0 ;
21825 wxFont
*arg6
= (wxFont
*) NULL
;
21828 bool temp2
= false ;
21830 int res3
= SWIG_TMPOBJ
;
21832 int res4
= SWIG_TMPOBJ
;
21834 int res5
= SWIG_TMPOBJ
;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 PyObject
* obj2
= 0 ;
21840 char * kwnames
[] = {
21841 (char *) "self",(char *) "text",(char *) "font", NULL
21847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21849 if (!SWIG_IsOK(res1
)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21854 arg2
= wxString_in_helper(obj1
);
21855 if (arg2
== NULL
) SWIG_fail
;
21859 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21860 if (!SWIG_IsOK(res6
)) {
21861 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21863 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_Py_Void();
21872 if (SWIG_IsTmpObj(res3
)) {
21873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21875 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21878 if (SWIG_IsTmpObj(res4
)) {
21879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21881 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21884 if (SWIG_IsTmpObj(res5
)) {
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21887 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21904 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
= 0;
21906 wxDC
*arg1
= (wxDC
*) 0 ;
21907 wxString
*arg2
= 0 ;
21911 bool temp2
= false ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 char * kwnames
[] = {
21915 (char *) "self",(char *) "text", NULL
21918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21925 arg2
= wxString_in_helper(obj1
);
21926 if (arg2
== NULL
) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= wxArrayInt2PyList_helper(result
);
21952 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21953 PyObject
*resultobj
= 0;
21954 wxDC
*arg1
= (wxDC
*) 0 ;
21958 PyObject
*swig_obj
[1] ;
21960 if (!args
) SWIG_fail
;
21961 swig_obj
[0] = args
;
21962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21963 if (!SWIG_IsOK(res1
)) {
21964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (arg1
)->GetSize();
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21980 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21981 PyObject
*resultobj
= 0;
21982 wxDC
*arg1
= (wxDC
*) 0 ;
21983 int *arg2
= (int *) 0 ;
21984 int *arg3
= (int *) 0 ;
21988 int res2
= SWIG_TMPOBJ
;
21990 int res3
= SWIG_TMPOBJ
;
21991 PyObject
*swig_obj
[1] ;
21995 if (!args
) SWIG_fail
;
21996 swig_obj
[0] = args
;
21997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21998 if (!SWIG_IsOK(res1
)) {
21999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
22001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->GetSize(arg2
,arg3
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_Py_Void();
22009 if (SWIG_IsTmpObj(res2
)) {
22010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22012 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22015 if (SWIG_IsTmpObj(res3
)) {
22016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22018 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22027 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22028 PyObject
*resultobj
= 0;
22029 wxDC
*arg1
= (wxDC
*) 0 ;
22033 PyObject
*swig_obj
[1] ;
22035 if (!args
) SWIG_fail
;
22036 swig_obj
[0] = args
;
22037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22038 if (!SWIG_IsOK(res1
)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22041 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22055 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22056 PyObject
*resultobj
= 0;
22057 wxDC
*arg1
= (wxDC
*) 0 ;
22058 int *arg2
= (int *) 0 ;
22059 int *arg3
= (int *) 0 ;
22063 int res2
= SWIG_TMPOBJ
;
22065 int res3
= SWIG_TMPOBJ
;
22066 PyObject
*swig_obj
[1] ;
22070 if (!args
) SWIG_fail
;
22071 swig_obj
[0] = args
;
22072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22073 if (!SWIG_IsOK(res1
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_Py_Void();
22084 if (SWIG_IsTmpObj(res2
)) {
22085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22087 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22090 if (SWIG_IsTmpObj(res3
)) {
22091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22093 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22102 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
= 0;
22104 wxDC
*arg1
= (wxDC
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char * kwnames
[] = {
22114 (char *) "self",(char *) "x", NULL
22117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22119 if (!SWIG_IsOK(res1
)) {
22120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22124 if (!SWIG_IsOK(ecode2
)) {
22125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22127 arg2
= static_cast< int >(val2
);
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_From_int(static_cast< int >(result
));
22141 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
= 0;
22143 wxDC
*arg1
= (wxDC
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 char * kwnames
[] = {
22153 (char *) "self",(char *) "y", NULL
22156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22158 if (!SWIG_IsOK(res1
)) {
22159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22163 if (!SWIG_IsOK(ecode2
)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22166 arg2
= static_cast< int >(val2
);
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_From_int(static_cast< int >(result
));
22180 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
= 0;
22182 wxDC
*arg1
= (wxDC
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 char * kwnames
[] = {
22192 (char *) "self",(char *) "x", NULL
22195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22197 if (!SWIG_IsOK(res1
)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22202 if (!SWIG_IsOK(ecode2
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22205 arg2
= static_cast< int >(val2
);
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_From_int(static_cast< int >(result
));
22219 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
= 0;
22221 wxDC
*arg1
= (wxDC
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 PyObject
* obj1
= 0 ;
22230 char * kwnames
[] = {
22231 (char *) "self",(char *) "y", NULL
22234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22241 if (!SWIG_IsOK(ecode2
)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22244 arg2
= static_cast< int >(val2
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= SWIG_From_int(static_cast< int >(result
));
22258 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
= 0;
22260 wxDC
*arg1
= (wxDC
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char * kwnames
[] = {
22270 (char *) "self",(char *) "x", NULL
22273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22275 if (!SWIG_IsOK(res1
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22280 if (!SWIG_IsOK(ecode2
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22283 arg2
= static_cast< int >(val2
);
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= SWIG_From_int(static_cast< int >(result
));
22297 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
= 0;
22299 wxDC
*arg1
= (wxDC
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 PyObject
* obj1
= 0 ;
22308 char * kwnames
[] = {
22309 (char *) "self",(char *) "y", NULL
22312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22314 if (!SWIG_IsOK(res1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22319 if (!SWIG_IsOK(ecode2
)) {
22320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22322 arg2
= static_cast< int >(val2
);
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_From_int(static_cast< int >(result
));
22336 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
= 0;
22338 wxDC
*arg1
= (wxDC
*) 0 ;
22345 PyObject
* obj0
= 0 ;
22346 PyObject
* obj1
= 0 ;
22347 char * kwnames
[] = {
22348 (char *) "self",(char *) "x", NULL
22351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22353 if (!SWIG_IsOK(res1
)) {
22354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22358 if (!SWIG_IsOK(ecode2
)) {
22359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22361 arg2
= static_cast< int >(val2
);
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_From_int(static_cast< int >(result
));
22375 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
= 0;
22377 wxDC
*arg1
= (wxDC
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 PyObject
* obj1
= 0 ;
22386 char * kwnames
[] = {
22387 (char *) "self",(char *) "y", NULL
22390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22392 if (!SWIG_IsOK(res1
)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22397 if (!SWIG_IsOK(ecode2
)) {
22398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22400 arg2
= static_cast< int >(val2
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= SWIG_From_int(static_cast< int >(result
));
22414 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 PyObject
*resultobj
= 0;
22416 wxDC
*arg1
= (wxDC
*) 0 ;
22420 PyObject
*swig_obj
[1] ;
22422 if (!args
) SWIG_fail
;
22423 swig_obj
[0] = args
;
22424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22444 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 PyObject
*resultobj
= 0;
22446 wxDC
*arg1
= (wxDC
*) 0 ;
22450 PyObject
*swig_obj
[1] ;
22452 if (!args
) SWIG_fail
;
22453 swig_obj
[0] = args
;
22454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22474 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 PyObject
*resultobj
= 0;
22476 wxDC
*arg1
= (wxDC
*) 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_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= SWIG_From_int(static_cast< int >(result
));
22502 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22503 PyObject
*resultobj
= 0;
22504 wxDC
*arg1
= (wxDC
*) 0 ;
22508 PyObject
*swig_obj
[1] ;
22510 if (!args
) SWIG_fail
;
22511 swig_obj
[0] = args
;
22512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22513 if (!SWIG_IsOK(res1
)) {
22514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= ((wxDC
const *)arg1
)->GetPPI();
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22530 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22531 PyObject
*resultobj
= 0;
22532 wxDC
*arg1
= (wxDC
*) 0 ;
22536 PyObject
*swig_obj
[1] ;
22538 if (!args
) SWIG_fail
;
22539 swig_obj
[0] = args
;
22540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22541 if (!SWIG_IsOK(res1
)) {
22542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22560 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 PyObject
*resultobj
= 0;
22562 wxDC
*arg1
= (wxDC
*) 0 ;
22566 PyObject
*swig_obj
[1] ;
22568 if (!args
) SWIG_fail
;
22569 swig_obj
[0] = args
;
22570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22571 if (!SWIG_IsOK(res1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_From_int(static_cast< int >(result
));
22588 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 PyObject
*resultobj
= 0;
22590 wxDC
*arg1
= (wxDC
*) 0 ;
22591 wxBrush
*result
= 0 ;
22594 PyObject
*swig_obj
[1] ;
22596 if (!args
) SWIG_fail
;
22597 swig_obj
[0] = args
;
22598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22607 result
= (wxBrush
*) &_result_ref
;
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22613 wxBrush
* resultptr
= new wxBrush(*result
);
22614 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22622 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22623 PyObject
*resultobj
= 0;
22624 wxDC
*arg1
= (wxDC
*) 0 ;
22625 wxBrush
*result
= 0 ;
22628 PyObject
*swig_obj
[1] ;
22630 if (!args
) SWIG_fail
;
22631 swig_obj
[0] = args
;
22632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22633 if (!SWIG_IsOK(res1
)) {
22634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22641 result
= (wxBrush
*) &_result_ref
;
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 wxBrush
* resultptr
= new wxBrush(*result
);
22648 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22656 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22657 PyObject
*resultobj
= 0;
22658 wxDC
*arg1
= (wxDC
*) 0 ;
22659 wxFont
*result
= 0 ;
22662 PyObject
*swig_obj
[1] ;
22664 if (!args
) SWIG_fail
;
22665 swig_obj
[0] = args
;
22666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22667 if (!SWIG_IsOK(res1
)) {
22668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22675 result
= (wxFont
*) &_result_ref
;
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22681 wxFont
* resultptr
= new wxFont(*result
);
22682 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22690 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22691 PyObject
*resultobj
= 0;
22692 wxDC
*arg1
= (wxDC
*) 0 ;
22693 wxPen
*result
= 0 ;
22696 PyObject
*swig_obj
[1] ;
22698 if (!args
) SWIG_fail
;
22699 swig_obj
[0] = args
;
22700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22701 if (!SWIG_IsOK(res1
)) {
22702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22709 result
= (wxPen
*) &_result_ref
;
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22715 wxPen
* resultptr
= new wxPen(*result
);
22716 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22724 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22725 PyObject
*resultobj
= 0;
22726 wxDC
*arg1
= (wxDC
*) 0 ;
22727 wxColour
*result
= 0 ;
22730 PyObject
*swig_obj
[1] ;
22732 if (!args
) SWIG_fail
;
22733 swig_obj
[0] = args
;
22734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22735 if (!SWIG_IsOK(res1
)) {
22736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22743 result
= (wxColour
*) &_result_ref
;
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22755 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22756 PyObject
*resultobj
= 0;
22757 wxDC
*arg1
= (wxDC
*) 0 ;
22758 wxColour
*result
= 0 ;
22761 PyObject
*swig_obj
[1] ;
22763 if (!args
) SWIG_fail
;
22764 swig_obj
[0] = args
;
22765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22766 if (!SWIG_IsOK(res1
)) {
22767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22774 result
= (wxColour
*) &_result_ref
;
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22786 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
= 0;
22788 wxDC
*arg1
= (wxDC
*) 0 ;
22789 wxColour
*arg2
= 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char * kwnames
[] = {
22796 (char *) "self",(char *) "colour", NULL
22799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_Py_Void();
22822 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
= 0;
22824 wxDC
*arg1
= (wxDC
*) 0 ;
22825 wxColour
*arg2
= 0 ;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 char * kwnames
[] = {
22832 (char *) "self",(char *) "colour", NULL
22835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22837 if (!SWIG_IsOK(res1
)) {
22838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= SWIG_Py_Void();
22858 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22859 PyObject
*resultobj
= 0;
22860 wxDC
*arg1
= (wxDC
*) 0 ;
22864 PyObject
*swig_obj
[1] ;
22866 if (!args
) SWIG_fail
;
22867 swig_obj
[0] = args
;
22868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22869 if (!SWIG_IsOK(res1
)) {
22870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= SWIG_From_int(static_cast< int >(result
));
22886 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
= 0;
22888 wxDC
*arg1
= (wxDC
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 char * kwnames
[] = {
22897 (char *) "self",(char *) "mode", NULL
22900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22907 if (!SWIG_IsOK(ecode2
)) {
22908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22910 arg2
= static_cast< int >(val2
);
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->SetMapMode(arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_Py_Void();
22924 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22925 PyObject
*resultobj
= 0;
22926 wxDC
*arg1
= (wxDC
*) 0 ;
22927 double *arg2
= (double *) 0 ;
22928 double *arg3
= (double *) 0 ;
22932 int res2
= SWIG_TMPOBJ
;
22934 int res3
= SWIG_TMPOBJ
;
22935 PyObject
*swig_obj
[1] ;
22939 if (!args
) SWIG_fail
;
22940 swig_obj
[0] = args
;
22941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22942 if (!SWIG_IsOK(res1
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_Py_Void();
22953 if (SWIG_IsTmpObj(res2
)) {
22954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22956 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22959 if (SWIG_IsTmpObj(res3
)) {
22960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22962 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22971 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
= 0;
22973 wxDC
*arg1
= (wxDC
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 PyObject
* obj2
= 0 ;
22985 char * kwnames
[] = {
22986 (char *) "self",(char *) "x",(char *) "y", NULL
22989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22991 if (!SWIG_IsOK(res1
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22995 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22996 if (!SWIG_IsOK(ecode2
)) {
22997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22999 arg2
= static_cast< double >(val2
);
23000 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23001 if (!SWIG_IsOK(ecode3
)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23004 arg3
= static_cast< double >(val3
);
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 (arg1
)->SetUserScale(arg2
,arg3
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_Py_Void();
23018 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 PyObject
*resultobj
= 0;
23020 wxDC
*arg1
= (wxDC
*) 0 ;
23021 double *arg2
= (double *) 0 ;
23022 double *arg3
= (double *) 0 ;
23026 int res2
= SWIG_TMPOBJ
;
23028 int res3
= SWIG_TMPOBJ
;
23029 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->GetLogicalScale(arg2
,arg3
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_Py_Void();
23047 if (SWIG_IsTmpObj(res2
)) {
23048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23050 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23053 if (SWIG_IsTmpObj(res3
)) {
23054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23056 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23065 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
= 0;
23067 wxDC
*arg1
= (wxDC
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 PyObject
* obj2
= 0 ;
23079 char * kwnames
[] = {
23080 (char *) "self",(char *) "x",(char *) "y", NULL
23083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23085 if (!SWIG_IsOK(res1
)) {
23086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23089 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23090 if (!SWIG_IsOK(ecode2
)) {
23091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23093 arg2
= static_cast< double >(val2
);
23094 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23095 if (!SWIG_IsOK(ecode3
)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23098 arg3
= static_cast< double >(val3
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 (arg1
)->SetLogicalScale(arg2
,arg3
);
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_Py_Void();
23112 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23113 PyObject
*resultobj
= 0;
23114 wxDC
*arg1
= (wxDC
*) 0 ;
23118 PyObject
*swig_obj
[1] ;
23120 if (!args
) SWIG_fail
;
23121 swig_obj
[0] = args
;
23122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23123 if (!SWIG_IsOK(res1
)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23140 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23141 PyObject
*resultobj
= 0;
23142 wxDC
*arg1
= (wxDC
*) 0 ;
23143 int *arg2
= (int *) 0 ;
23144 int *arg3
= (int *) 0 ;
23148 int res2
= SWIG_TMPOBJ
;
23150 int res3
= SWIG_TMPOBJ
;
23151 PyObject
*swig_obj
[1] ;
23155 if (!args
) SWIG_fail
;
23156 swig_obj
[0] = args
;
23157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_Py_Void();
23169 if (SWIG_IsTmpObj(res2
)) {
23170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23172 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23175 if (SWIG_IsTmpObj(res3
)) {
23176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23178 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23187 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
= 0;
23189 wxDC
*arg1
= (wxDC
*) 0 ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 PyObject
* obj2
= 0 ;
23201 char * kwnames
[] = {
23202 (char *) "self",(char *) "x",(char *) "y", NULL
23205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23207 if (!SWIG_IsOK(res1
)) {
23208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23212 if (!SWIG_IsOK(ecode2
)) {
23213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23215 arg2
= static_cast< int >(val2
);
23216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23217 if (!SWIG_IsOK(ecode3
)) {
23218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23220 arg3
= static_cast< int >(val3
);
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= SWIG_Py_Void();
23234 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
= 0;
23236 wxDC
*arg1
= (wxDC
*) 0 ;
23237 wxPoint
*arg2
= 0 ;
23241 PyObject
* obj0
= 0 ;
23242 PyObject
* obj1
= 0 ;
23243 char * kwnames
[] = {
23244 (char *) "self",(char *) "point", NULL
23247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23249 if (!SWIG_IsOK(res1
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_Py_Void();
23270 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23271 PyObject
*resultobj
= 0;
23272 wxDC
*arg1
= (wxDC
*) 0 ;
23276 PyObject
*swig_obj
[1] ;
23278 if (!args
) SWIG_fail
;
23279 swig_obj
[0] = args
;
23280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23281 if (!SWIG_IsOK(res1
)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23298 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23299 PyObject
*resultobj
= 0;
23300 wxDC
*arg1
= (wxDC
*) 0 ;
23301 int *arg2
= (int *) 0 ;
23302 int *arg3
= (int *) 0 ;
23306 int res2
= SWIG_TMPOBJ
;
23308 int res3
= SWIG_TMPOBJ
;
23309 PyObject
*swig_obj
[1] ;
23313 if (!args
) SWIG_fail
;
23314 swig_obj
[0] = args
;
23315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23316 if (!SWIG_IsOK(res1
)) {
23317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= SWIG_Py_Void();
23327 if (SWIG_IsTmpObj(res2
)) {
23328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23330 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23333 if (SWIG_IsTmpObj(res3
)) {
23334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23336 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23345 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= 0;
23347 wxDC
*arg1
= (wxDC
*) 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 PyObject
* obj2
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "self",(char *) "x",(char *) "y", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23370 if (!SWIG_IsOK(ecode2
)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23373 arg2
= static_cast< int >(val2
);
23374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23375 if (!SWIG_IsOK(ecode3
)) {
23376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23378 arg3
= static_cast< int >(val3
);
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= SWIG_Py_Void();
23392 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
= 0;
23394 wxDC
*arg1
= (wxDC
*) 0 ;
23395 wxPoint
*arg2
= 0 ;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 char * kwnames
[] = {
23402 (char *) "self",(char *) "point", NULL
23405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23407 if (!SWIG_IsOK(res1
)) {
23408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_Py_Void();
23428 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
= 0;
23430 wxDC
*arg1
= (wxDC
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 PyObject
* obj2
= 0 ;
23442 char * kwnames
[] = {
23443 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23452 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23453 if (!SWIG_IsOK(ecode2
)) {
23454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23456 arg2
= static_cast< bool >(val2
);
23457 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23458 if (!SWIG_IsOK(ecode3
)) {
23459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23461 arg3
= static_cast< bool >(val3
);
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_Py_Void();
23475 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23476 PyObject
*resultobj
= 0;
23477 wxDC
*arg1
= (wxDC
*) 0 ;
23481 PyObject
*swig_obj
[1] ;
23483 if (!args
) SWIG_fail
;
23484 swig_obj
[0] = args
;
23485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= SWIG_From_int(static_cast< int >(result
));
23503 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
= 0;
23505 wxDC
*arg1
= (wxDC
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char * kwnames
[] = {
23514 (char *) "self",(char *) "function", NULL
23517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23519 if (!SWIG_IsOK(res1
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23524 if (!SWIG_IsOK(ecode2
)) {
23525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23527 arg2
= static_cast< int >(val2
);
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->SetLogicalFunction(arg2
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_Py_Void();
23541 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23542 PyObject
*resultobj
= 0;
23543 wxDC
*arg1
= (wxDC
*) 0 ;
23546 PyObject
*swig_obj
[1] ;
23548 if (!args
) SWIG_fail
;
23549 swig_obj
[0] = args
;
23550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23551 if (!SWIG_IsOK(res1
)) {
23552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 (arg1
)->ComputeScaleAndOrigin();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_Py_Void();
23568 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
= 0;
23570 wxDC
*arg1
= (wxDC
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 PyObject
* obj2
= 0 ;
23582 char * kwnames
[] = {
23583 (char *) "self",(char *) "x",(char *) "y", NULL
23586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23593 if (!SWIG_IsOK(ecode2
)) {
23594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23596 arg2
= static_cast< int >(val2
);
23597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23598 if (!SWIG_IsOK(ecode3
)) {
23599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23601 arg3
= static_cast< int >(val3
);
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_Py_Void();
23615 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
= 0;
23617 wxDC
*arg1
= (wxDC
*) 0 ;
23618 wxPoint
*arg2
= 0 ;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char * kwnames
[] = {
23625 (char *) "self",(char *) "point", NULL
23628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= SWIG_Py_Void();
23651 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23652 PyObject
*resultobj
= 0;
23653 wxDC
*arg1
= (wxDC
*) 0 ;
23656 PyObject
*swig_obj
[1] ;
23658 if (!args
) SWIG_fail
;
23659 swig_obj
[0] = args
;
23660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23661 if (!SWIG_IsOK(res1
)) {
23662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 (arg1
)->ResetBoundingBox();
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_Py_Void();
23678 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23679 PyObject
*resultobj
= 0;
23680 wxDC
*arg1
= (wxDC
*) 0 ;
23684 PyObject
*swig_obj
[1] ;
23686 if (!args
) SWIG_fail
;
23687 swig_obj
[0] = args
;
23688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= (int)((wxDC
const *)arg1
)->MinX();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_From_int(static_cast< int >(result
));
23706 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23707 PyObject
*resultobj
= 0;
23708 wxDC
*arg1
= (wxDC
*) 0 ;
23712 PyObject
*swig_obj
[1] ;
23714 if (!args
) SWIG_fail
;
23715 swig_obj
[0] = args
;
23716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23717 if (!SWIG_IsOK(res1
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= (int)((wxDC
const *)arg1
)->MaxX();
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_From_int(static_cast< int >(result
));
23734 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23735 PyObject
*resultobj
= 0;
23736 wxDC
*arg1
= (wxDC
*) 0 ;
23740 PyObject
*swig_obj
[1] ;
23742 if (!args
) SWIG_fail
;
23743 swig_obj
[0] = args
;
23744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23745 if (!SWIG_IsOK(res1
)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 result
= (int)((wxDC
const *)arg1
)->MinY();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= SWIG_From_int(static_cast< int >(result
));
23762 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23763 PyObject
*resultobj
= 0;
23764 wxDC
*arg1
= (wxDC
*) 0 ;
23768 PyObject
*swig_obj
[1] ;
23770 if (!args
) SWIG_fail
;
23771 swig_obj
[0] = args
;
23772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23773 if (!SWIG_IsOK(res1
)) {
23774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 result
= (int)((wxDC
const *)arg1
)->MaxY();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_From_int(static_cast< int >(result
));
23790 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23791 PyObject
*resultobj
= 0;
23792 wxDC
*arg1
= (wxDC
*) 0 ;
23793 int *arg2
= (int *) 0 ;
23794 int *arg3
= (int *) 0 ;
23795 int *arg4
= (int *) 0 ;
23796 int *arg5
= (int *) 0 ;
23800 int res2
= SWIG_TMPOBJ
;
23802 int res3
= SWIG_TMPOBJ
;
23804 int res4
= SWIG_TMPOBJ
;
23806 int res5
= SWIG_TMPOBJ
;
23807 PyObject
*swig_obj
[1] ;
23813 if (!args
) SWIG_fail
;
23814 swig_obj
[0] = args
;
23815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23816 if (!SWIG_IsOK(res1
)) {
23817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= SWIG_Py_Void();
23827 if (SWIG_IsTmpObj(res2
)) {
23828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23830 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23833 if (SWIG_IsTmpObj(res3
)) {
23834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23836 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23839 if (SWIG_IsTmpObj(res4
)) {
23840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23842 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23845 if (SWIG_IsTmpObj(res5
)) {
23846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23848 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23857 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23858 PyObject
*resultobj
= 0;
23859 wxDC
*arg1
= (wxDC
*) 0 ;
23860 wxLayoutDirection result
;
23863 PyObject
*swig_obj
[1] ;
23865 if (!args
) SWIG_fail
;
23866 swig_obj
[0] = args
;
23867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23868 if (!SWIG_IsOK(res1
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_From_int(static_cast< int >(result
));
23885 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23887 wxDC
*arg1
= (wxDC
*) 0 ;
23888 wxLayoutDirection arg2
;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 char * kwnames
[] = {
23896 (char *) "self",(char *) "dir", NULL
23899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23906 if (!SWIG_IsOK(ecode2
)) {
23907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23909 arg2
= static_cast< wxLayoutDirection
>(val2
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 (arg1
)->SetLayoutDirection(arg2
);
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= SWIG_Py_Void();
23923 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23924 PyObject
*resultobj
= 0;
23925 wxDC
*arg1
= (wxDC
*) 0 ;
23929 PyObject
*swig_obj
[1] ;
23931 if (!args
) SWIG_fail
;
23932 swig_obj
[0] = args
;
23933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23934 if (!SWIG_IsOK(res1
)) {
23935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (long)(arg1
)->GetHDC();
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= SWIG_From_long(static_cast< long >(result
));
23951 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
= 0;
23953 wxDC
*arg1
= (wxDC
*) 0 ;
23954 PyObject
*arg2
= (PyObject
*) 0 ;
23955 PyObject
*arg3
= (PyObject
*) 0 ;
23956 PyObject
*arg4
= (PyObject
*) 0 ;
23957 PyObject
*result
= 0 ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 PyObject
* obj2
= 0 ;
23963 PyObject
* obj3
= 0 ;
23964 char * kwnames
[] = {
23965 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23970 if (!SWIG_IsOK(res1
)) {
23971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= result
;
23990 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
= 0;
23992 wxDC
*arg1
= (wxDC
*) 0 ;
23993 PyObject
*arg2
= (PyObject
*) 0 ;
23994 PyObject
*arg3
= (PyObject
*) 0 ;
23995 PyObject
*arg4
= (PyObject
*) 0 ;
23996 PyObject
*result
= 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 PyObject
* obj2
= 0 ;
24002 PyObject
* obj3
= 0 ;
24003 char * kwnames
[] = {
24004 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24009 if (!SWIG_IsOK(res1
)) {
24010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= result
;
24029 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
= 0;
24031 wxDC
*arg1
= (wxDC
*) 0 ;
24032 PyObject
*arg2
= (PyObject
*) 0 ;
24033 PyObject
*arg3
= (PyObject
*) 0 ;
24034 PyObject
*arg4
= (PyObject
*) 0 ;
24035 PyObject
*result
= 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 PyObject
* obj2
= 0 ;
24041 PyObject
* obj3
= 0 ;
24042 char * kwnames
[] = {
24043 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24048 if (!SWIG_IsOK(res1
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= result
;
24068 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
= 0;
24070 wxDC
*arg1
= (wxDC
*) 0 ;
24071 PyObject
*arg2
= (PyObject
*) 0 ;
24072 PyObject
*arg3
= (PyObject
*) 0 ;
24073 PyObject
*arg4
= (PyObject
*) 0 ;
24074 PyObject
*result
= 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 PyObject
* obj2
= 0 ;
24080 PyObject
* obj3
= 0 ;
24081 char * kwnames
[] = {
24082 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24087 if (!SWIG_IsOK(res1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= result
;
24107 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
= 0;
24109 wxDC
*arg1
= (wxDC
*) 0 ;
24110 PyObject
*arg2
= (PyObject
*) 0 ;
24111 PyObject
*arg3
= (PyObject
*) 0 ;
24112 PyObject
*arg4
= (PyObject
*) 0 ;
24113 PyObject
*result
= 0 ;
24116 PyObject
* obj0
= 0 ;
24117 PyObject
* obj1
= 0 ;
24118 PyObject
* obj2
= 0 ;
24119 PyObject
* obj3
= 0 ;
24120 char * kwnames
[] = {
24121 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24126 if (!SWIG_IsOK(res1
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= result
;
24146 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
= 0;
24148 wxDC
*arg1
= (wxDC
*) 0 ;
24149 PyObject
*arg2
= (PyObject
*) 0 ;
24150 PyObject
*arg3
= (PyObject
*) 0 ;
24151 PyObject
*arg4
= (PyObject
*) 0 ;
24152 PyObject
*arg5
= (PyObject
*) 0 ;
24153 PyObject
*result
= 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 PyObject
* obj2
= 0 ;
24159 PyObject
* obj3
= 0 ;
24160 PyObject
* obj4
= 0 ;
24161 char * kwnames
[] = {
24162 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24167 if (!SWIG_IsOK(res1
)) {
24168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= result
;
24188 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24191 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24192 return SWIG_Py_Void();
24195 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
= 0;
24198 wxColour
*arg2
= 0 ;
24199 wxDCTextColourChanger
*result
= 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 char * kwnames
[] = {
24206 (char *) "dc",(char *) "col", NULL
24209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24210 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24211 if (!SWIG_IsOK(res1
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24235 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24236 PyObject
*resultobj
= 0;
24237 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24240 PyObject
*swig_obj
[1] ;
24242 if (!args
) SWIG_fail
;
24243 swig_obj
[0] = args
;
24244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24248 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_Py_Void();
24263 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24266 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24267 return SWIG_Py_Void();
24270 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24271 return SWIG_Python_InitShadowInstance(args
);
24274 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24278 wxDCPenChanger
*result
= 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char * kwnames
[] = {
24286 (char *) "dc",(char *) "pen", NULL
24289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24290 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24291 if (!SWIG_IsOK(res1
)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24299 if (!SWIG_IsOK(res2
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24305 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24319 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24320 PyObject
*resultobj
= 0;
24321 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24324 PyObject
*swig_obj
[1] ;
24326 if (!args
) SWIG_fail
;
24327 swig_obj
[0] = args
;
24328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24332 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= SWIG_Py_Void();
24347 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24350 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24351 return SWIG_Py_Void();
24354 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24355 return SWIG_Python_InitShadowInstance(args
);
24358 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
= 0;
24361 wxBrush
*arg2
= 0 ;
24362 wxDCBrushChanger
*result
= 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char * kwnames
[] = {
24370 (char *) "dc",(char *) "brush", NULL
24373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24374 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24375 if (!SWIG_IsOK(res1
)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24383 if (!SWIG_IsOK(res2
)) {
24384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24389 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24403 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24404 PyObject
*resultobj
= 0;
24405 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24408 PyObject
*swig_obj
[1] ;
24410 if (!args
) SWIG_fail
;
24411 swig_obj
[0] = args
;
24412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24413 if (!SWIG_IsOK(res1
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24416 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_Py_Void();
24431 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24434 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24435 return SWIG_Py_Void();
24438 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24439 return SWIG_Python_InitShadowInstance(args
);
24442 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24443 PyObject
*resultobj
= 0;
24445 wxRegion
*arg2
= 0 ;
24446 wxDCClipper
*result
= 0 ;
24452 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24454 if (!SWIG_IsOK(res1
)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24461 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24462 if (!SWIG_IsOK(res2
)) {
24463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24468 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24482 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24483 PyObject
*resultobj
= 0;
24486 wxDCClipper
*result
= 0 ;
24491 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24502 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24517 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24518 PyObject
*resultobj
= 0;
24524 wxDCClipper
*result
= 0 ;
24536 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24538 if (!SWIG_IsOK(res1
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24545 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24546 if (!SWIG_IsOK(ecode2
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24549 arg2
= static_cast< int >(val2
);
24550 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24551 if (!SWIG_IsOK(ecode3
)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24554 arg3
= static_cast< int >(val3
);
24555 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24556 if (!SWIG_IsOK(ecode4
)) {
24557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24559 arg4
= static_cast< int >(val4
);
24560 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24561 if (!SWIG_IsOK(ecode5
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24564 arg5
= static_cast< int >(val5
);
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24578 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24582 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24587 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24588 _v
= SWIG_CheckState(res
);
24590 if (!_v
) goto check_1
;
24591 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24596 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24599 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24603 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24608 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24609 PyObject
*resultobj
= 0;
24610 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24613 PyObject
*swig_obj
[1] ;
24615 if (!args
) SWIG_fail
;
24616 swig_obj
[0] = args
;
24617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24621 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= SWIG_Py_Void();
24636 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24639 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24640 return SWIG_Py_Void();
24643 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24644 return SWIG_Python_InitShadowInstance(args
);
24647 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24648 PyObject
*resultobj
= 0;
24649 wxScreenDC
*result
= 0 ;
24651 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24653 if (!wxPyCheckForApp()) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (wxScreenDC
*)new wxScreenDC();
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24666 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
= 0;
24668 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24669 wxWindow
*arg2
= (wxWindow
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 char * kwnames
[] = {
24678 (char *) "self",(char *) "window", NULL
24681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24683 if (!SWIG_IsOK(res1
)) {
24684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24686 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24688 if (!SWIG_IsOK(res2
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24707 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
= 0;
24709 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24710 wxRect
*arg2
= (wxRect
*) NULL
;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 char * kwnames
[] = {
24719 (char *) "self",(char *) "rect", NULL
24722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24724 if (!SWIG_IsOK(res1
)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24727 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24730 if (!SWIG_IsOK(res2
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24733 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24750 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24751 PyObject
*resultobj
= 0;
24752 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24756 PyObject
*swig_obj
[1] ;
24758 if (!args
) SWIG_fail
;
24759 swig_obj
[0] = args
;
24760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24761 if (!SWIG_IsOK(res1
)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24764 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (bool)(arg1
)->EndDrawingOnTop();
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24780 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24783 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24784 return SWIG_Py_Void();
24787 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24788 return SWIG_Python_InitShadowInstance(args
);
24791 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
= 0;
24793 wxWindow
*arg1
= (wxWindow
*) 0 ;
24794 wxWindowDC
*result
= 0 ;
24797 PyObject
* obj0
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "win", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24809 if (!wxPyCheckForApp()) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24822 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24825 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24826 return SWIG_Py_Void();
24829 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24830 return SWIG_Python_InitShadowInstance(args
);
24833 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
= 0;
24835 wxWindow
*arg1
= (wxWindow
*) 0 ;
24836 wxClientDC
*result
= 0 ;
24839 PyObject
* obj0
= 0 ;
24840 char * kwnames
[] = {
24841 (char *) "win", NULL
24844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24846 if (!SWIG_IsOK(res1
)) {
24847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24851 if (!wxPyCheckForApp()) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (wxClientDC
*)new wxClientDC(arg1
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24864 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24867 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24868 return SWIG_Py_Void();
24871 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24872 return SWIG_Python_InitShadowInstance(args
);
24875 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
= 0;
24877 wxWindow
*arg1
= (wxWindow
*) 0 ;
24878 wxPaintDC
*result
= 0 ;
24881 PyObject
* obj0
= 0 ;
24882 char * kwnames
[] = {
24883 (char *) "win", NULL
24886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24891 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24893 if (!wxPyCheckForApp()) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24906 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24909 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24910 return SWIG_Py_Void();
24913 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24914 return SWIG_Python_InitShadowInstance(args
);
24917 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
= 0;
24919 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24920 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24921 wxMemoryDC
*result
= 0 ;
24924 PyObject
* obj0
= 0 ;
24925 char * kwnames
[] = {
24926 (char *) "bitmap", NULL
24929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24931 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24938 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24941 if (!wxPyCheckForApp()) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24954 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
= 0;
24956 wxDC
*arg1
= (wxDC
*) 0 ;
24957 wxMemoryDC
*result
= 0 ;
24960 PyObject
* obj0
= 0 ;
24961 char * kwnames
[] = {
24962 (char *) "oldDC", NULL
24965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24972 if (!wxPyCheckForApp()) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24985 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
= 0;
24987 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24988 wxBitmap
*arg2
= 0 ;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 char * kwnames
[] = {
24996 (char *) "self",(char *) "bitmap", NULL
24999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25004 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25006 if (!SWIG_IsOK(res2
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25012 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 (arg1
)->SelectObject(*arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 resultobj
= SWIG_Py_Void();
25026 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
= 0;
25028 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25029 wxBitmap
*arg2
= 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char * kwnames
[] = {
25037 (char *) "self",(char *) "bmp", NULL
25040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25045 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25047 if (!SWIG_IsOK(res2
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25053 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= SWIG_Py_Void();
25067 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25070 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25071 return SWIG_Py_Void();
25074 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25075 return SWIG_Python_InitShadowInstance(args
);
25078 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25079 PyObject
*resultobj
= 0;
25080 wxDC
*arg1
= (wxDC
*) 0 ;
25081 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25082 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25083 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25084 wxBufferedDC
*result
= 0 ;
25092 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25094 if (!SWIG_IsOK(res1
)) {
25095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25099 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25100 if (!SWIG_IsOK(res2
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25106 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25109 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25110 if (!SWIG_IsOK(ecode3
)) {
25111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25113 arg3
= static_cast< int >(val3
);
25116 if (!wxPyCheckForApp()) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25129 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25130 PyObject
*resultobj
= 0;
25131 wxDC
*arg1
= (wxDC
*) 0 ;
25133 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25134 wxBufferedDC
*result
= 0 ;
25141 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25143 if (!SWIG_IsOK(res1
)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25149 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25152 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25153 if (!SWIG_IsOK(ecode3
)) {
25154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25156 arg3
= static_cast< int >(val3
);
25159 if (!wxPyCheckForApp()) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25172 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25176 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25178 if ((argc
>= 1) && (argc
<= 3)) {
25183 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25184 _v
= SWIG_CheckState(res
);
25186 if (!_v
) goto check_1
;
25188 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25192 if ((argc
>= 2) && (argc
<= 3)) {
25193 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25197 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25202 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25203 PyObject
*resultobj
= 0;
25204 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25207 PyObject
*swig_obj
[1] ;
25209 if (!args
) SWIG_fail
;
25210 swig_obj
[0] = args
;
25211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25212 if (!SWIG_IsOK(res1
)) {
25213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25215 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_Py_Void();
25230 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25231 PyObject
*resultobj
= 0;
25232 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25235 PyObject
*swig_obj
[1] ;
25237 if (!args
) SWIG_fail
;
25238 swig_obj
[0] = args
;
25239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25240 if (!SWIG_IsOK(res1
)) {
25241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25243 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 resultobj
= SWIG_Py_Void();
25257 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
= 0;
25259 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char * kwnames
[] = {
25268 (char *) "self",(char *) "style", NULL
25271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25273 if (!SWIG_IsOK(res1
)) {
25274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25276 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25278 if (!SWIG_IsOK(ecode2
)) {
25279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25281 arg2
= static_cast< int >(val2
);
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 (arg1
)->SetStyle(arg2
);
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_Py_Void();
25295 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25296 PyObject
*resultobj
= 0;
25297 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25301 PyObject
*swig_obj
[1] ;
25303 if (!args
) SWIG_fail
;
25304 swig_obj
[0] = args
;
25305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25309 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_From_int(static_cast< int >(result
));
25323 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25326 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25327 return SWIG_Py_Void();
25330 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25331 return SWIG_Python_InitShadowInstance(args
);
25334 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
= 0;
25336 wxWindow
*arg1
= (wxWindow
*) 0 ;
25337 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25338 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25339 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25340 wxBufferedPaintDC
*result
= 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 PyObject
* obj2
= 0 ;
25350 char * kwnames
[] = {
25351 (char *) "window",(char *) "buffer",(char *) "style", NULL
25354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25362 if (!SWIG_IsOK(res2
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25368 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25372 if (!SWIG_IsOK(ecode3
)) {
25373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25375 arg3
= static_cast< int >(val3
);
25378 if (!wxPyCheckForApp()) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25391 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25394 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25395 return SWIG_Py_Void();
25398 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25399 return SWIG_Python_InitShadowInstance(args
);
25402 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
= 0;
25404 wxWindow
*arg1
= (wxWindow
*) 0 ;
25405 wxAutoBufferedPaintDC
*result
= 0 ;
25408 PyObject
* obj0
= 0 ;
25409 char * kwnames
[] = {
25410 (char *) "win", NULL
25413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25415 if (!SWIG_IsOK(res1
)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25432 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25435 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25436 return SWIG_Py_Void();
25439 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 return SWIG_Python_InitShadowInstance(args
);
25443 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
= 0;
25445 wxWindow
*arg1
= (wxWindow
*) 0 ;
25449 PyObject
* obj0
= 0 ;
25450 char * kwnames
[] = {
25451 (char *) "window", NULL
25454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25456 if (!SWIG_IsOK(res1
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25459 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25475 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25479 wxMirrorDC
*result
= 0 ;
25484 PyObject
* obj0
= 0 ;
25485 PyObject
* obj1
= 0 ;
25486 char * kwnames
[] = {
25487 (char *) "dc",(char *) "mirror", NULL
25490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25491 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25499 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25500 if (!SWIG_IsOK(ecode2
)) {
25501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25503 arg2
= static_cast< bool >(val2
);
25505 if (!wxPyCheckForApp()) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25518 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25521 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25522 return SWIG_Py_Void();
25525 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 return SWIG_Python_InitShadowInstance(args
);
25529 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
= 0;
25531 wxPrintData
*arg1
= 0 ;
25532 wxPostScriptDC
*result
= 0 ;
25535 PyObject
* obj0
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "printData", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25548 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25550 if (!wxPyCheckForApp()) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25563 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25564 PyObject
*resultobj
= 0;
25565 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25566 wxPrintData
*result
= 0 ;
25569 PyObject
*swig_obj
[1] ;
25571 if (!args
) SWIG_fail
;
25572 swig_obj
[0] = args
;
25573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25574 if (!SWIG_IsOK(res1
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25577 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25582 result
= (wxPrintData
*) &_result_ref
;
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25594 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
= 0;
25596 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25597 wxPrintData
*arg2
= 0 ;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 char * kwnames
[] = {
25605 (char *) "self",(char *) "data", NULL
25608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25610 if (!SWIG_IsOK(res1
)) {
25611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25613 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25615 if (!SWIG_IsOK(res2
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25621 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_Py_Void();
25635 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
= 0;
25640 PyObject
* obj0
= 0 ;
25641 char * kwnames
[] = {
25642 (char *) "ppi", NULL
25645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25647 if (!SWIG_IsOK(ecode1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25650 arg1
= static_cast< int >(val1
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 wxPostScriptDC::SetResolution(arg1
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_Py_Void();
25664 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25665 PyObject
*resultobj
= 0;
25668 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (int)wxPostScriptDC::GetResolution();
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_From_int(static_cast< int >(result
));
25682 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25685 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25686 return SWIG_Py_Void();
25689 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25690 return SWIG_Python_InitShadowInstance(args
);
25693 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
= 0;
25695 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25696 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25697 wxMetaFile
*result
= 0 ;
25698 bool temp1
= false ;
25699 PyObject
* obj0
= 0 ;
25700 char * kwnames
[] = {
25701 (char *) "filename", NULL
25704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25707 arg1
= wxString_in_helper(obj0
);
25708 if (arg1
== NULL
) SWIG_fail
;
25713 if (!wxPyCheckForApp()) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25734 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25735 PyObject
*resultobj
= 0;
25736 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25747 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_Py_Void();
25762 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25763 PyObject
*resultobj
= 0;
25764 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25768 PyObject
*swig_obj
[1] ;
25770 if (!args
) SWIG_fail
;
25771 swig_obj
[0] = args
;
25772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25773 if (!SWIG_IsOK(res1
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25776 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (bool)(arg1
)->IsOk();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25792 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
= 0;
25794 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25795 int arg2
= (int) 0 ;
25796 int arg3
= (int) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 PyObject
* obj2
= 0 ;
25807 char * kwnames
[] = {
25808 (char *) "self",(char *) "width",(char *) "height", NULL
25811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25813 if (!SWIG_IsOK(res1
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25816 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25819 if (!SWIG_IsOK(ecode2
)) {
25820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25822 arg2
= static_cast< int >(val2
);
25825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25826 if (!SWIG_IsOK(ecode3
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25829 arg3
= static_cast< int >(val3
);
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25846 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25847 PyObject
*resultobj
= 0;
25848 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25852 PyObject
*swig_obj
[1] ;
25854 if (!args
) SWIG_fail
;
25855 swig_obj
[0] = args
;
25856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25857 if (!SWIG_IsOK(res1
)) {
25858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25860 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (arg1
)->GetSize();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25874 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 PyObject
*resultobj
= 0;
25876 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25880 PyObject
*swig_obj
[1] ;
25882 if (!args
) SWIG_fail
;
25883 swig_obj
[0] = args
;
25884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25888 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (int)(arg1
)->GetWidth();
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_From_int(static_cast< int >(result
));
25902 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25903 PyObject
*resultobj
= 0;
25904 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25908 PyObject
*swig_obj
[1] ;
25910 if (!args
) SWIG_fail
;
25911 swig_obj
[0] = args
;
25912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25916 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= (int)(arg1
)->GetHeight();
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_From_int(static_cast< int >(result
));
25930 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25931 PyObject
*resultobj
= 0;
25932 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25933 wxString
*result
= 0 ;
25936 PyObject
*swig_obj
[1] ;
25938 if (!args
) SWIG_fail
;
25939 swig_obj
[0] = args
;
25940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25941 if (!SWIG_IsOK(res1
)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25944 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25949 result
= (wxString
*) &_result_ref
;
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25958 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25967 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25970 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25971 return SWIG_Py_Void();
25974 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25975 return SWIG_Python_InitShadowInstance(args
);
25978 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
= 0;
25980 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25981 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25982 int arg2
= (int) 0 ;
25983 int arg3
= (int) 0 ;
25984 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25985 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25986 wxMetaFileDC
*result
= 0 ;
25987 bool temp1
= false ;
25992 bool temp4
= false ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 PyObject
* obj2
= 0 ;
25996 PyObject
* obj3
= 0 ;
25997 char * kwnames
[] = {
25998 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
26001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26004 arg1
= wxString_in_helper(obj0
);
26005 if (arg1
== NULL
) SWIG_fail
;
26010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26011 if (!SWIG_IsOK(ecode2
)) {
26012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26014 arg2
= static_cast< int >(val2
);
26017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26018 if (!SWIG_IsOK(ecode3
)) {
26019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26021 arg3
= static_cast< int >(val3
);
26025 arg4
= wxString_in_helper(obj3
);
26026 if (arg4
== NULL
) SWIG_fail
;
26031 if (!wxPyCheckForApp()) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26060 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26061 PyObject
*resultobj
= 0;
26062 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26063 wxMetaFile
*result
= 0 ;
26066 PyObject
*swig_obj
[1] ;
26068 if (!args
) SWIG_fail
;
26069 swig_obj
[0] = args
;
26070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26071 if (!SWIG_IsOK(res1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26074 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxMetaFile
*)(arg1
)->Close();
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26088 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26091 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26092 return SWIG_Py_Void();
26095 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26096 return SWIG_Python_InitShadowInstance(args
);
26099 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
= 0;
26101 wxPrintData
*arg1
= 0 ;
26102 wxPrinterDC
*result
= 0 ;
26105 PyObject
* obj0
= 0 ;
26106 char * kwnames
[] = {
26107 (char *) "printData", NULL
26110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26111 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26118 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26120 if (!wxPyCheckForApp()) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26133 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26136 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26137 return SWIG_Py_Void();
26140 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26141 return SWIG_Python_InitShadowInstance(args
);
26144 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
= 0;
26146 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26147 wxGraphicsObject
*result
= 0 ;
26150 PyObject
* obj0
= 0 ;
26151 char * kwnames
[] = {
26152 (char *) "renderer", NULL
26155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26158 if (!SWIG_IsOK(res1
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26161 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26164 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26174 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26175 PyObject
*resultobj
= 0;
26176 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26179 PyObject
*swig_obj
[1] ;
26181 if (!args
) SWIG_fail
;
26182 swig_obj
[0] = args
;
26183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26187 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 resultobj
= SWIG_Py_Void();
26200 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26201 PyObject
*resultobj
= 0;
26202 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26206 PyObject
*swig_obj
[1] ;
26208 if (!args
) SWIG_fail
;
26209 swig_obj
[0] = args
;
26210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26211 if (!SWIG_IsOK(res1
)) {
26212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26214 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26216 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26217 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26228 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26229 PyObject
*resultobj
= 0;
26230 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26231 wxGraphicsRenderer
*result
= 0 ;
26234 PyObject
*swig_obj
[1] ;
26236 if (!args
) SWIG_fail
;
26237 swig_obj
[0] = args
;
26238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26239 if (!SWIG_IsOK(res1
)) {
26240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26242 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26244 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26254 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26257 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26258 return SWIG_Py_Void();
26261 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26262 return SWIG_Python_InitShadowInstance(args
);
26265 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26266 PyObject
*resultobj
= 0;
26267 wxGraphicsPen
*result
= 0 ;
26269 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26271 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26281 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26282 PyObject
*resultobj
= 0;
26283 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26286 PyObject
*swig_obj
[1] ;
26288 if (!args
) SWIG_fail
;
26289 swig_obj
[0] = args
;
26290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26291 if (!SWIG_IsOK(res1
)) {
26292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26294 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_Py_Void();
26307 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26310 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26311 return SWIG_Py_Void();
26314 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26315 return SWIG_Python_InitShadowInstance(args
);
26318 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26319 PyObject
*resultobj
= 0;
26320 wxGraphicsBrush
*result
= 0 ;
26322 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26324 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26334 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26335 PyObject
*resultobj
= 0;
26336 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26339 PyObject
*swig_obj
[1] ;
26341 if (!args
) SWIG_fail
;
26342 swig_obj
[0] = args
;
26343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26347 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_Py_Void();
26360 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26363 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26364 return SWIG_Py_Void();
26367 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26368 return SWIG_Python_InitShadowInstance(args
);
26371 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26372 PyObject
*resultobj
= 0;
26373 wxGraphicsFont
*result
= 0 ;
26375 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26377 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26387 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26388 PyObject
*resultobj
= 0;
26389 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26392 PyObject
*swig_obj
[1] ;
26394 if (!args
) SWIG_fail
;
26395 swig_obj
[0] = args
;
26396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26397 if (!SWIG_IsOK(res1
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26400 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_Py_Void();
26413 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26416 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26417 return SWIG_Py_Void();
26420 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26421 return SWIG_Python_InitShadowInstance(args
);
26424 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26425 PyObject
*resultobj
= 0;
26426 wxGraphicsMatrix
*result
= 0 ;
26428 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26430 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26440 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26441 PyObject
*resultobj
= 0;
26442 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26445 PyObject
*swig_obj
[1] ;
26447 if (!args
) SWIG_fail
;
26448 swig_obj
[0] = args
;
26449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26450 if (!SWIG_IsOK(res1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26453 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_Py_Void();
26466 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
= 0;
26468 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26469 wxGraphicsMatrix
*arg2
= 0 ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 char * kwnames
[] = {
26477 (char *) "self",(char *) "t", NULL
26480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26485 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26487 if (!SWIG_IsOK(res2
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26493 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26495 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26498 resultobj
= SWIG_Py_Void();
26505 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
= 0;
26507 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26508 wxDouble arg2
= (wxDouble
) 1.0 ;
26509 wxDouble arg3
= (wxDouble
) 0.0 ;
26510 wxDouble arg4
= (wxDouble
) 0.0 ;
26511 wxDouble arg5
= (wxDouble
) 1.0 ;
26512 wxDouble arg6
= (wxDouble
) 0.0 ;
26513 wxDouble arg7
= (wxDouble
) 0.0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 PyObject
* obj2
= 0 ;
26531 PyObject
* obj3
= 0 ;
26532 PyObject
* obj4
= 0 ;
26533 PyObject
* obj5
= 0 ;
26534 PyObject
* obj6
= 0 ;
26535 char * kwnames
[] = {
26536 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26544 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26546 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26547 if (!SWIG_IsOK(ecode2
)) {
26548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26550 arg2
= static_cast< wxDouble
>(val2
);
26553 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26554 if (!SWIG_IsOK(ecode3
)) {
26555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26557 arg3
= static_cast< wxDouble
>(val3
);
26560 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26561 if (!SWIG_IsOK(ecode4
)) {
26562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26564 arg4
= static_cast< wxDouble
>(val4
);
26567 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26568 if (!SWIG_IsOK(ecode5
)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26571 arg5
= static_cast< wxDouble
>(val5
);
26574 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26575 if (!SWIG_IsOK(ecode6
)) {
26576 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26578 arg6
= static_cast< wxDouble
>(val6
);
26581 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26582 if (!SWIG_IsOK(ecode7
)) {
26583 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26585 arg7
= static_cast< wxDouble
>(val7
);
26588 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26599 PyObject
*resultobj
= 0;
26600 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26601 wxDouble
*arg2
= (wxDouble
*) 0 ;
26602 wxDouble
*arg3
= (wxDouble
*) 0 ;
26603 wxDouble
*arg4
= (wxDouble
*) 0 ;
26604 wxDouble
*arg5
= (wxDouble
*) 0 ;
26605 wxDouble
*arg6
= (wxDouble
*) 0 ;
26606 wxDouble
*arg7
= (wxDouble
*) 0 ;
26610 int res2
= SWIG_TMPOBJ
;
26612 int res3
= SWIG_TMPOBJ
;
26614 int res4
= SWIG_TMPOBJ
;
26616 int res5
= SWIG_TMPOBJ
;
26618 int res6
= SWIG_TMPOBJ
;
26620 int res7
= SWIG_TMPOBJ
;
26621 PyObject
*swig_obj
[1] ;
26629 if (!args
) SWIG_fail
;
26630 swig_obj
[0] = args
;
26631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26632 if (!SWIG_IsOK(res1
)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26635 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26637 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 resultobj
= SWIG_Py_Void();
26641 if (SWIG_IsTmpObj(res2
)) {
26642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26644 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26647 if (SWIG_IsTmpObj(res3
)) {
26648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26650 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26653 if (SWIG_IsTmpObj(res4
)) {
26654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26656 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26659 if (SWIG_IsTmpObj(res5
)) {
26660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26662 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26665 if (SWIG_IsTmpObj(res6
)) {
26666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26668 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26671 if (SWIG_IsTmpObj(res7
)) {
26672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26674 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26683 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26684 PyObject
*resultobj
= 0;
26685 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26688 PyObject
*swig_obj
[1] ;
26690 if (!args
) SWIG_fail
;
26691 swig_obj
[0] = args
;
26692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26693 if (!SWIG_IsOK(res1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26696 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_Py_Void();
26708 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
= 0;
26710 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26711 wxGraphicsMatrix
*arg2
= 0 ;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char * kwnames
[] = {
26720 (char *) "self",(char *) "t", NULL
26723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26728 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26730 if (!SWIG_IsOK(res2
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26736 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26738 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26750 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26751 PyObject
*resultobj
= 0;
26752 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26756 PyObject
*swig_obj
[1] ;
26758 if (!args
) SWIG_fail
;
26759 swig_obj
[0] = args
;
26760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26761 if (!SWIG_IsOK(res1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26764 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26766 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26767 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26778 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
= 0;
26780 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26789 PyObject
* obj0
= 0 ;
26790 PyObject
* obj1
= 0 ;
26791 PyObject
* obj2
= 0 ;
26792 char * kwnames
[] = {
26793 (char *) "self",(char *) "dx",(char *) "dy", NULL
26796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26798 if (!SWIG_IsOK(res1
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26801 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26802 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26803 if (!SWIG_IsOK(ecode2
)) {
26804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26806 arg2
= static_cast< wxDouble
>(val2
);
26807 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26808 if (!SWIG_IsOK(ecode3
)) {
26809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26811 arg3
= static_cast< wxDouble
>(val3
);
26813 (arg1
)->Translate(arg2
,arg3
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_Py_Void();
26823 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
= 0;
26825 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 PyObject
* obj2
= 0 ;
26837 char * kwnames
[] = {
26838 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26843 if (!SWIG_IsOK(res1
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26846 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26847 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26848 if (!SWIG_IsOK(ecode2
)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26851 arg2
= static_cast< wxDouble
>(val2
);
26852 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26853 if (!SWIG_IsOK(ecode3
)) {
26854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26856 arg3
= static_cast< wxDouble
>(val3
);
26858 (arg1
)->Scale(arg2
,arg3
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_Py_Void();
26868 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= 0;
26870 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char * kwnames
[] = {
26879 (char *) "self",(char *) "angle", NULL
26882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26887 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26888 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26889 if (!SWIG_IsOK(ecode2
)) {
26890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26892 arg2
= static_cast< wxDouble
>(val2
);
26894 (arg1
)->Rotate(arg2
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= SWIG_Py_Void();
26904 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
= 0;
26906 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26907 wxDouble
*arg2
= (wxDouble
*) 0 ;
26908 wxDouble
*arg3
= (wxDouble
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 PyObject
* obj2
= 0 ;
26918 char * kwnames
[] = {
26919 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26924 if (!SWIG_IsOK(res1
)) {
26925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26927 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26928 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26930 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26931 if (!SWIG_IsOK(ecode
)) {
26932 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26934 temp2
= static_cast< wxDouble
>(val
);
26936 res2
= SWIG_AddTmpMask(ecode
);
26938 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26940 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26941 if (!SWIG_IsOK(ecode
)) {
26942 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26944 temp3
= static_cast< wxDouble
>(val
);
26946 res3
= SWIG_AddTmpMask(ecode
);
26949 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_Py_Void();
26953 if (SWIG_IsTmpObj(res2
)) {
26954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26956 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26959 if (SWIG_IsTmpObj(res3
)) {
26960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26962 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26971 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
= 0;
26973 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26974 wxDouble
*arg2
= (wxDouble
*) 0 ;
26975 wxDouble
*arg3
= (wxDouble
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 PyObject
* obj2
= 0 ;
26985 char * kwnames
[] = {
26986 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26991 if (!SWIG_IsOK(res1
)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26994 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26995 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26997 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26998 if (!SWIG_IsOK(ecode
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
27001 temp2
= static_cast< wxDouble
>(val
);
27003 res2
= SWIG_AddTmpMask(ecode
);
27005 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27007 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27008 if (!SWIG_IsOK(ecode
)) {
27009 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27011 temp3
= static_cast< wxDouble
>(val
);
27013 res3
= SWIG_AddTmpMask(ecode
);
27016 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27019 resultobj
= SWIG_Py_Void();
27020 if (SWIG_IsTmpObj(res2
)) {
27021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27023 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27026 if (SWIG_IsTmpObj(res3
)) {
27027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27029 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27038 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27039 PyObject
*resultobj
= 0;
27040 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27044 PyObject
*swig_obj
[1] ;
27046 if (!args
) SWIG_fail
;
27047 swig_obj
[0] = args
;
27048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27052 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27054 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27064 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27067 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27068 return SWIG_Py_Void();
27071 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27072 return SWIG_Python_InitShadowInstance(args
);
27075 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27076 PyObject
*resultobj
= 0;
27077 wxGraphicsPath
*result
= 0 ;
27079 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
27081 if (!wxPyCheckForApp()) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= (wxGraphicsPath
*)new wxGraphicsPath();
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
27094 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27095 PyObject
*resultobj
= 0;
27096 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27099 PyObject
*swig_obj
[1] ;
27101 if (!args
) SWIG_fail
;
27102 swig_obj
[0] = args
;
27103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27107 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_Py_Void();
27120 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27121 PyObject
*resultobj
= 0;
27122 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27132 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27137 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27138 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27139 if (!SWIG_IsOK(ecode2
)) {
27140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27142 arg2
= static_cast< wxDouble
>(val2
);
27143 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27144 if (!SWIG_IsOK(ecode3
)) {
27145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27147 arg3
= static_cast< wxDouble
>(val3
);
27149 (arg1
)->MoveToPoint(arg2
,arg3
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_Py_Void();
27159 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27160 PyObject
*resultobj
= 0;
27161 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27162 wxPoint2D
*arg2
= 0 ;
27167 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27172 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27175 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27178 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= SWIG_Py_Void();
27188 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27192 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27195 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27198 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27202 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27207 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27208 PyObject
*resultobj
= 0;
27209 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27219 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27221 if (!SWIG_IsOK(res1
)) {
27222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27224 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27225 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27226 if (!SWIG_IsOK(ecode2
)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27229 arg2
= static_cast< wxDouble
>(val2
);
27230 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27231 if (!SWIG_IsOK(ecode3
)) {
27232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27234 arg3
= static_cast< wxDouble
>(val3
);
27236 (arg1
)->AddLineToPoint(arg2
,arg3
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_Py_Void();
27246 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27247 PyObject
*resultobj
= 0;
27248 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27249 wxPoint2D
*arg2
= 0 ;
27254 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27256 if (!SWIG_IsOK(res1
)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27259 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27262 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27265 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_Py_Void();
27275 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27279 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27282 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27285 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27289 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27294 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27295 PyObject
*resultobj
= 0;
27296 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27318 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27320 if (!SWIG_IsOK(res1
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27323 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27324 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27325 if (!SWIG_IsOK(ecode2
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27328 arg2
= static_cast< wxDouble
>(val2
);
27329 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27330 if (!SWIG_IsOK(ecode3
)) {
27331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27333 arg3
= static_cast< wxDouble
>(val3
);
27334 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27335 if (!SWIG_IsOK(ecode4
)) {
27336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27338 arg4
= static_cast< wxDouble
>(val4
);
27339 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27340 if (!SWIG_IsOK(ecode5
)) {
27341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27343 arg5
= static_cast< wxDouble
>(val5
);
27344 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27345 if (!SWIG_IsOK(ecode6
)) {
27346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27348 arg6
= static_cast< wxDouble
>(val6
);
27349 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27350 if (!SWIG_IsOK(ecode7
)) {
27351 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27353 arg7
= static_cast< wxDouble
>(val7
);
27355 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= SWIG_Py_Void();
27365 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27366 PyObject
*resultobj
= 0;
27367 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27368 wxPoint2D
*arg2
= 0 ;
27369 wxPoint2D
*arg3
= 0 ;
27370 wxPoint2D
*arg4
= 0 ;
27377 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27379 if (!SWIG_IsOK(res1
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27382 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27385 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27389 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27393 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27396 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= SWIG_Py_Void();
27406 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27410 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27413 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27416 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27420 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27425 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
= 0;
27427 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27428 wxGraphicsPath
*arg2
= 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 char * kwnames
[] = {
27436 (char *) "self",(char *) "path", NULL
27439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27441 if (!SWIG_IsOK(res1
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27444 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27446 if (!SWIG_IsOK(res2
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27452 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27454 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= SWIG_Py_Void();
27464 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27465 PyObject
*resultobj
= 0;
27466 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27469 PyObject
*swig_obj
[1] ;
27471 if (!args
) SWIG_fail
;
27472 swig_obj
[0] = args
;
27473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27474 if (!SWIG_IsOK(res1
)) {
27475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27477 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27479 (arg1
)->CloseSubpath();
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= SWIG_Py_Void();
27489 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27490 PyObject
*resultobj
= 0;
27491 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27495 PyObject
*swig_obj
[1] ;
27497 if (!args
) SWIG_fail
;
27498 swig_obj
[0] = args
;
27499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27500 if (!SWIG_IsOK(res1
)) {
27501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27503 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27505 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27515 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27516 PyObject
*resultobj
= 0;
27517 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27539 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27544 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27545 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27546 if (!SWIG_IsOK(ecode2
)) {
27547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27549 arg2
= static_cast< wxDouble
>(val2
);
27550 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27551 if (!SWIG_IsOK(ecode3
)) {
27552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27554 arg3
= static_cast< wxDouble
>(val3
);
27555 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27556 if (!SWIG_IsOK(ecode4
)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27559 arg4
= static_cast< wxDouble
>(val4
);
27560 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27561 if (!SWIG_IsOK(ecode5
)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27564 arg5
= static_cast< wxDouble
>(val5
);
27565 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27566 if (!SWIG_IsOK(ecode6
)) {
27567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27569 arg6
= static_cast< wxDouble
>(val6
);
27570 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27571 if (!SWIG_IsOK(ecode7
)) {
27572 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27574 arg7
= static_cast< bool >(val7
);
27576 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_Py_Void();
27586 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27587 PyObject
*resultobj
= 0;
27588 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27589 wxPoint2D
*arg2
= 0 ;
27606 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27608 if (!SWIG_IsOK(res1
)) {
27609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27611 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27614 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27616 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27617 if (!SWIG_IsOK(ecode3
)) {
27618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27620 arg3
= static_cast< wxDouble
>(val3
);
27621 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27622 if (!SWIG_IsOK(ecode4
)) {
27623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27625 arg4
= static_cast< wxDouble
>(val4
);
27626 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27627 if (!SWIG_IsOK(ecode5
)) {
27628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27630 arg5
= static_cast< wxDouble
>(val5
);
27631 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27632 if (!SWIG_IsOK(ecode6
)) {
27633 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27635 arg6
= static_cast< bool >(val6
);
27637 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= SWIG_Py_Void();
27647 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27651 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27654 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27657 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27661 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27666 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
= 0;
27668 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 PyObject
* obj2
= 0 ;
27686 PyObject
* obj3
= 0 ;
27687 PyObject
* obj4
= 0 ;
27688 char * kwnames
[] = {
27689 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27697 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27698 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27699 if (!SWIG_IsOK(ecode2
)) {
27700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27702 arg2
= static_cast< wxDouble
>(val2
);
27703 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27704 if (!SWIG_IsOK(ecode3
)) {
27705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27707 arg3
= static_cast< wxDouble
>(val3
);
27708 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27709 if (!SWIG_IsOK(ecode4
)) {
27710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27712 arg4
= static_cast< wxDouble
>(val4
);
27713 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27714 if (!SWIG_IsOK(ecode5
)) {
27715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27717 arg5
= static_cast< wxDouble
>(val5
);
27719 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_Py_Void();
27729 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
= 0;
27731 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27746 PyObject
* obj0
= 0 ;
27747 PyObject
* obj1
= 0 ;
27748 PyObject
* obj2
= 0 ;
27749 PyObject
* obj3
= 0 ;
27750 PyObject
* obj4
= 0 ;
27751 char * kwnames
[] = {
27752 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27760 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27761 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27762 if (!SWIG_IsOK(ecode2
)) {
27763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27765 arg2
= static_cast< wxDouble
>(val2
);
27766 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27767 if (!SWIG_IsOK(ecode3
)) {
27768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27770 arg3
= static_cast< wxDouble
>(val3
);
27771 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27772 if (!SWIG_IsOK(ecode4
)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27775 arg4
= static_cast< wxDouble
>(val4
);
27776 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27777 if (!SWIG_IsOK(ecode5
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27780 arg5
= static_cast< wxDouble
>(val5
);
27782 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= SWIG_Py_Void();
27792 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
= 0;
27794 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27806 PyObject
* obj0
= 0 ;
27807 PyObject
* obj1
= 0 ;
27808 PyObject
* obj2
= 0 ;
27809 PyObject
* obj3
= 0 ;
27810 char * kwnames
[] = {
27811 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27816 if (!SWIG_IsOK(res1
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27819 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27820 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27821 if (!SWIG_IsOK(ecode2
)) {
27822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27824 arg2
= static_cast< wxDouble
>(val2
);
27825 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27826 if (!SWIG_IsOK(ecode3
)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27829 arg3
= static_cast< wxDouble
>(val3
);
27830 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27831 if (!SWIG_IsOK(ecode4
)) {
27832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27834 arg4
= static_cast< wxDouble
>(val4
);
27836 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= SWIG_Py_Void();
27846 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
= 0;
27848 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27866 PyObject
* obj0
= 0 ;
27867 PyObject
* obj1
= 0 ;
27868 PyObject
* obj2
= 0 ;
27869 PyObject
* obj3
= 0 ;
27870 PyObject
* obj4
= 0 ;
27871 PyObject
* obj5
= 0 ;
27872 char * kwnames
[] = {
27873 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27878 if (!SWIG_IsOK(res1
)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27881 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27882 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27883 if (!SWIG_IsOK(ecode2
)) {
27884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27886 arg2
= static_cast< wxDouble
>(val2
);
27887 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27888 if (!SWIG_IsOK(ecode3
)) {
27889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27891 arg3
= static_cast< wxDouble
>(val3
);
27892 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27893 if (!SWIG_IsOK(ecode4
)) {
27894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27896 arg4
= static_cast< wxDouble
>(val4
);
27897 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27898 if (!SWIG_IsOK(ecode5
)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27901 arg5
= static_cast< wxDouble
>(val5
);
27902 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27903 if (!SWIG_IsOK(ecode6
)) {
27904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27906 arg6
= static_cast< wxDouble
>(val6
);
27908 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_Py_Void();
27918 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
= 0;
27920 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 PyObject
* obj2
= 0 ;
27938 PyObject
* obj3
= 0 ;
27939 PyObject
* obj4
= 0 ;
27940 char * kwnames
[] = {
27941 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27949 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27950 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27951 if (!SWIG_IsOK(ecode2
)) {
27952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27954 arg2
= static_cast< wxDouble
>(val2
);
27955 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27956 if (!SWIG_IsOK(ecode3
)) {
27957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27959 arg3
= static_cast< wxDouble
>(val3
);
27960 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27961 if (!SWIG_IsOK(ecode4
)) {
27962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27964 arg4
= static_cast< wxDouble
>(val4
);
27965 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27966 if (!SWIG_IsOK(ecode5
)) {
27967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27969 arg5
= static_cast< wxDouble
>(val5
);
27971 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27974 resultobj
= SWIG_Py_Void();
27981 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
= 0;
27983 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 PyObject
* obj2
= 0 ;
28004 PyObject
* obj3
= 0 ;
28005 PyObject
* obj4
= 0 ;
28006 PyObject
* obj5
= 0 ;
28007 char * kwnames
[] = {
28008 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
28011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28013 if (!SWIG_IsOK(res1
)) {
28014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28016 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28017 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28018 if (!SWIG_IsOK(ecode2
)) {
28019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28021 arg2
= static_cast< wxDouble
>(val2
);
28022 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28023 if (!SWIG_IsOK(ecode3
)) {
28024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28026 arg3
= static_cast< wxDouble
>(val3
);
28027 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28028 if (!SWIG_IsOK(ecode4
)) {
28029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28031 arg4
= static_cast< wxDouble
>(val4
);
28032 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28033 if (!SWIG_IsOK(ecode5
)) {
28034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28036 arg5
= static_cast< wxDouble
>(val5
);
28037 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28038 if (!SWIG_IsOK(ecode6
)) {
28039 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
28041 arg6
= static_cast< wxDouble
>(val6
);
28043 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= SWIG_Py_Void();
28053 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28054 PyObject
*resultobj
= 0;
28055 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28059 PyObject
*swig_obj
[1] ;
28061 if (!args
) SWIG_fail
;
28062 swig_obj
[0] = args
;
28063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28067 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28069 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
28070 if (PyErr_Occurred()) SWIG_fail
;
28072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28079 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28080 PyObject
*resultobj
= 0;
28081 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28082 void *arg2
= (void *) 0 ;
28086 PyObject
* obj0
= 0 ;
28087 PyObject
* obj1
= 0 ;
28088 char * kwnames
[] = {
28089 (char *) "self",(char *) "p", NULL
28092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28094 if (!SWIG_IsOK(res1
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28097 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28098 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28099 if (!SWIG_IsOK(res2
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28103 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= SWIG_Py_Void();
28113 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28114 PyObject
*resultobj
= 0;
28115 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28116 wxGraphicsMatrix
*arg2
= 0 ;
28121 PyObject
* obj0
= 0 ;
28122 PyObject
* obj1
= 0 ;
28123 char * kwnames
[] = {
28124 (char *) "self",(char *) "matrix", NULL
28127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28132 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28134 if (!SWIG_IsOK(res2
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28140 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28142 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28145 resultobj
= SWIG_Py_Void();
28152 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28153 PyObject
*resultobj
= 0;
28154 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28158 PyObject
*swig_obj
[1] ;
28160 if (!args
) SWIG_fail
;
28161 swig_obj
[0] = args
;
28162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28163 if (!SWIG_IsOK(res1
)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28166 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28168 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
28178 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28179 PyObject
*resultobj
= 0;
28180 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28183 int arg4
= (int) wxODDEVEN_RULE
;
28194 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28199 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28200 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28201 if (!SWIG_IsOK(ecode2
)) {
28202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28204 arg2
= static_cast< wxDouble
>(val2
);
28205 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28206 if (!SWIG_IsOK(ecode3
)) {
28207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28209 arg3
= static_cast< wxDouble
>(val3
);
28211 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28212 if (!SWIG_IsOK(ecode4
)) {
28213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28215 arg4
= static_cast< int >(val4
);
28218 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28230 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28231 PyObject
*resultobj
= 0;
28232 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28233 wxPoint2D
*arg2
= 0 ;
28234 int arg3
= (int) wxODDEVEN_RULE
;
28242 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28247 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28250 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28253 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28254 if (!SWIG_IsOK(ecode3
)) {
28255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28257 arg3
= static_cast< int >(val3
);
28260 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28272 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28276 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28278 if ((argc
>= 2) && (argc
<= 3)) {
28282 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28285 if (!_v
) goto check_1
;
28289 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28290 _v
= SWIG_CheckState(res
);
28293 if (!_v
) goto check_1
;
28295 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28299 if ((argc
>= 3) && (argc
<= 4)) {
28300 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28304 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28309 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28312 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28313 return SWIG_Py_Void();
28316 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28317 return SWIG_Python_InitShadowInstance(args
);
28320 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28321 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28326 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28327 PyObject
*pyobj
= 0;
28329 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28334 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28335 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28340 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28341 PyObject
*pyobj
= 0;
28343 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28348 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28349 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28354 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28355 PyObject
*pyobj
= 0;
28357 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28362 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28363 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28368 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28369 PyObject
*pyobj
= 0;
28371 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28376 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28377 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28382 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28383 PyObject
*pyobj
= 0;
28385 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28390 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28391 PyObject
*resultobj
= 0;
28392 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28395 PyObject
*swig_obj
[1] ;
28397 if (!args
) SWIG_fail
;
28398 swig_obj
[0] = args
;
28399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28400 if (!SWIG_IsOK(res1
)) {
28401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28403 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_Py_Void();
28416 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28417 PyObject
*resultobj
= 0;
28418 wxWindowDC
*arg1
= 0 ;
28419 wxGraphicsContext
*result
= 0 ;
28423 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28431 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28433 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28443 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28444 PyObject
*resultobj
= 0;
28445 wxWindow
*arg1
= (wxWindow
*) 0 ;
28446 wxGraphicsContext
*result
= 0 ;
28450 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28457 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28467 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28471 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28476 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28477 _v
= SWIG_CheckState(res
);
28479 if (!_v
) goto check_1
;
28480 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28485 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28489 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28494 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28495 PyObject
*resultobj
= 0;
28496 wxGraphicsContext
*result
= 0 ;
28498 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28500 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28510 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
= 0;
28512 void *arg1
= (void *) 0 ;
28513 wxGraphicsContext
*result
= 0 ;
28515 PyObject
* obj0
= 0 ;
28516 char * kwnames
[] = {
28517 (char *) "context", NULL
28520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28521 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28522 if (!SWIG_IsOK(res1
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28526 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28536 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
= 0;
28538 void *arg1
= (void *) 0 ;
28539 wxGraphicsContext
*result
= 0 ;
28541 PyObject
* obj0
= 0 ;
28542 char * kwnames
[] = {
28543 (char *) "window", NULL
28546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28547 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28552 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28562 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28563 PyObject
*resultobj
= 0;
28564 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28565 wxGraphicsPath result
;
28568 PyObject
*swig_obj
[1] ;
28570 if (!args
) SWIG_fail
;
28571 swig_obj
[0] = args
;
28572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28573 if (!SWIG_IsOK(res1
)) {
28574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28576 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28578 result
= (arg1
)->CreatePath();
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28588 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28589 PyObject
*resultobj
= 0;
28590 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28592 wxGraphicsPen result
;
28597 PyObject
* obj0
= 0 ;
28598 PyObject
* obj1
= 0 ;
28599 char * kwnames
[] = {
28600 (char *) "self",(char *) "pen", NULL
28603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28605 if (!SWIG_IsOK(res1
)) {
28606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28608 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28610 if (!SWIG_IsOK(res2
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28616 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28618 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28628 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
= 0;
28630 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28631 wxBrush
*arg2
= 0 ;
28632 wxGraphicsBrush result
;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 char * kwnames
[] = {
28640 (char *) "self",(char *) "brush", NULL
28643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28648 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28650 if (!SWIG_IsOK(res2
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28656 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28658 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28668 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28669 PyObject
*resultobj
= 0;
28670 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28675 wxColour
*arg6
= 0 ;
28676 wxColour
*arg7
= 0 ;
28677 wxGraphicsBrush result
;
28690 PyObject
* obj0
= 0 ;
28691 PyObject
* obj1
= 0 ;
28692 PyObject
* obj2
= 0 ;
28693 PyObject
* obj3
= 0 ;
28694 PyObject
* obj4
= 0 ;
28695 PyObject
* obj5
= 0 ;
28696 PyObject
* obj6
= 0 ;
28697 char * kwnames
[] = {
28698 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28703 if (!SWIG_IsOK(res1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28706 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28707 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28708 if (!SWIG_IsOK(ecode2
)) {
28709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28711 arg2
= static_cast< wxDouble
>(val2
);
28712 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28713 if (!SWIG_IsOK(ecode3
)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28716 arg3
= static_cast< wxDouble
>(val3
);
28717 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28718 if (!SWIG_IsOK(ecode4
)) {
28719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28721 arg4
= static_cast< wxDouble
>(val4
);
28722 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28723 if (!SWIG_IsOK(ecode5
)) {
28724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28726 arg5
= static_cast< wxDouble
>(val5
);
28729 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28733 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28736 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28746 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
= 0;
28748 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28754 wxColour
*arg7
= 0 ;
28755 wxColour
*arg8
= 0 ;
28756 wxGraphicsBrush result
;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 PyObject
* obj2
= 0 ;
28774 PyObject
* obj3
= 0 ;
28775 PyObject
* obj4
= 0 ;
28776 PyObject
* obj5
= 0 ;
28777 PyObject
* obj6
= 0 ;
28778 PyObject
* obj7
= 0 ;
28779 char * kwnames
[] = {
28780 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28785 if (!SWIG_IsOK(res1
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28788 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28789 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28790 if (!SWIG_IsOK(ecode2
)) {
28791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28793 arg2
= static_cast< wxDouble
>(val2
);
28794 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28795 if (!SWIG_IsOK(ecode3
)) {
28796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28798 arg3
= static_cast< wxDouble
>(val3
);
28799 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28800 if (!SWIG_IsOK(ecode4
)) {
28801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28803 arg4
= static_cast< wxDouble
>(val4
);
28804 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28805 if (!SWIG_IsOK(ecode5
)) {
28806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28808 arg5
= static_cast< wxDouble
>(val5
);
28809 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28810 if (!SWIG_IsOK(ecode6
)) {
28811 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28813 arg6
= static_cast< wxDouble
>(val6
);
28816 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28820 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28823 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28833 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
= 0;
28835 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28837 wxColour
const &arg3_defvalue
= *wxBLACK
;
28838 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28839 wxGraphicsFont result
;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 PyObject
* obj2
= 0 ;
28848 char * kwnames
[] = {
28849 (char *) "self",(char *) "font",(char *) "col", NULL
28852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28854 if (!SWIG_IsOK(res1
)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28857 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28859 if (!SWIG_IsOK(res2
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28865 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28869 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28873 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28883 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
= 0;
28885 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28886 wxDouble arg2
= (wxDouble
) 1.0 ;
28887 wxDouble arg3
= (wxDouble
) 0.0 ;
28888 wxDouble arg4
= (wxDouble
) 0.0 ;
28889 wxDouble arg5
= (wxDouble
) 1.0 ;
28890 wxDouble arg6
= (wxDouble
) 0.0 ;
28891 wxDouble arg7
= (wxDouble
) 0.0 ;
28892 wxGraphicsMatrix result
;
28907 PyObject
* obj0
= 0 ;
28908 PyObject
* obj1
= 0 ;
28909 PyObject
* obj2
= 0 ;
28910 PyObject
* obj3
= 0 ;
28911 PyObject
* obj4
= 0 ;
28912 PyObject
* obj5
= 0 ;
28913 PyObject
* obj6
= 0 ;
28914 char * kwnames
[] = {
28915 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28920 if (!SWIG_IsOK(res1
)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28923 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28925 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28926 if (!SWIG_IsOK(ecode2
)) {
28927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28929 arg2
= static_cast< wxDouble
>(val2
);
28932 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28933 if (!SWIG_IsOK(ecode3
)) {
28934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28936 arg3
= static_cast< wxDouble
>(val3
);
28939 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28940 if (!SWIG_IsOK(ecode4
)) {
28941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28943 arg4
= static_cast< wxDouble
>(val4
);
28946 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28947 if (!SWIG_IsOK(ecode5
)) {
28948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28950 arg5
= static_cast< wxDouble
>(val5
);
28953 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28954 if (!SWIG_IsOK(ecode6
)) {
28955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28957 arg6
= static_cast< wxDouble
>(val6
);
28960 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28961 if (!SWIG_IsOK(ecode7
)) {
28962 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28964 arg7
= static_cast< wxDouble
>(val7
);
28967 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28977 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28978 PyObject
*resultobj
= 0;
28979 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28982 PyObject
*swig_obj
[1] ;
28984 if (!args
) SWIG_fail
;
28985 swig_obj
[0] = args
;
28986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28987 if (!SWIG_IsOK(res1
)) {
28988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28990 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28992 (arg1
)->PushState();
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_Py_Void();
29002 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29003 PyObject
*resultobj
= 0;
29004 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29007 PyObject
*swig_obj
[1] ;
29009 if (!args
) SWIG_fail
;
29010 swig_obj
[0] = args
;
29011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29012 if (!SWIG_IsOK(res1
)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29015 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29017 (arg1
)->PopState();
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 resultobj
= SWIG_Py_Void();
29027 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
= 0;
29029 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29030 wxRegion
*arg2
= 0 ;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 char * kwnames
[] = {
29038 (char *) "self",(char *) "region", NULL
29041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29043 if (!SWIG_IsOK(res1
)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29046 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
29048 if (!SWIG_IsOK(res2
)) {
29049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29054 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
29056 (arg1
)->Clip((wxRegion
const &)*arg2
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= SWIG_Py_Void();
29066 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
= 0;
29068 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 PyObject
* obj2
= 0 ;
29086 PyObject
* obj3
= 0 ;
29087 PyObject
* obj4
= 0 ;
29088 char * kwnames
[] = {
29089 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29094 if (!SWIG_IsOK(res1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29097 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29098 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29099 if (!SWIG_IsOK(ecode2
)) {
29100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29102 arg2
= static_cast< wxDouble
>(val2
);
29103 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29104 if (!SWIG_IsOK(ecode3
)) {
29105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29107 arg3
= static_cast< wxDouble
>(val3
);
29108 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29109 if (!SWIG_IsOK(ecode4
)) {
29110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29112 arg4
= static_cast< wxDouble
>(val4
);
29113 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29114 if (!SWIG_IsOK(ecode5
)) {
29115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29117 arg5
= static_cast< wxDouble
>(val5
);
29119 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= SWIG_Py_Void();
29129 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29130 PyObject
*resultobj
= 0;
29131 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29134 PyObject
*swig_obj
[1] ;
29136 if (!args
) SWIG_fail
;
29137 swig_obj
[0] = args
;
29138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29139 if (!SWIG_IsOK(res1
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29142 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29144 (arg1
)->ResetClip();
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= SWIG_Py_Void();
29154 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29155 PyObject
*resultobj
= 0;
29156 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29160 PyObject
*swig_obj
[1] ;
29162 if (!args
) SWIG_fail
;
29163 swig_obj
[0] = args
;
29164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29165 if (!SWIG_IsOK(res1
)) {
29166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29168 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29170 result
= (void *)(arg1
)->GetNativeContext();
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29180 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29181 PyObject
*resultobj
= 0;
29182 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29186 PyObject
*swig_obj
[1] ;
29188 if (!args
) SWIG_fail
;
29189 swig_obj
[0] = args
;
29190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29191 if (!SWIG_IsOK(res1
)) {
29192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29194 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29196 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 resultobj
= SWIG_From_int(static_cast< int >(result
));
29206 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
= 0;
29208 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29215 PyObject
* obj0
= 0 ;
29216 PyObject
* obj1
= 0 ;
29217 char * kwnames
[] = {
29218 (char *) "self",(char *) "function", NULL
29221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29223 if (!SWIG_IsOK(res1
)) {
29224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29226 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29228 if (!SWIG_IsOK(ecode2
)) {
29229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
29231 arg2
= static_cast< int >(val2
);
29233 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
29234 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29245 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
= 0;
29247 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 PyObject
* obj2
= 0 ;
29259 char * kwnames
[] = {
29260 (char *) "self",(char *) "dx",(char *) "dy", NULL
29263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29265 if (!SWIG_IsOK(res1
)) {
29266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29268 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29269 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29270 if (!SWIG_IsOK(ecode2
)) {
29271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29273 arg2
= static_cast< wxDouble
>(val2
);
29274 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29275 if (!SWIG_IsOK(ecode3
)) {
29276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29278 arg3
= static_cast< wxDouble
>(val3
);
29280 (arg1
)->Translate(arg2
,arg3
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29283 resultobj
= SWIG_Py_Void();
29290 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
= 0;
29292 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29301 PyObject
* obj0
= 0 ;
29302 PyObject
* obj1
= 0 ;
29303 PyObject
* obj2
= 0 ;
29304 char * kwnames
[] = {
29305 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29313 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29314 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29315 if (!SWIG_IsOK(ecode2
)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29318 arg2
= static_cast< wxDouble
>(val2
);
29319 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29320 if (!SWIG_IsOK(ecode3
)) {
29321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29323 arg3
= static_cast< wxDouble
>(val3
);
29325 (arg1
)->Scale(arg2
,arg3
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= SWIG_Py_Void();
29335 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
= 0;
29337 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29343 PyObject
* obj0
= 0 ;
29344 PyObject
* obj1
= 0 ;
29345 char * kwnames
[] = {
29346 (char *) "self",(char *) "angle", NULL
29349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29351 if (!SWIG_IsOK(res1
)) {
29352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29354 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29355 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29356 if (!SWIG_IsOK(ecode2
)) {
29357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29359 arg2
= static_cast< wxDouble
>(val2
);
29361 (arg1
)->Rotate(arg2
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_Py_Void();
29371 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
= 0;
29373 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29374 wxGraphicsMatrix
*arg2
= 0 ;
29379 PyObject
* obj0
= 0 ;
29380 PyObject
* obj1
= 0 ;
29381 char * kwnames
[] = {
29382 (char *) "self",(char *) "matrix", NULL
29385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29387 if (!SWIG_IsOK(res1
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29390 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29392 if (!SWIG_IsOK(res2
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29398 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29400 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= SWIG_Py_Void();
29410 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
= 0;
29412 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29413 wxGraphicsMatrix
*arg2
= 0 ;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 char * kwnames
[] = {
29421 (char *) "self",(char *) "matrix", NULL
29424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29426 if (!SWIG_IsOK(res1
)) {
29427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29429 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29431 if (!SWIG_IsOK(res2
)) {
29432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29437 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29439 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= SWIG_Py_Void();
29449 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29450 PyObject
*resultobj
= 0;
29451 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29452 wxGraphicsMatrix result
;
29455 PyObject
*swig_obj
[1] ;
29457 if (!args
) SWIG_fail
;
29458 swig_obj
[0] = args
;
29459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29460 if (!SWIG_IsOK(res1
)) {
29461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29463 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29465 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29475 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29476 PyObject
*resultobj
= 0;
29477 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29478 wxGraphicsPen
*arg2
= 0 ;
29484 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29486 if (!SWIG_IsOK(res1
)) {
29487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29489 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29490 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29491 if (!SWIG_IsOK(res2
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29497 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29499 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_Py_Void();
29509 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29510 PyObject
*resultobj
= 0;
29511 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29518 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29520 if (!SWIG_IsOK(res1
)) {
29521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29523 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29524 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29525 if (!SWIG_IsOK(res2
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29531 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29533 (arg1
)->SetPen((wxPen
const &)*arg2
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= SWIG_Py_Void();
29543 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29547 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29552 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29553 _v
= SWIG_CheckState(res
);
29555 if (!_v
) goto check_1
;
29556 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29561 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29565 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29570 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29571 PyObject
*resultobj
= 0;
29572 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29573 wxGraphicsBrush
*arg2
= 0 ;
29579 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29581 if (!SWIG_IsOK(res1
)) {
29582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29584 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29585 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29586 if (!SWIG_IsOK(res2
)) {
29587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29592 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29594 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= SWIG_Py_Void();
29604 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29605 PyObject
*resultobj
= 0;
29606 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29607 wxBrush
*arg2
= 0 ;
29613 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29615 if (!SWIG_IsOK(res1
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29618 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29619 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29620 if (!SWIG_IsOK(res2
)) {
29621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29626 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29628 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29631 resultobj
= SWIG_Py_Void();
29638 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29642 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29647 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29648 _v
= SWIG_CheckState(res
);
29650 if (!_v
) goto check_1
;
29651 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29656 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29660 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29665 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29666 PyObject
*resultobj
= 0;
29667 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29668 wxGraphicsFont
*arg2
= 0 ;
29674 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29679 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29680 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29681 if (!SWIG_IsOK(res2
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29687 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29689 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29692 resultobj
= SWIG_Py_Void();
29699 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29700 PyObject
*resultobj
= 0;
29701 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29703 wxColour
const &arg3_defvalue
= *wxBLACK
;
29704 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29711 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29713 if (!SWIG_IsOK(res1
)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29716 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29717 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29718 if (!SWIG_IsOK(res2
)) {
29719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29724 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29728 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29732 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= SWIG_Py_Void();
29742 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29746 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29751 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29752 _v
= SWIG_CheckState(res
);
29754 if (!_v
) goto check_1
;
29755 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29759 if ((argc
>= 2) && (argc
<= 3)) {
29760 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29764 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29769 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
= 0;
29771 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29772 wxGraphicsPath
*arg2
= 0 ;
29777 PyObject
* obj0
= 0 ;
29778 PyObject
* obj1
= 0 ;
29779 char * kwnames
[] = {
29780 (char *) "self",(char *) "path", NULL
29783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29785 if (!SWIG_IsOK(res1
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29788 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29789 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29790 if (!SWIG_IsOK(res2
)) {
29791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29796 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29798 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 resultobj
= SWIG_Py_Void();
29808 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
= 0;
29810 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29811 wxGraphicsPath
*arg2
= 0 ;
29812 int arg3
= (int) wxODDEVEN_RULE
;
29819 PyObject
* obj0
= 0 ;
29820 PyObject
* obj1
= 0 ;
29821 PyObject
* obj2
= 0 ;
29822 char * kwnames
[] = {
29823 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29831 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29833 if (!SWIG_IsOK(res2
)) {
29834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29839 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29842 if (!SWIG_IsOK(ecode3
)) {
29843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29845 arg3
= static_cast< int >(val3
);
29848 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_Py_Void();
29858 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
= 0;
29860 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29861 wxGraphicsPath
*arg2
= 0 ;
29862 int arg3
= (int) wxODDEVEN_RULE
;
29869 PyObject
* obj0
= 0 ;
29870 PyObject
* obj1
= 0 ;
29871 PyObject
* obj2
= 0 ;
29872 char * kwnames
[] = {
29873 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29881 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29883 if (!SWIG_IsOK(res2
)) {
29884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29889 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29892 if (!SWIG_IsOK(ecode3
)) {
29893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29895 arg3
= static_cast< int >(val3
);
29898 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= SWIG_Py_Void();
29908 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
= 0;
29910 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29911 wxString
*arg2
= 0 ;
29914 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29915 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29918 bool temp2
= false ;
29925 PyObject
* obj0
= 0 ;
29926 PyObject
* obj1
= 0 ;
29927 PyObject
* obj2
= 0 ;
29928 PyObject
* obj3
= 0 ;
29929 PyObject
* obj4
= 0 ;
29930 char * kwnames
[] = {
29931 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29936 if (!SWIG_IsOK(res1
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29939 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29941 arg2
= wxString_in_helper(obj1
);
29942 if (arg2
== NULL
) SWIG_fail
;
29945 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29946 if (!SWIG_IsOK(ecode3
)) {
29947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29949 arg3
= static_cast< wxDouble
>(val3
);
29950 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29951 if (!SWIG_IsOK(ecode4
)) {
29952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29954 arg4
= static_cast< wxDouble
>(val4
);
29956 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29957 if (!SWIG_IsOK(res5
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29963 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29966 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29969 resultobj
= SWIG_Py_Void();
29984 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
= 0;
29986 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29987 wxString
*arg2
= 0 ;
29991 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29992 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29995 bool temp2
= false ;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 PyObject
* obj2
= 0 ;
30007 PyObject
* obj3
= 0 ;
30008 PyObject
* obj4
= 0 ;
30009 PyObject
* obj5
= 0 ;
30010 char * kwnames
[] = {
30011 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
30014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30016 if (!SWIG_IsOK(res1
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30019 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30021 arg2
= wxString_in_helper(obj1
);
30022 if (arg2
== NULL
) SWIG_fail
;
30025 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30026 if (!SWIG_IsOK(ecode3
)) {
30027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
30029 arg3
= static_cast< wxDouble
>(val3
);
30030 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30031 if (!SWIG_IsOK(ecode4
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
30034 arg4
= static_cast< wxDouble
>(val4
);
30035 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30036 if (!SWIG_IsOK(ecode5
)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
30039 arg5
= static_cast< wxDouble
>(val5
);
30041 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30042 if (!SWIG_IsOK(res6
)) {
30043 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30048 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
30051 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= SWIG_Py_Void();
30069 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
= 0;
30071 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30072 wxString
*arg2
= 0 ;
30073 wxDouble
*arg3
= (wxDouble
*) 0 ;
30074 wxDouble
*arg4
= (wxDouble
*) 0 ;
30075 wxDouble
*arg5
= (wxDouble
*) 0 ;
30076 wxDouble
*arg6
= (wxDouble
*) 0 ;
30079 bool temp2
= false ;
30081 int res3
= SWIG_TMPOBJ
;
30083 int res4
= SWIG_TMPOBJ
;
30085 int res5
= SWIG_TMPOBJ
;
30087 int res6
= SWIG_TMPOBJ
;
30088 PyObject
* obj0
= 0 ;
30089 PyObject
* obj1
= 0 ;
30090 char * kwnames
[] = {
30091 (char *) "self",(char *) "text", NULL
30098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30100 if (!SWIG_IsOK(res1
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30103 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30105 arg2
= wxString_in_helper(obj1
);
30106 if (arg2
== NULL
) SWIG_fail
;
30110 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_Py_Void();
30114 if (SWIG_IsTmpObj(res3
)) {
30115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
30117 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
30120 if (SWIG_IsTmpObj(res4
)) {
30121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
30123 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
30126 if (SWIG_IsTmpObj(res5
)) {
30127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
30129 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
30132 if (SWIG_IsTmpObj(res6
)) {
30133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
30135 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30152 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
= 0;
30154 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30155 wxString
*arg2
= 0 ;
30156 PyObject
*result
= 0 ;
30159 bool temp2
= false ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 char * kwnames
[] = {
30163 (char *) "self",(char *) "text", NULL
30166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30168 if (!SWIG_IsOK(res1
)) {
30169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30171 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30173 arg2
= wxString_in_helper(obj1
);
30174 if (arg2
== NULL
) SWIG_fail
;
30178 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 resultobj
= result
;
30196 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
= 0;
30198 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30199 wxString
*arg2
= 0 ;
30200 wxArrayDouble result
;
30203 bool temp2
= false ;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 char * kwnames
[] = {
30207 (char *) "self",(char *) "text", NULL
30210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30212 if (!SWIG_IsOK(res1
)) {
30213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30215 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30217 arg2
= wxString_in_helper(obj1
);
30218 if (arg2
== NULL
) SWIG_fail
;
30222 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= wxArrayDouble2PyList_helper(result
);
30242 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30243 PyObject
*resultobj
= 0;
30244 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30245 wxBitmap
*arg2
= 0 ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 PyObject
* obj2
= 0 ;
30265 PyObject
* obj3
= 0 ;
30266 PyObject
* obj4
= 0 ;
30267 PyObject
* obj5
= 0 ;
30268 char * kwnames
[] = {
30269 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30274 if (!SWIG_IsOK(res1
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30277 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30279 if (!SWIG_IsOK(res2
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30285 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30286 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30287 if (!SWIG_IsOK(ecode3
)) {
30288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30290 arg3
= static_cast< wxDouble
>(val3
);
30291 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30292 if (!SWIG_IsOK(ecode4
)) {
30293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30295 arg4
= static_cast< wxDouble
>(val4
);
30296 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30297 if (!SWIG_IsOK(ecode5
)) {
30298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30300 arg5
= static_cast< wxDouble
>(val5
);
30301 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30302 if (!SWIG_IsOK(ecode6
)) {
30303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30305 arg6
= static_cast< wxDouble
>(val6
);
30307 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= SWIG_Py_Void();
30317 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
= 0;
30319 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 PyObject
* obj2
= 0 ;
30340 PyObject
* obj3
= 0 ;
30341 PyObject
* obj4
= 0 ;
30342 PyObject
* obj5
= 0 ;
30343 char * kwnames
[] = {
30344 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30349 if (!SWIG_IsOK(res1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30352 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30354 if (!SWIG_IsOK(res2
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30360 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30361 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30362 if (!SWIG_IsOK(ecode3
)) {
30363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30365 arg3
= static_cast< wxDouble
>(val3
);
30366 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30367 if (!SWIG_IsOK(ecode4
)) {
30368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30370 arg4
= static_cast< wxDouble
>(val4
);
30371 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30372 if (!SWIG_IsOK(ecode5
)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30375 arg5
= static_cast< wxDouble
>(val5
);
30376 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30377 if (!SWIG_IsOK(ecode6
)) {
30378 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30380 arg6
= static_cast< wxDouble
>(val6
);
30382 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30385 resultobj
= SWIG_Py_Void();
30392 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30393 PyObject
*resultobj
= 0;
30394 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 PyObject
* obj2
= 0 ;
30412 PyObject
* obj3
= 0 ;
30413 PyObject
* obj4
= 0 ;
30414 char * kwnames
[] = {
30415 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30420 if (!SWIG_IsOK(res1
)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30423 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30424 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30425 if (!SWIG_IsOK(ecode2
)) {
30426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30428 arg2
= static_cast< wxDouble
>(val2
);
30429 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30430 if (!SWIG_IsOK(ecode3
)) {
30431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30433 arg3
= static_cast< wxDouble
>(val3
);
30434 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30435 if (!SWIG_IsOK(ecode4
)) {
30436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30438 arg4
= static_cast< wxDouble
>(val4
);
30439 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30440 if (!SWIG_IsOK(ecode5
)) {
30441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30443 arg5
= static_cast< wxDouble
>(val5
);
30445 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30448 resultobj
= SWIG_Py_Void();
30455 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
= 0;
30457 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30459 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 char * kwnames
[] = {
30465 (char *) "self",(char *) "points", NULL
30468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30470 if (!SWIG_IsOK(res1
)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30473 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30475 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30476 if (arg3
== NULL
) SWIG_fail
;
30479 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= SWIG_Py_Void();
30484 if (arg3
) delete [] arg3
;
30489 if (arg3
) delete [] arg3
;
30495 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
= 0;
30497 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30498 PyObject
*arg2
= (PyObject
*) 0 ;
30499 PyObject
*arg3
= (PyObject
*) 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 PyObject
* obj2
= 0 ;
30505 char * kwnames
[] = {
30506 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30514 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30518 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_Py_Void();
30528 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= 0;
30530 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30532 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30533 int arg4
= (int) wxODDEVEN_RULE
;
30538 PyObject
* obj0
= 0 ;
30539 PyObject
* obj1
= 0 ;
30540 PyObject
* obj2
= 0 ;
30541 char * kwnames
[] = {
30542 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30547 if (!SWIG_IsOK(res1
)) {
30548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30550 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30552 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30553 if (arg3
== NULL
) SWIG_fail
;
30556 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30557 if (!SWIG_IsOK(ecode4
)) {
30558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30560 arg4
= static_cast< int >(val4
);
30563 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= SWIG_Py_Void();
30568 if (arg3
) delete [] arg3
;
30573 if (arg3
) delete [] arg3
;
30579 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
= 0;
30581 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30596 PyObject
* obj0
= 0 ;
30597 PyObject
* obj1
= 0 ;
30598 PyObject
* obj2
= 0 ;
30599 PyObject
* obj3
= 0 ;
30600 PyObject
* obj4
= 0 ;
30601 char * kwnames
[] = {
30602 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30607 if (!SWIG_IsOK(res1
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30610 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30611 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30612 if (!SWIG_IsOK(ecode2
)) {
30613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30615 arg2
= static_cast< wxDouble
>(val2
);
30616 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30617 if (!SWIG_IsOK(ecode3
)) {
30618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30620 arg3
= static_cast< wxDouble
>(val3
);
30621 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30622 if (!SWIG_IsOK(ecode4
)) {
30623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30625 arg4
= static_cast< wxDouble
>(val4
);
30626 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30627 if (!SWIG_IsOK(ecode5
)) {
30628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30630 arg5
= static_cast< wxDouble
>(val5
);
30632 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_Py_Void();
30642 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
= 0;
30644 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30659 PyObject
* obj0
= 0 ;
30660 PyObject
* obj1
= 0 ;
30661 PyObject
* obj2
= 0 ;
30662 PyObject
* obj3
= 0 ;
30663 PyObject
* obj4
= 0 ;
30664 char * kwnames
[] = {
30665 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30670 if (!SWIG_IsOK(res1
)) {
30671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30673 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30674 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30675 if (!SWIG_IsOK(ecode2
)) {
30676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30678 arg2
= static_cast< wxDouble
>(val2
);
30679 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30680 if (!SWIG_IsOK(ecode3
)) {
30681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30683 arg3
= static_cast< wxDouble
>(val3
);
30684 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30685 if (!SWIG_IsOK(ecode4
)) {
30686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30688 arg4
= static_cast< wxDouble
>(val4
);
30689 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30690 if (!SWIG_IsOK(ecode5
)) {
30691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30693 arg5
= static_cast< wxDouble
>(val5
);
30695 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30696 if (PyErr_Occurred()) SWIG_fail
;
30698 resultobj
= SWIG_Py_Void();
30705 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30706 PyObject
*resultobj
= 0;
30707 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 PyObject
* obj2
= 0 ;
30728 PyObject
* obj3
= 0 ;
30729 PyObject
* obj4
= 0 ;
30730 PyObject
* obj5
= 0 ;
30731 char * kwnames
[] = {
30732 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30740 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30741 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30742 if (!SWIG_IsOK(ecode2
)) {
30743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30745 arg2
= static_cast< wxDouble
>(val2
);
30746 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30747 if (!SWIG_IsOK(ecode3
)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30750 arg3
= static_cast< wxDouble
>(val3
);
30751 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30752 if (!SWIG_IsOK(ecode4
)) {
30753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30755 arg4
= static_cast< wxDouble
>(val4
);
30756 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30757 if (!SWIG_IsOK(ecode5
)) {
30758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30760 arg5
= static_cast< wxDouble
>(val5
);
30761 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30762 if (!SWIG_IsOK(ecode6
)) {
30763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30765 arg6
= static_cast< wxDouble
>(val6
);
30767 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_Py_Void();
30777 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30778 PyObject
*resultobj
= 0;
30779 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30783 PyObject
*swig_obj
[1] ;
30785 if (!args
) SWIG_fail
;
30786 swig_obj
[0] = args
;
30787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30788 if (!SWIG_IsOK(res1
)) {
30789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30791 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30793 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30794 if (PyErr_Occurred()) SWIG_fail
;
30797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30805 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30808 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30809 return SWIG_Py_Void();
30812 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30813 PyObject
*resultobj
= 0;
30814 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30817 PyObject
*swig_obj
[1] ;
30819 if (!args
) SWIG_fail
;
30820 swig_obj
[0] = args
;
30821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30822 if (!SWIG_IsOK(res1
)) {
30823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30825 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_Py_Void();
30838 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 PyObject
*resultobj
= 0;
30840 wxGraphicsRenderer
*result
= 0 ;
30842 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30844 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30845 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30854 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30855 PyObject
*resultobj
= 0;
30856 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30857 wxWindowDC
*arg2
= 0 ;
30858 wxGraphicsContext
*result
= 0 ;
30864 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30866 if (!SWIG_IsOK(res1
)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30869 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30870 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30871 if (!SWIG_IsOK(res2
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30877 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30879 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30880 if (PyErr_Occurred()) SWIG_fail
;
30882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30889 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30890 PyObject
*resultobj
= 0;
30891 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30892 wxWindow
*arg2
= (wxWindow
*) 0 ;
30893 wxGraphicsContext
*result
= 0 ;
30899 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30901 if (!SWIG_IsOK(res1
)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30904 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30905 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30906 if (!SWIG_IsOK(res2
)) {
30907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30911 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30921 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30925 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30930 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30931 _v
= SWIG_CheckState(res
);
30933 if (!_v
) goto check_1
;
30934 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30939 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30943 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30948 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30949 PyObject
*resultobj
= 0;
30950 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30951 wxGraphicsContext
*result
= 0 ;
30954 PyObject
*swig_obj
[1] ;
30956 if (!args
) SWIG_fail
;
30957 swig_obj
[0] = args
;
30958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30962 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30964 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30974 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
= 0;
30976 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30977 void *arg2
= (void *) 0 ;
30978 wxGraphicsContext
*result
= 0 ;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 char * kwnames
[] = {
30985 (char *) "self",(char *) "context", NULL
30988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30990 if (!SWIG_IsOK(res1
)) {
30991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30993 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30994 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30995 if (!SWIG_IsOK(res2
)) {
30996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30999 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31009 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
= 0;
31011 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31012 void *arg2
= (void *) 0 ;
31013 wxGraphicsContext
*result
= 0 ;
31017 PyObject
* obj0
= 0 ;
31018 PyObject
* obj1
= 0 ;
31019 char * kwnames
[] = {
31020 (char *) "self",(char *) "window", NULL
31023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31025 if (!SWIG_IsOK(res1
)) {
31026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31028 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31029 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31030 if (!SWIG_IsOK(res2
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
31034 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31044 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31045 PyObject
*resultobj
= 0;
31046 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31047 wxGraphicsPath result
;
31050 PyObject
*swig_obj
[1] ;
31052 if (!args
) SWIG_fail
;
31053 swig_obj
[0] = args
;
31054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31055 if (!SWIG_IsOK(res1
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31058 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31060 result
= (arg1
)->CreatePath();
31061 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
31070 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31071 PyObject
*resultobj
= 0;
31072 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31073 wxDouble arg2
= (wxDouble
) 1.0 ;
31074 wxDouble arg3
= (wxDouble
) 0.0 ;
31075 wxDouble arg4
= (wxDouble
) 0.0 ;
31076 wxDouble arg5
= (wxDouble
) 1.0 ;
31077 wxDouble arg6
= (wxDouble
) 0.0 ;
31078 wxDouble arg7
= (wxDouble
) 0.0 ;
31079 wxGraphicsMatrix result
;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 PyObject
* obj2
= 0 ;
31097 PyObject
* obj3
= 0 ;
31098 PyObject
* obj4
= 0 ;
31099 PyObject
* obj5
= 0 ;
31100 PyObject
* obj6
= 0 ;
31101 char * kwnames
[] = {
31102 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
31105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31107 if (!SWIG_IsOK(res1
)) {
31108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31110 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31112 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31113 if (!SWIG_IsOK(ecode2
)) {
31114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
31116 arg2
= static_cast< wxDouble
>(val2
);
31119 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31120 if (!SWIG_IsOK(ecode3
)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
31123 arg3
= static_cast< wxDouble
>(val3
);
31126 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31127 if (!SWIG_IsOK(ecode4
)) {
31128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
31130 arg4
= static_cast< wxDouble
>(val4
);
31133 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31134 if (!SWIG_IsOK(ecode5
)) {
31135 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
31137 arg5
= static_cast< wxDouble
>(val5
);
31140 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31141 if (!SWIG_IsOK(ecode6
)) {
31142 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
31144 arg6
= static_cast< wxDouble
>(val6
);
31147 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31148 if (!SWIG_IsOK(ecode7
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31151 arg7
= static_cast< wxDouble
>(val7
);
31154 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31164 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
= 0;
31166 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31168 wxGraphicsPen result
;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 char * kwnames
[] = {
31176 (char *) "self",(char *) "pen", NULL
31179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31181 if (!SWIG_IsOK(res1
)) {
31182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31184 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31186 if (!SWIG_IsOK(res2
)) {
31187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31192 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31194 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31204 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
= 0;
31206 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31207 wxBrush
*arg2
= 0 ;
31208 wxGraphicsBrush result
;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char * kwnames
[] = {
31216 (char *) "self",(char *) "brush", NULL
31219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31224 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31226 if (!SWIG_IsOK(res2
)) {
31227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31232 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31234 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31235 if (PyErr_Occurred()) SWIG_fail
;
31237 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31244 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31245 PyObject
*resultobj
= 0;
31246 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31251 wxColour
*arg6
= 0 ;
31252 wxColour
*arg7
= 0 ;
31253 wxGraphicsBrush result
;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31268 PyObject
* obj2
= 0 ;
31269 PyObject
* obj3
= 0 ;
31270 PyObject
* obj4
= 0 ;
31271 PyObject
* obj5
= 0 ;
31272 PyObject
* obj6
= 0 ;
31273 char * kwnames
[] = {
31274 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31279 if (!SWIG_IsOK(res1
)) {
31280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31282 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31283 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31284 if (!SWIG_IsOK(ecode2
)) {
31285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31287 arg2
= static_cast< wxDouble
>(val2
);
31288 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31289 if (!SWIG_IsOK(ecode3
)) {
31290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31292 arg3
= static_cast< wxDouble
>(val3
);
31293 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31294 if (!SWIG_IsOK(ecode4
)) {
31295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31297 arg4
= static_cast< wxDouble
>(val4
);
31298 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31299 if (!SWIG_IsOK(ecode5
)) {
31300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31302 arg5
= static_cast< wxDouble
>(val5
);
31305 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31309 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31312 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31313 if (PyErr_Occurred()) SWIG_fail
;
31315 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31322 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
= 0;
31324 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31330 wxColour
*arg7
= 0 ;
31331 wxColour
*arg8
= 0 ;
31332 wxGraphicsBrush result
;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 PyObject
* obj2
= 0 ;
31350 PyObject
* obj3
= 0 ;
31351 PyObject
* obj4
= 0 ;
31352 PyObject
* obj5
= 0 ;
31353 PyObject
* obj6
= 0 ;
31354 PyObject
* obj7
= 0 ;
31355 char * kwnames
[] = {
31356 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31361 if (!SWIG_IsOK(res1
)) {
31362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31364 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31365 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31366 if (!SWIG_IsOK(ecode2
)) {
31367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31369 arg2
= static_cast< wxDouble
>(val2
);
31370 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31371 if (!SWIG_IsOK(ecode3
)) {
31372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31374 arg3
= static_cast< wxDouble
>(val3
);
31375 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31376 if (!SWIG_IsOK(ecode4
)) {
31377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31379 arg4
= static_cast< wxDouble
>(val4
);
31380 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31381 if (!SWIG_IsOK(ecode5
)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31384 arg5
= static_cast< wxDouble
>(val5
);
31385 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31386 if (!SWIG_IsOK(ecode6
)) {
31387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31389 arg6
= static_cast< wxDouble
>(val6
);
31392 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31396 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31399 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31409 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
= 0;
31411 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31413 wxColour
const &arg3_defvalue
= *wxBLACK
;
31414 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31415 wxGraphicsFont result
;
31421 PyObject
* obj0
= 0 ;
31422 PyObject
* obj1
= 0 ;
31423 PyObject
* obj2
= 0 ;
31424 char * kwnames
[] = {
31425 (char *) "self",(char *) "font",(char *) "col", NULL
31428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31430 if (!SWIG_IsOK(res1
)) {
31431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31433 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31435 if (!SWIG_IsOK(res2
)) {
31436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31441 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31445 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31449 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31459 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31462 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31463 return SWIG_Py_Void();
31466 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31467 PyObject
*resultobj
= 0;
31468 wxWindowDC
*arg1
= 0 ;
31469 wxGCDC
*result
= 0 ;
31473 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31475 if (!SWIG_IsOK(res1
)) {
31476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31481 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31483 if (!wxPyCheckForApp()) SWIG_fail
;
31484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31485 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31486 wxPyEndAllowThreads(__tstate
);
31487 if (PyErr_Occurred()) SWIG_fail
;
31489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31496 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31497 PyObject
*resultobj
= 0;
31498 wxWindow
*arg1
= (wxWindow
*) 0 ;
31499 wxGCDC
*result
= 0 ;
31503 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31505 if (!SWIG_IsOK(res1
)) {
31506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31510 if (!wxPyCheckForApp()) SWIG_fail
;
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= (wxGCDC
*)new wxGCDC(arg1
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31523 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31527 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31532 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31533 _v
= SWIG_CheckState(res
);
31535 if (!_v
) goto check_1
;
31536 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31541 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31545 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31550 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31551 PyObject
*resultobj
= 0;
31552 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31555 PyObject
*swig_obj
[1] ;
31557 if (!args
) SWIG_fail
;
31558 swig_obj
[0] = args
;
31559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31560 if (!SWIG_IsOK(res1
)) {
31561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31563 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31567 if (PyErr_Occurred()) SWIG_fail
;
31569 resultobj
= SWIG_Py_Void();
31576 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31577 PyObject
*resultobj
= 0;
31578 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31579 wxGraphicsContext
*result
= 0 ;
31582 PyObject
*swig_obj
[1] ;
31584 if (!args
) SWIG_fail
;
31585 swig_obj
[0] = args
;
31586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31587 if (!SWIG_IsOK(res1
)) {
31588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31590 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31592 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31593 if (PyErr_Occurred()) SWIG_fail
;
31595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31602 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31603 PyObject
*resultobj
= 0;
31604 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31605 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 char * kwnames
[] = {
31613 (char *) "self",(char *) "ctx", NULL
31616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31618 if (!SWIG_IsOK(res1
)) {
31619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31621 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31623 if (!SWIG_IsOK(res2
)) {
31624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31626 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31628 (arg1
)->SetGraphicsContext(arg2
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= SWIG_Py_Void();
31638 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31641 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31642 return SWIG_Py_Void();
31645 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31646 return SWIG_Python_InitShadowInstance(args
);
31649 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31650 PyObject
*resultobj
= 0;
31651 wxOverlay
*result
= 0 ;
31653 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 result
= (wxOverlay
*)new wxOverlay();
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31667 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31668 PyObject
*resultobj
= 0;
31669 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31672 PyObject
*swig_obj
[1] ;
31674 if (!args
) SWIG_fail
;
31675 swig_obj
[0] = args
;
31676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31677 if (!SWIG_IsOK(res1
)) {
31678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31680 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31688 resultobj
= SWIG_Py_Void();
31695 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31696 PyObject
*resultobj
= 0;
31697 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31700 PyObject
*swig_obj
[1] ;
31702 if (!args
) SWIG_fail
;
31703 swig_obj
[0] = args
;
31704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31705 if (!SWIG_IsOK(res1
)) {
31706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31708 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 wxPyEndAllowThreads(__tstate
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31715 resultobj
= SWIG_Py_Void();
31722 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31725 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31726 return SWIG_Py_Void();
31729 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31730 return SWIG_Python_InitShadowInstance(args
);
31733 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31734 PyObject
*resultobj
= 0;
31735 wxOverlay
*arg1
= 0 ;
31736 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31741 wxDCOverlay
*result
= 0 ;
31755 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31757 if (!SWIG_IsOK(res1
)) {
31758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31763 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31764 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31765 if (!SWIG_IsOK(res2
)) {
31766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31768 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31769 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31770 if (!SWIG_IsOK(ecode3
)) {
31771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31773 arg3
= static_cast< int >(val3
);
31774 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31775 if (!SWIG_IsOK(ecode4
)) {
31776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31778 arg4
= static_cast< int >(val4
);
31779 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31780 if (!SWIG_IsOK(ecode5
)) {
31781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31783 arg5
= static_cast< int >(val5
);
31784 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31785 if (!SWIG_IsOK(ecode6
)) {
31786 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31788 arg6
= static_cast< int >(val6
);
31790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31791 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31792 wxPyEndAllowThreads(__tstate
);
31793 if (PyErr_Occurred()) SWIG_fail
;
31795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31802 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31803 PyObject
*resultobj
= 0;
31804 wxOverlay
*arg1
= 0 ;
31805 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31806 wxDCOverlay
*result
= 0 ;
31812 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31814 if (!SWIG_IsOK(res1
)) {
31815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31820 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31821 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31822 if (!SWIG_IsOK(res2
)) {
31823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31825 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31828 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31839 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31843 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31846 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31849 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31853 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31858 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31859 PyObject
*resultobj
= 0;
31860 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31863 PyObject
*swig_obj
[1] ;
31865 if (!args
) SWIG_fail
;
31866 swig_obj
[0] = args
;
31867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31868 if (!SWIG_IsOK(res1
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31871 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= SWIG_Py_Void();
31886 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31887 PyObject
*resultobj
= 0;
31888 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31891 PyObject
*swig_obj
[1] ;
31893 if (!args
) SWIG_fail
;
31894 swig_obj
[0] = args
;
31895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31896 if (!SWIG_IsOK(res1
)) {
31897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31899 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 resultobj
= SWIG_Py_Void();
31913 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31916 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31917 return SWIG_Py_Void();
31920 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31921 return SWIG_Python_InitShadowInstance(args
);
31924 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
= 0;
31928 int arg3
= (int) true ;
31929 int arg4
= (int) 1 ;
31930 wxImageList
*result
= 0 ;
31939 PyObject
* obj0
= 0 ;
31940 PyObject
* obj1
= 0 ;
31941 PyObject
* obj2
= 0 ;
31942 PyObject
* obj3
= 0 ;
31943 char * kwnames
[] = {
31944 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31948 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31949 if (!SWIG_IsOK(ecode1
)) {
31950 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31952 arg1
= static_cast< int >(val1
);
31953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31954 if (!SWIG_IsOK(ecode2
)) {
31955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31957 arg2
= static_cast< int >(val2
);
31959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31960 if (!SWIG_IsOK(ecode3
)) {
31961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31963 arg3
= static_cast< int >(val3
);
31966 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31967 if (!SWIG_IsOK(ecode4
)) {
31968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31970 arg4
= static_cast< int >(val4
);
31973 if (!wxPyCheckForApp()) SWIG_fail
;
31974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31975 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31976 wxPyEndAllowThreads(__tstate
);
31977 if (PyErr_Occurred()) SWIG_fail
;
31979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31986 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31987 PyObject
*resultobj
= 0;
31988 wxImageList
*arg1
= (wxImageList
*) 0 ;
31991 PyObject
*swig_obj
[1] ;
31993 if (!args
) SWIG_fail
;
31994 swig_obj
[0] = args
;
31995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31996 if (!SWIG_IsOK(res1
)) {
31997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31999 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32004 wxPyEndAllowThreads(__tstate
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 resultobj
= SWIG_Py_Void();
32014 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32015 PyObject
*resultobj
= 0;
32016 wxImageList
*arg1
= (wxImageList
*) 0 ;
32017 wxBitmap
*arg2
= 0 ;
32018 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32019 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32027 PyObject
* obj0
= 0 ;
32028 PyObject
* obj1
= 0 ;
32029 PyObject
* obj2
= 0 ;
32030 char * kwnames
[] = {
32031 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
32034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32036 if (!SWIG_IsOK(res1
)) {
32037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
32039 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32041 if (!SWIG_IsOK(res2
)) {
32042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32047 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32049 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32050 if (!SWIG_IsOK(res3
)) {
32051 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32056 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32061 wxPyEndAllowThreads(__tstate
);
32062 if (PyErr_Occurred()) SWIG_fail
;
32064 resultobj
= SWIG_From_int(static_cast< int >(result
));
32071 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
= 0;
32073 wxImageList
*arg1
= (wxImageList
*) 0 ;
32074 wxBitmap
*arg2
= 0 ;
32075 wxColour
*arg3
= 0 ;
32082 PyObject
* obj0
= 0 ;
32083 PyObject
* obj1
= 0 ;
32084 PyObject
* obj2
= 0 ;
32085 char * kwnames
[] = {
32086 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
32089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32091 if (!SWIG_IsOK(res1
)) {
32092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
32094 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32096 if (!SWIG_IsOK(res2
)) {
32097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32102 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32105 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_From_int(static_cast< int >(result
));
32120 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
= 0;
32122 wxImageList
*arg1
= (wxImageList
*) 0 ;
32129 PyObject
* obj0
= 0 ;
32130 PyObject
* obj1
= 0 ;
32131 char * kwnames
[] = {
32132 (char *) "self",(char *) "icon", NULL
32135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32137 if (!SWIG_IsOK(res1
)) {
32138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
32140 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32142 if (!SWIG_IsOK(res2
)) {
32143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32148 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= SWIG_From_int(static_cast< int >(result
));
32162 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32163 PyObject
*resultobj
= 0;
32164 wxImageList
*arg1
= (wxImageList
*) 0 ;
32166 SwigValueWrapper
<wxBitmap
> result
;
32171 PyObject
* obj0
= 0 ;
32172 PyObject
* obj1
= 0 ;
32173 char * kwnames
[] = {
32174 (char *) "self",(char *) "index", NULL
32177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32179 if (!SWIG_IsOK(res1
)) {
32180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32182 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32184 if (!SWIG_IsOK(ecode2
)) {
32185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32187 arg2
= static_cast< int >(val2
);
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32191 wxPyEndAllowThreads(__tstate
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32194 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32201 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
= 0;
32203 wxImageList
*arg1
= (wxImageList
*) 0 ;
32210 PyObject
* obj0
= 0 ;
32211 PyObject
* obj1
= 0 ;
32212 char * kwnames
[] = {
32213 (char *) "self",(char *) "index", NULL
32216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32218 if (!SWIG_IsOK(res1
)) {
32219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32221 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32223 if (!SWIG_IsOK(ecode2
)) {
32224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32226 arg2
= static_cast< int >(val2
);
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32240 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32241 PyObject
*resultobj
= 0;
32242 wxImageList
*arg1
= (wxImageList
*) 0 ;
32244 wxBitmap
*arg3
= 0 ;
32245 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32246 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32256 PyObject
* obj0
= 0 ;
32257 PyObject
* obj1
= 0 ;
32258 PyObject
* obj2
= 0 ;
32259 PyObject
* obj3
= 0 ;
32260 char * kwnames
[] = {
32261 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32266 if (!SWIG_IsOK(res1
)) {
32267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32269 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32271 if (!SWIG_IsOK(ecode2
)) {
32272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32274 arg2
= static_cast< int >(val2
);
32275 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32276 if (!SWIG_IsOK(res3
)) {
32277 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32282 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32284 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32285 if (!SWIG_IsOK(res4
)) {
32286 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32291 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32308 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
= 0;
32310 wxImageList
*arg1
= (wxImageList
*) 0 ;
32315 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32316 bool arg7
= (bool) (bool)false ;
32332 PyObject
* obj0
= 0 ;
32333 PyObject
* obj1
= 0 ;
32334 PyObject
* obj2
= 0 ;
32335 PyObject
* obj3
= 0 ;
32336 PyObject
* obj4
= 0 ;
32337 PyObject
* obj5
= 0 ;
32338 PyObject
* obj6
= 0 ;
32339 char * kwnames
[] = {
32340 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32345 if (!SWIG_IsOK(res1
)) {
32346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32348 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32350 if (!SWIG_IsOK(ecode2
)) {
32351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32353 arg2
= static_cast< int >(val2
);
32354 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32355 if (!SWIG_IsOK(res3
)) {
32356 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32361 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32362 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32363 if (!SWIG_IsOK(ecode4
)) {
32364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32366 arg4
= static_cast< int >(val4
);
32367 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32368 if (!SWIG_IsOK(ecode5
)) {
32369 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32371 arg5
= static_cast< int >(val5
);
32373 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32374 if (!SWIG_IsOK(ecode6
)) {
32375 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32377 arg6
= static_cast< int >(val6
);
32380 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32381 if (!SWIG_IsOK(ecode7
)) {
32382 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32384 arg7
= static_cast< bool >(val7
);
32387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32388 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32389 wxPyEndAllowThreads(__tstate
);
32390 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32401 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32402 PyObject
*resultobj
= 0;
32403 wxImageList
*arg1
= (wxImageList
*) 0 ;
32407 PyObject
*swig_obj
[1] ;
32409 if (!args
) SWIG_fail
;
32410 swig_obj
[0] = args
;
32411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32412 if (!SWIG_IsOK(res1
)) {
32413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32415 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32418 result
= (int)(arg1
)->GetImageCount();
32419 wxPyEndAllowThreads(__tstate
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32422 resultobj
= SWIG_From_int(static_cast< int >(result
));
32429 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
= 0;
32431 wxImageList
*arg1
= (wxImageList
*) 0 ;
32438 PyObject
* obj0
= 0 ;
32439 PyObject
* obj1
= 0 ;
32440 char * kwnames
[] = {
32441 (char *) "self",(char *) "index", NULL
32444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32449 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32451 if (!SWIG_IsOK(ecode2
)) {
32452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32454 arg2
= static_cast< int >(val2
);
32456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32457 result
= (bool)(arg1
)->Remove(arg2
);
32458 wxPyEndAllowThreads(__tstate
);
32459 if (PyErr_Occurred()) SWIG_fail
;
32462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32470 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32471 PyObject
*resultobj
= 0;
32472 wxImageList
*arg1
= (wxImageList
*) 0 ;
32476 PyObject
*swig_obj
[1] ;
32478 if (!args
) SWIG_fail
;
32479 swig_obj
[0] = args
;
32480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32481 if (!SWIG_IsOK(res1
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32484 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 result
= (bool)(arg1
)->RemoveAll();
32488 wxPyEndAllowThreads(__tstate
);
32489 if (PyErr_Occurred()) SWIG_fail
;
32492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32500 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32501 PyObject
*resultobj
= 0;
32502 wxImageList
*arg1
= (wxImageList
*) 0 ;
32511 int res3
= SWIG_TMPOBJ
;
32513 int res4
= SWIG_TMPOBJ
;
32514 PyObject
* obj0
= 0 ;
32515 PyObject
* obj1
= 0 ;
32516 char * kwnames
[] = {
32517 (char *) "self",(char *) "index", NULL
32522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32524 if (!SWIG_IsOK(res1
)) {
32525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32527 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32529 if (!SWIG_IsOK(ecode2
)) {
32530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32532 arg2
= static_cast< int >(val2
);
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32539 resultobj
= SWIG_Py_Void();
32540 if (SWIG_IsTmpObj(res3
)) {
32541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32543 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32546 if (SWIG_IsTmpObj(res4
)) {
32547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32549 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32558 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32561 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32562 return SWIG_Py_Void();
32565 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32566 return SWIG_Python_InitShadowInstance(args
);
32569 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32570 PyObject
*resultobj
= 0;
32571 wxStockGDI
*result
= 0 ;
32573 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= (wxStockGDI
*)new wxStockGDI();
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32587 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32588 PyObject
*resultobj
= 0;
32589 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32592 PyObject
*swig_obj
[1] ;
32594 if (!args
) SWIG_fail
;
32595 swig_obj
[0] = args
;
32596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32597 if (!SWIG_IsOK(res1
)) {
32598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32600 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32605 wxPyEndAllowThreads(__tstate
);
32606 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= SWIG_Py_Void();
32615 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32616 PyObject
*resultobj
= 0;
32618 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32621 wxStockGDI::DeleteAll();
32622 wxPyEndAllowThreads(__tstate
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32625 resultobj
= SWIG_Py_Void();
32632 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32633 PyObject
*resultobj
= 0;
32634 wxStockGDI
*result
= 0 ;
32636 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32640 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32641 result
= (wxStockGDI
*) &_result_ref
;
32643 wxPyEndAllowThreads(__tstate
);
32644 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32653 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
= 0;
32655 wxStockGDI::Item arg1
;
32656 wxBrush
*result
= 0 ;
32659 PyObject
* obj0
= 0 ;
32660 char * kwnames
[] = {
32661 (char *) "item", NULL
32664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32666 if (!SWIG_IsOK(ecode1
)) {
32667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32669 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32672 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32673 wxPyEndAllowThreads(__tstate
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32683 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32684 PyObject
*resultobj
= 0;
32685 wxStockGDI::Item arg1
;
32686 wxColour
*result
= 0 ;
32689 PyObject
* obj0
= 0 ;
32690 char * kwnames
[] = {
32691 (char *) "item", NULL
32694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32696 if (!SWIG_IsOK(ecode1
)) {
32697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32699 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32702 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32713 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxStockGDI::Item arg1
;
32716 wxCursor
*result
= 0 ;
32719 PyObject
* obj0
= 0 ;
32720 char * kwnames
[] = {
32721 (char *) "item", NULL
32724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32726 if (!SWIG_IsOK(ecode1
)) {
32727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32729 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32732 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32733 wxPyEndAllowThreads(__tstate
);
32734 if (PyErr_Occurred()) SWIG_fail
;
32736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32743 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32744 PyObject
*resultobj
= 0;
32745 wxStockGDI::Item arg1
;
32746 wxPen
*result
= 0 ;
32749 PyObject
* obj0
= 0 ;
32750 char * kwnames
[] = {
32751 (char *) "item", NULL
32754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32756 if (!SWIG_IsOK(ecode1
)) {
32757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32759 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32762 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32763 wxPyEndAllowThreads(__tstate
);
32764 if (PyErr_Occurred()) SWIG_fail
;
32766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32773 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
= 0;
32775 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32776 wxStockGDI::Item arg2
;
32777 wxFont
*result
= 0 ;
32782 PyObject
* obj0
= 0 ;
32783 PyObject
* obj1
= 0 ;
32784 char * kwnames
[] = {
32785 (char *) "self",(char *) "item", NULL
32788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32790 if (!SWIG_IsOK(res1
)) {
32791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32793 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32795 if (!SWIG_IsOK(ecode2
)) {
32796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32798 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32802 wxPyEndAllowThreads(__tstate
);
32803 if (PyErr_Occurred()) SWIG_fail
;
32805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32812 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32815 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32816 return SWIG_Py_Void();
32819 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32820 return SWIG_Python_InitShadowInstance(args
);
32823 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32824 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32829 SWIGINTERN PyObject
*NullBitmap_get(void) {
32830 PyObject
*pyobj
= 0;
32832 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32837 SWIGINTERN
int NullIcon_set(PyObject
*) {
32838 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32843 SWIGINTERN PyObject
*NullIcon_get(void) {
32844 PyObject
*pyobj
= 0;
32846 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32851 SWIGINTERN
int NullCursor_set(PyObject
*) {
32852 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32857 SWIGINTERN PyObject
*NullCursor_get(void) {
32858 PyObject
*pyobj
= 0;
32860 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32865 SWIGINTERN
int NullPen_set(PyObject
*) {
32866 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32871 SWIGINTERN PyObject
*NullPen_get(void) {
32872 PyObject
*pyobj
= 0;
32874 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32879 SWIGINTERN
int NullBrush_set(PyObject
*) {
32880 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32885 SWIGINTERN PyObject
*NullBrush_get(void) {
32886 PyObject
*pyobj
= 0;
32888 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32893 SWIGINTERN
int NullPalette_set(PyObject
*) {
32894 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32899 SWIGINTERN PyObject
*NullPalette_get(void) {
32900 PyObject
*pyobj
= 0;
32902 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32907 SWIGINTERN
int NullFont_set(PyObject
*) {
32908 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32913 SWIGINTERN PyObject
*NullFont_get(void) {
32914 PyObject
*pyobj
= 0;
32916 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32921 SWIGINTERN
int NullColour_set(PyObject
*) {
32922 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32927 SWIGINTERN PyObject
*NullColour_get(void) {
32928 PyObject
*pyobj
= 0;
32930 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32935 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32936 PyObject
*resultobj
= 0;
32937 wxGDIObjListBase
*result
= 0 ;
32939 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32942 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32943 wxPyEndAllowThreads(__tstate
);
32944 if (PyErr_Occurred()) SWIG_fail
;
32946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32953 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32954 PyObject
*resultobj
= 0;
32955 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32958 PyObject
*swig_obj
[1] ;
32960 if (!args
) SWIG_fail
;
32961 swig_obj
[0] = args
;
32962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32963 if (!SWIG_IsOK(res1
)) {
32964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32966 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= SWIG_Py_Void();
32981 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32984 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32985 return SWIG_Py_Void();
32988 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32989 return SWIG_Python_InitShadowInstance(args
);
32992 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
= 0;
32994 wxPenList
*arg1
= (wxPenList
*) 0 ;
32995 wxColour
*arg2
= 0 ;
32998 wxPen
*result
= 0 ;
33006 PyObject
* obj0
= 0 ;
33007 PyObject
* obj1
= 0 ;
33008 PyObject
* obj2
= 0 ;
33009 PyObject
* obj3
= 0 ;
33010 char * kwnames
[] = {
33011 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
33014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33016 if (!SWIG_IsOK(res1
)) {
33017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33019 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33022 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33025 if (!SWIG_IsOK(ecode3
)) {
33026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
33028 arg3
= static_cast< int >(val3
);
33029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33030 if (!SWIG_IsOK(ecode4
)) {
33031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
33033 arg4
= static_cast< int >(val4
);
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
33037 wxPyEndAllowThreads(__tstate
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33047 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
= 0;
33049 wxPenList
*arg1
= (wxPenList
*) 0 ;
33050 wxPen
*arg2
= (wxPen
*) 0 ;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 char * kwnames
[] = {
33058 (char *) "self",(char *) "pen", NULL
33061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33063 if (!SWIG_IsOK(res1
)) {
33064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
33066 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33068 if (!SWIG_IsOK(res2
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
33071 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 (arg1
)->AddPen(arg2
);
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33078 resultobj
= SWIG_Py_Void();
33085 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33086 PyObject
*resultobj
= 0;
33087 wxPenList
*arg1
= (wxPenList
*) 0 ;
33088 wxPen
*arg2
= (wxPen
*) 0 ;
33093 PyObject
* obj0
= 0 ;
33094 PyObject
* obj1
= 0 ;
33095 char * kwnames
[] = {
33096 (char *) "self",(char *) "pen", NULL
33099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33101 if (!SWIG_IsOK(res1
)) {
33102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33104 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33106 if (!SWIG_IsOK(res2
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
33109 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33112 (arg1
)->RemovePen(arg2
);
33113 wxPyEndAllowThreads(__tstate
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33116 resultobj
= SWIG_Py_Void();
33123 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33126 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
33127 return SWIG_Py_Void();
33130 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33131 PyObject
*resultobj
= 0;
33132 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33133 wxColour
*arg2
= 0 ;
33134 int arg3
= (int) wxSOLID
;
33135 wxBrush
*result
= 0 ;
33141 PyObject
* obj0
= 0 ;
33142 PyObject
* obj1
= 0 ;
33143 PyObject
* obj2
= 0 ;
33144 char * kwnames
[] = {
33145 (char *) "self",(char *) "colour",(char *) "style", NULL
33148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33150 if (!SWIG_IsOK(res1
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33153 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33160 if (!SWIG_IsOK(ecode3
)) {
33161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33163 arg3
= static_cast< int >(val3
);
33166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33167 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33168 wxPyEndAllowThreads(__tstate
);
33169 if (PyErr_Occurred()) SWIG_fail
;
33171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33178 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
= 0;
33180 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33181 wxBrush
*arg2
= (wxBrush
*) 0 ;
33186 PyObject
* obj0
= 0 ;
33187 PyObject
* obj1
= 0 ;
33188 char * kwnames
[] = {
33189 (char *) "self",(char *) "brush", NULL
33192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33194 if (!SWIG_IsOK(res1
)) {
33195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33197 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33198 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33199 if (!SWIG_IsOK(res2
)) {
33200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33202 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 (arg1
)->AddBrush(arg2
);
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= SWIG_Py_Void();
33216 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33217 PyObject
*resultobj
= 0;
33218 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33219 wxBrush
*arg2
= (wxBrush
*) 0 ;
33224 PyObject
* obj0
= 0 ;
33225 PyObject
* obj1
= 0 ;
33226 char * kwnames
[] = {
33227 (char *) "self",(char *) "brush", NULL
33230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33232 if (!SWIG_IsOK(res1
)) {
33233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33235 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33237 if (!SWIG_IsOK(res2
)) {
33238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33240 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 (arg1
)->RemoveBrush(arg2
);
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= SWIG_Py_Void();
33254 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33257 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33258 return SWIG_Py_Void();
33261 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33262 PyObject
*resultobj
= 0;
33263 wxFontList
*arg1
= (wxFontList
*) 0 ;
33268 bool arg6
= (bool) false ;
33269 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33270 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33271 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33272 wxFont
*result
= 0 ;
33285 bool temp7
= false ;
33288 PyObject
* obj0
= 0 ;
33289 PyObject
* obj1
= 0 ;
33290 PyObject
* obj2
= 0 ;
33291 PyObject
* obj3
= 0 ;
33292 PyObject
* obj4
= 0 ;
33293 PyObject
* obj5
= 0 ;
33294 PyObject
* obj6
= 0 ;
33295 PyObject
* obj7
= 0 ;
33296 char * kwnames
[] = {
33297 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33302 if (!SWIG_IsOK(res1
)) {
33303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33305 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33307 if (!SWIG_IsOK(ecode2
)) {
33308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33310 arg2
= static_cast< int >(val2
);
33311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33312 if (!SWIG_IsOK(ecode3
)) {
33313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33315 arg3
= static_cast< int >(val3
);
33316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33317 if (!SWIG_IsOK(ecode4
)) {
33318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33320 arg4
= static_cast< int >(val4
);
33321 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33322 if (!SWIG_IsOK(ecode5
)) {
33323 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33325 arg5
= static_cast< int >(val5
);
33327 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33328 if (!SWIG_IsOK(ecode6
)) {
33329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33331 arg6
= static_cast< bool >(val6
);
33335 arg7
= wxString_in_helper(obj6
);
33336 if (arg7
== NULL
) SWIG_fail
;
33341 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33342 if (!SWIG_IsOK(ecode8
)) {
33343 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33345 arg8
= static_cast< wxFontEncoding
>(val8
);
33348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33349 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33350 wxPyEndAllowThreads(__tstate
);
33351 if (PyErr_Occurred()) SWIG_fail
;
33353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33368 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33369 PyObject
*resultobj
= 0;
33370 wxFontList
*arg1
= (wxFontList
*) 0 ;
33371 wxFont
*arg2
= (wxFont
*) 0 ;
33376 PyObject
* obj0
= 0 ;
33377 PyObject
* obj1
= 0 ;
33378 char * kwnames
[] = {
33379 (char *) "self",(char *) "font", NULL
33382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33384 if (!SWIG_IsOK(res1
)) {
33385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33387 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33389 if (!SWIG_IsOK(res2
)) {
33390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33392 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33395 (arg1
)->AddFont(arg2
);
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= SWIG_Py_Void();
33406 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33407 PyObject
*resultobj
= 0;
33408 wxFontList
*arg1
= (wxFontList
*) 0 ;
33409 wxFont
*arg2
= (wxFont
*) 0 ;
33414 PyObject
* obj0
= 0 ;
33415 PyObject
* obj1
= 0 ;
33416 char * kwnames
[] = {
33417 (char *) "self",(char *) "font", NULL
33420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33422 if (!SWIG_IsOK(res1
)) {
33423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33425 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33427 if (!SWIG_IsOK(res2
)) {
33428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33430 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33433 (arg1
)->RemoveFont(arg2
);
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 resultobj
= SWIG_Py_Void();
33444 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33447 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33448 return SWIG_Py_Void();
33451 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33452 PyObject
*resultobj
= 0;
33453 wxColourDatabase
*result
= 0 ;
33455 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33457 if (!wxPyCheckForApp()) SWIG_fail
;
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 result
= (wxColourDatabase
*)new wxColourDatabase();
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33470 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33471 PyObject
*resultobj
= 0;
33472 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33475 PyObject
*swig_obj
[1] ;
33477 if (!args
) SWIG_fail
;
33478 swig_obj
[0] = args
;
33479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33480 if (!SWIG_IsOK(res1
)) {
33481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33483 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 resultobj
= SWIG_Py_Void();
33498 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33499 PyObject
*resultobj
= 0;
33500 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33501 wxString
*arg2
= 0 ;
33505 bool temp2
= false ;
33506 PyObject
* obj0
= 0 ;
33507 PyObject
* obj1
= 0 ;
33508 char * kwnames
[] = {
33509 (char *) "self",(char *) "name", NULL
33512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33514 if (!SWIG_IsOK(res1
)) {
33515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33517 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33519 arg2
= wxString_in_helper(obj1
);
33520 if (arg2
== NULL
) SWIG_fail
;
33524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33525 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33526 wxPyEndAllowThreads(__tstate
);
33527 if (PyErr_Occurred()) SWIG_fail
;
33529 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33544 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33545 PyObject
*resultobj
= 0;
33546 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33547 wxColour
*arg2
= 0 ;
33552 PyObject
* obj0
= 0 ;
33553 PyObject
* obj1
= 0 ;
33554 char * kwnames
[] = {
33555 (char *) "self",(char *) "colour", NULL
33558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33560 if (!SWIG_IsOK(res1
)) {
33561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33563 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33570 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33587 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
= 0;
33589 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33590 wxString
*arg2
= 0 ;
33591 wxColour
*arg3
= 0 ;
33594 bool temp2
= false ;
33596 PyObject
* obj0
= 0 ;
33597 PyObject
* obj1
= 0 ;
33598 PyObject
* obj2
= 0 ;
33599 char * kwnames
[] = {
33600 (char *) "self",(char *) "name",(char *) "colour", NULL
33603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33605 if (!SWIG_IsOK(res1
)) {
33606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33608 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33610 arg2
= wxString_in_helper(obj1
);
33611 if (arg2
== NULL
) SWIG_fail
;
33616 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33620 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33621 wxPyEndAllowThreads(__tstate
);
33622 if (PyErr_Occurred()) SWIG_fail
;
33624 resultobj
= SWIG_Py_Void();
33639 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
= 0;
33641 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33642 wxString
*arg2
= 0 ;
33648 bool temp2
= false ;
33655 PyObject
* obj0
= 0 ;
33656 PyObject
* obj1
= 0 ;
33657 PyObject
* obj2
= 0 ;
33658 PyObject
* obj3
= 0 ;
33659 PyObject
* obj4
= 0 ;
33660 char * kwnames
[] = {
33661 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33666 if (!SWIG_IsOK(res1
)) {
33667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33669 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33671 arg2
= wxString_in_helper(obj1
);
33672 if (arg2
== NULL
) SWIG_fail
;
33675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33676 if (!SWIG_IsOK(ecode3
)) {
33677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33679 arg3
= static_cast< int >(val3
);
33680 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33681 if (!SWIG_IsOK(ecode4
)) {
33682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33684 arg4
= static_cast< int >(val4
);
33685 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33686 if (!SWIG_IsOK(ecode5
)) {
33687 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33689 arg5
= static_cast< int >(val5
);
33691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33692 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33693 wxPyEndAllowThreads(__tstate
);
33694 if (PyErr_Occurred()) SWIG_fail
;
33696 resultobj
= SWIG_Py_Void();
33711 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33714 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33715 return SWIG_Py_Void();
33718 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33719 return SWIG_Python_InitShadowInstance(args
);
33722 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33723 PyObject
*resultobj
= 0;
33724 wxFontList
*result
= 0 ;
33726 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33729 result
= (wxFontList
*)_wxPyInitTheFontList();
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33740 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33741 PyObject
*resultobj
= 0;
33742 wxPenList
*result
= 0 ;
33744 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= (wxPenList
*)_wxPyInitThePenList();
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33758 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33759 PyObject
*resultobj
= 0;
33760 wxBrushList
*result
= 0 ;
33762 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33765 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33766 wxPyEndAllowThreads(__tstate
);
33767 if (PyErr_Occurred()) SWIG_fail
;
33769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33776 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33777 PyObject
*resultobj
= 0;
33778 wxColourDatabase
*result
= 0 ;
33780 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33794 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33795 PyObject
*resultobj
= 0;
33796 wxEffects
*result
= 0 ;
33798 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 result
= (wxEffects
*)new wxEffects();
33802 wxPyEndAllowThreads(__tstate
);
33803 if (PyErr_Occurred()) SWIG_fail
;
33805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33812 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33813 PyObject
*resultobj
= 0;
33814 wxEffects
*arg1
= (wxEffects
*) 0 ;
33818 PyObject
*swig_obj
[1] ;
33820 if (!args
) SWIG_fail
;
33821 swig_obj
[0] = args
;
33822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33823 if (!SWIG_IsOK(res1
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33826 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33829 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33833 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33840 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33841 PyObject
*resultobj
= 0;
33842 wxEffects
*arg1
= (wxEffects
*) 0 ;
33846 PyObject
*swig_obj
[1] ;
33848 if (!args
) SWIG_fail
;
33849 swig_obj
[0] = args
;
33850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33851 if (!SWIG_IsOK(res1
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33854 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33857 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33861 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33868 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33869 PyObject
*resultobj
= 0;
33870 wxEffects
*arg1
= (wxEffects
*) 0 ;
33874 PyObject
*swig_obj
[1] ;
33876 if (!args
) SWIG_fail
;
33877 swig_obj
[0] = args
;
33878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33879 if (!SWIG_IsOK(res1
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33882 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33885 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33896 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33897 PyObject
*resultobj
= 0;
33898 wxEffects
*arg1
= (wxEffects
*) 0 ;
33902 PyObject
*swig_obj
[1] ;
33904 if (!args
) SWIG_fail
;
33905 swig_obj
[0] = args
;
33906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33907 if (!SWIG_IsOK(res1
)) {
33908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33910 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33913 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33914 wxPyEndAllowThreads(__tstate
);
33915 if (PyErr_Occurred()) SWIG_fail
;
33917 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33924 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33925 PyObject
*resultobj
= 0;
33926 wxEffects
*arg1
= (wxEffects
*) 0 ;
33930 PyObject
*swig_obj
[1] ;
33932 if (!args
) SWIG_fail
;
33933 swig_obj
[0] = args
;
33934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33935 if (!SWIG_IsOK(res1
)) {
33936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33938 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33942 wxPyEndAllowThreads(__tstate
);
33943 if (PyErr_Occurred()) SWIG_fail
;
33945 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33952 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33953 PyObject
*resultobj
= 0;
33954 wxEffects
*arg1
= (wxEffects
*) 0 ;
33955 wxColour
*arg2
= 0 ;
33959 PyObject
* obj0
= 0 ;
33960 PyObject
* obj1
= 0 ;
33961 char * kwnames
[] = {
33962 (char *) "self",(char *) "c", NULL
33965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33967 if (!SWIG_IsOK(res1
)) {
33968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33970 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33973 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= SWIG_Py_Void();
33988 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
= 0;
33990 wxEffects
*arg1
= (wxEffects
*) 0 ;
33991 wxColour
*arg2
= 0 ;
33995 PyObject
* obj0
= 0 ;
33996 PyObject
* obj1
= 0 ;
33997 char * kwnames
[] = {
33998 (char *) "self",(char *) "c", NULL
34001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34003 if (!SWIG_IsOK(res1
)) {
34004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34006 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34009 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
34014 wxPyEndAllowThreads(__tstate
);
34015 if (PyErr_Occurred()) SWIG_fail
;
34017 resultobj
= SWIG_Py_Void();
34024 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34025 PyObject
*resultobj
= 0;
34026 wxEffects
*arg1
= (wxEffects
*) 0 ;
34027 wxColour
*arg2
= 0 ;
34031 PyObject
* obj0
= 0 ;
34032 PyObject
* obj1
= 0 ;
34033 char * kwnames
[] = {
34034 (char *) "self",(char *) "c", NULL
34037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34039 if (!SWIG_IsOK(res1
)) {
34040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34042 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= SWIG_Py_Void();
34060 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
= 0;
34062 wxEffects
*arg1
= (wxEffects
*) 0 ;
34063 wxColour
*arg2
= 0 ;
34067 PyObject
* obj0
= 0 ;
34068 PyObject
* obj1
= 0 ;
34069 char * kwnames
[] = {
34070 (char *) "self",(char *) "c", NULL
34073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34075 if (!SWIG_IsOK(res1
)) {
34076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34078 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34081 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34085 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
34086 wxPyEndAllowThreads(__tstate
);
34087 if (PyErr_Occurred()) SWIG_fail
;
34089 resultobj
= SWIG_Py_Void();
34096 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
= 0;
34098 wxEffects
*arg1
= (wxEffects
*) 0 ;
34099 wxColour
*arg2
= 0 ;
34103 PyObject
* obj0
= 0 ;
34104 PyObject
* obj1
= 0 ;
34105 char * kwnames
[] = {
34106 (char *) "self",(char *) "c", NULL
34109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34111 if (!SWIG_IsOK(res1
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34114 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34117 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34121 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
34122 wxPyEndAllowThreads(__tstate
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= SWIG_Py_Void();
34132 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34133 PyObject
*resultobj
= 0;
34134 wxEffects
*arg1
= (wxEffects
*) 0 ;
34135 wxColour
*arg2
= 0 ;
34136 wxColour
*arg3
= 0 ;
34137 wxColour
*arg4
= 0 ;
34138 wxColour
*arg5
= 0 ;
34139 wxColour
*arg6
= 0 ;
34147 PyObject
* obj0
= 0 ;
34148 PyObject
* obj1
= 0 ;
34149 PyObject
* obj2
= 0 ;
34150 PyObject
* obj3
= 0 ;
34151 PyObject
* obj4
= 0 ;
34152 PyObject
* obj5
= 0 ;
34153 char * kwnames
[] = {
34154 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34159 if (!SWIG_IsOK(res1
)) {
34160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34162 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34169 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34173 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34177 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34181 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= SWIG_Py_Void();
34196 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
= 0;
34198 wxEffects
*arg1
= (wxEffects
*) 0 ;
34201 int arg4
= (int) 1 ;
34209 PyObject
* obj0
= 0 ;
34210 PyObject
* obj1
= 0 ;
34211 PyObject
* obj2
= 0 ;
34212 PyObject
* obj3
= 0 ;
34213 char * kwnames
[] = {
34214 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34219 if (!SWIG_IsOK(res1
)) {
34220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34222 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34224 if (!SWIG_IsOK(res2
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34230 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34233 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34237 if (!SWIG_IsOK(ecode4
)) {
34238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34240 arg4
= static_cast< int >(val4
);
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 resultobj
= SWIG_Py_Void();
34255 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
= 0;
34257 wxEffects
*arg1
= (wxEffects
*) 0 ;
34260 wxBitmap
*arg4
= 0 ;
34269 PyObject
* obj0
= 0 ;
34270 PyObject
* obj1
= 0 ;
34271 PyObject
* obj2
= 0 ;
34272 PyObject
* obj3
= 0 ;
34273 char * kwnames
[] = {
34274 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34279 if (!SWIG_IsOK(res1
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34282 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34285 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34287 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34288 if (!SWIG_IsOK(res3
)) {
34289 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34294 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34295 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34296 if (!SWIG_IsOK(res4
)) {
34297 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34302 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34305 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34306 wxPyEndAllowThreads(__tstate
);
34307 if (PyErr_Occurred()) SWIG_fail
;
34310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34318 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34321 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34322 return SWIG_Py_Void();
34325 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34326 return SWIG_Python_InitShadowInstance(args
);
34329 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
= 0;
34334 wxSplitterRenderParams
*result
= 0 ;
34341 PyObject
* obj0
= 0 ;
34342 PyObject
* obj1
= 0 ;
34343 PyObject
* obj2
= 0 ;
34344 char * kwnames
[] = {
34345 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34350 if (!SWIG_IsOK(ecode1
)) {
34351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34353 arg1
= static_cast< int >(val1
);
34354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34355 if (!SWIG_IsOK(ecode2
)) {
34356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34358 arg2
= static_cast< int >(val2
);
34359 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34360 if (!SWIG_IsOK(ecode3
)) {
34361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34363 arg3
= static_cast< bool >(val3
);
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34377 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34378 PyObject
*resultobj
= 0;
34379 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34382 PyObject
*swig_obj
[1] ;
34384 if (!args
) SWIG_fail
;
34385 swig_obj
[0] = args
;
34386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34387 if (!SWIG_IsOK(res1
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34390 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34395 wxPyEndAllowThreads(__tstate
);
34396 if (PyErr_Occurred()) SWIG_fail
;
34398 resultobj
= SWIG_Py_Void();
34405 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34406 PyObject
*resultobj
= 0;
34407 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34411 PyObject
*swig_obj
[1] ;
34413 if (!args
) SWIG_fail
;
34414 swig_obj
[0] = args
;
34415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34416 if (!SWIG_IsOK(res1
)) {
34417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34419 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34420 result
= (int)(int) ((arg1
)->widthSash
);
34421 resultobj
= SWIG_From_int(static_cast< int >(result
));
34428 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34429 PyObject
*resultobj
= 0;
34430 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34434 PyObject
*swig_obj
[1] ;
34436 if (!args
) SWIG_fail
;
34437 swig_obj
[0] = args
;
34438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34439 if (!SWIG_IsOK(res1
)) {
34440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34442 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34443 result
= (int)(int) ((arg1
)->border
);
34444 resultobj
= SWIG_From_int(static_cast< int >(result
));
34451 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34452 PyObject
*resultobj
= 0;
34453 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34457 PyObject
*swig_obj
[1] ;
34459 if (!args
) SWIG_fail
;
34460 swig_obj
[0] = args
;
34461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34462 if (!SWIG_IsOK(res1
)) {
34463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34465 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34466 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34467 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34474 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34477 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34478 return SWIG_Py_Void();
34481 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34482 return SWIG_Python_InitShadowInstance(args
);
34485 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34486 PyObject
*resultobj
= 0;
34487 wxHeaderButtonParams
*result
= 0 ;
34489 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34503 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34504 PyObject
*resultobj
= 0;
34505 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34508 PyObject
*swig_obj
[1] ;
34510 if (!args
) SWIG_fail
;
34511 swig_obj
[0] = args
;
34512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34513 if (!SWIG_IsOK(res1
)) {
34514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34516 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34521 wxPyEndAllowThreads(__tstate
);
34522 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= SWIG_Py_Void();
34531 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34532 PyObject
*resultobj
= 0;
34533 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34534 wxColour
*arg2
= (wxColour
*) 0 ;
34538 PyObject
*swig_obj
[2] ;
34540 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34542 if (!SWIG_IsOK(res1
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34545 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34548 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34550 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34552 resultobj
= SWIG_Py_Void();
34559 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34560 PyObject
*resultobj
= 0;
34561 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34562 wxColour
*result
= 0 ;
34565 PyObject
*swig_obj
[1] ;
34567 if (!args
) SWIG_fail
;
34568 swig_obj
[0] = args
;
34569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34570 if (!SWIG_IsOK(res1
)) {
34571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34573 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34574 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34582 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34583 PyObject
*resultobj
= 0;
34584 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34585 wxColour
*arg2
= (wxColour
*) 0 ;
34589 PyObject
*swig_obj
[2] ;
34591 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34593 if (!SWIG_IsOK(res1
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34596 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34599 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34601 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34603 resultobj
= SWIG_Py_Void();
34610 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34611 PyObject
*resultobj
= 0;
34612 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34613 wxColour
*result
= 0 ;
34616 PyObject
*swig_obj
[1] ;
34618 if (!args
) SWIG_fail
;
34619 swig_obj
[0] = args
;
34620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34621 if (!SWIG_IsOK(res1
)) {
34622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34624 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34625 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34633 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34634 PyObject
*resultobj
= 0;
34635 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34636 wxString
*arg2
= (wxString
*) 0 ;
34639 bool temp2
= false ;
34640 PyObject
*swig_obj
[2] ;
34642 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34644 if (!SWIG_IsOK(res1
)) {
34645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34647 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34649 arg2
= wxString_in_helper(swig_obj
[1]);
34650 if (arg2
== NULL
) SWIG_fail
;
34653 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34655 resultobj
= SWIG_Py_Void();
34670 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34671 PyObject
*resultobj
= 0;
34672 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34673 wxString
*result
= 0 ;
34676 PyObject
*swig_obj
[1] ;
34678 if (!args
) SWIG_fail
;
34679 swig_obj
[0] = args
;
34680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34681 if (!SWIG_IsOK(res1
)) {
34682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34684 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34685 result
= (wxString
*)& ((arg1
)->m_labelText
);
34688 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34690 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34699 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34700 PyObject
*resultobj
= 0;
34701 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34702 wxFont
*arg2
= (wxFont
*) 0 ;
34707 PyObject
*swig_obj
[2] ;
34709 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34711 if (!SWIG_IsOK(res1
)) {
34712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34714 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34715 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34716 if (!SWIG_IsOK(res2
)) {
34717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34719 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34720 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34722 resultobj
= SWIG_Py_Void();
34729 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34730 PyObject
*resultobj
= 0;
34731 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34732 wxFont
*result
= 0 ;
34735 PyObject
*swig_obj
[1] ;
34737 if (!args
) SWIG_fail
;
34738 swig_obj
[0] = args
;
34739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34740 if (!SWIG_IsOK(res1
)) {
34741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34743 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34744 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34752 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34753 PyObject
*resultobj
= 0;
34754 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34755 wxColour
*arg2
= (wxColour
*) 0 ;
34759 PyObject
*swig_obj
[2] ;
34761 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34763 if (!SWIG_IsOK(res1
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34766 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34769 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34771 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34773 resultobj
= SWIG_Py_Void();
34780 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34781 PyObject
*resultobj
= 0;
34782 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34783 wxColour
*result
= 0 ;
34786 PyObject
*swig_obj
[1] ;
34788 if (!args
) SWIG_fail
;
34789 swig_obj
[0] = args
;
34790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34791 if (!SWIG_IsOK(res1
)) {
34792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34794 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34795 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34803 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34804 PyObject
*resultobj
= 0;
34805 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34806 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34811 PyObject
*swig_obj
[2] ;
34813 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34815 if (!SWIG_IsOK(res1
)) {
34816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34818 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34819 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34820 if (!SWIG_IsOK(res2
)) {
34821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34823 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34824 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34826 resultobj
= SWIG_Py_Void();
34833 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34834 PyObject
*resultobj
= 0;
34835 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34836 wxBitmap
*result
= 0 ;
34839 PyObject
*swig_obj
[1] ;
34841 if (!args
) SWIG_fail
;
34842 swig_obj
[0] = args
;
34843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34844 if (!SWIG_IsOK(res1
)) {
34845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34847 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34848 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34856 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34857 PyObject
*resultobj
= 0;
34858 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34864 PyObject
*swig_obj
[2] ;
34866 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34868 if (!SWIG_IsOK(res1
)) {
34869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34871 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34872 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34873 if (!SWIG_IsOK(ecode2
)) {
34874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34876 arg2
= static_cast< int >(val2
);
34877 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34879 resultobj
= SWIG_Py_Void();
34886 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34887 PyObject
*resultobj
= 0;
34888 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34892 PyObject
*swig_obj
[1] ;
34894 if (!args
) SWIG_fail
;
34895 swig_obj
[0] = args
;
34896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34897 if (!SWIG_IsOK(res1
)) {
34898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34900 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34901 result
= (int) ((arg1
)->m_labelAlignment
);
34902 resultobj
= SWIG_From_int(static_cast< int >(result
));
34909 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34912 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34913 return SWIG_Py_Void();
34916 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34917 return SWIG_Python_InitShadowInstance(args
);
34920 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34921 PyObject
*resultobj
= 0;
34924 wxRendererVersion
*result
= 0 ;
34929 PyObject
* obj0
= 0 ;
34930 PyObject
* obj1
= 0 ;
34931 char * kwnames
[] = {
34932 (char *) "version_",(char *) "age_", NULL
34935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34936 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34937 if (!SWIG_IsOK(ecode1
)) {
34938 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34940 arg1
= static_cast< int >(val1
);
34941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34942 if (!SWIG_IsOK(ecode2
)) {
34943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34945 arg2
= static_cast< int >(val2
);
34947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34948 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34949 wxPyEndAllowThreads(__tstate
);
34950 if (PyErr_Occurred()) SWIG_fail
;
34952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34959 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34960 PyObject
*resultobj
= 0;
34961 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34964 PyObject
*swig_obj
[1] ;
34966 if (!args
) SWIG_fail
;
34967 swig_obj
[0] = args
;
34968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34969 if (!SWIG_IsOK(res1
)) {
34970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34972 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34977 wxPyEndAllowThreads(__tstate
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34980 resultobj
= SWIG_Py_Void();
34987 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34988 PyObject
*resultobj
= 0;
34989 wxRendererVersion
*arg1
= 0 ;
34993 PyObject
* obj0
= 0 ;
34994 char * kwnames
[] = {
34995 (char *) "ver", NULL
34998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34999 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
35000 if (!SWIG_IsOK(res1
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35006 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
35010 wxPyEndAllowThreads(__tstate
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35022 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35023 PyObject
*resultobj
= 0;
35024 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35028 PyObject
*swig_obj
[1] ;
35030 if (!args
) SWIG_fail
;
35031 swig_obj
[0] = args
;
35032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35033 if (!SWIG_IsOK(res1
)) {
35034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35036 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35037 result
= (int)(int) ((arg1
)->version
);
35038 resultobj
= SWIG_From_int(static_cast< int >(result
));
35045 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35046 PyObject
*resultobj
= 0;
35047 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35051 PyObject
*swig_obj
[1] ;
35053 if (!args
) SWIG_fail
;
35054 swig_obj
[0] = args
;
35055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35056 if (!SWIG_IsOK(res1
)) {
35057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35059 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35060 result
= (int)(int) ((arg1
)->age
);
35061 resultobj
= SWIG_From_int(static_cast< int >(result
));
35068 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35071 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
35072 return SWIG_Py_Void();
35075 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35076 return SWIG_Python_InitShadowInstance(args
);
35079 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35080 PyObject
*resultobj
= 0;
35081 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35082 wxWindow
*arg2
= (wxWindow
*) 0 ;
35085 int arg5
= (int) 0 ;
35086 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35087 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 PyObject
* obj2
= 0 ;
35105 PyObject
* obj3
= 0 ;
35106 PyObject
* obj4
= 0 ;
35107 PyObject
* obj5
= 0 ;
35108 PyObject
* obj6
= 0 ;
35109 char * kwnames
[] = {
35110 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_DrawHeaderButton" "', 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_DrawHeaderButton" "', 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_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', 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_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
35141 arg5
= static_cast< int >(val5
);
35144 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35145 if (!SWIG_IsOK(ecode6
)) {
35146 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35148 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35151 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35152 if (!SWIG_IsOK(res7
)) {
35153 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35155 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35159 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35163 resultobj
= SWIG_From_int(static_cast< int >(result
));
35170 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
= 0;
35172 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35173 wxWindow
*arg2
= (wxWindow
*) 0 ;
35176 int arg5
= (int) 0 ;
35177 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35178 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35193 PyObject
* obj0
= 0 ;
35194 PyObject
* obj1
= 0 ;
35195 PyObject
* obj2
= 0 ;
35196 PyObject
* obj3
= 0 ;
35197 PyObject
* obj4
= 0 ;
35198 PyObject
* obj5
= 0 ;
35199 PyObject
* obj6
= 0 ;
35200 char * kwnames
[] = {
35201 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35206 if (!SWIG_IsOK(res1
)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35209 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35211 if (!SWIG_IsOK(res2
)) {
35212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35214 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35215 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35216 if (!SWIG_IsOK(res3
)) {
35217 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35222 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35225 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35229 if (!SWIG_IsOK(ecode5
)) {
35230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35232 arg5
= static_cast< int >(val5
);
35235 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35236 if (!SWIG_IsOK(ecode6
)) {
35237 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35239 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35242 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35243 if (!SWIG_IsOK(res7
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35246 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35254 resultobj
= SWIG_From_int(static_cast< int >(result
));
35261 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35262 PyObject
*resultobj
= 0;
35263 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35264 wxWindow
*arg2
= (wxWindow
*) 0 ;
35270 PyObject
* obj0
= 0 ;
35271 PyObject
* obj1
= 0 ;
35272 char * kwnames
[] = {
35273 (char *) "self",(char *) "win", NULL
35276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35278 if (!SWIG_IsOK(res1
)) {
35279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35281 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35283 if (!SWIG_IsOK(res2
)) {
35284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35286 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35289 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35290 wxPyEndAllowThreads(__tstate
);
35291 if (PyErr_Occurred()) SWIG_fail
;
35293 resultobj
= SWIG_From_int(static_cast< int >(result
));
35300 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35301 PyObject
*resultobj
= 0;
35302 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35303 wxWindow
*arg2
= (wxWindow
*) 0 ;
35306 int arg5
= (int) 0 ;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 PyObject
* obj2
= 0 ;
35319 PyObject
* obj3
= 0 ;
35320 PyObject
* obj4
= 0 ;
35321 char * kwnames
[] = {
35322 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35327 if (!SWIG_IsOK(res1
)) {
35328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35330 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35332 if (!SWIG_IsOK(res2
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35335 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35336 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35337 if (!SWIG_IsOK(res3
)) {
35338 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35343 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35346 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35350 if (!SWIG_IsOK(ecode5
)) {
35351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35353 arg5
= static_cast< int >(val5
);
35356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35357 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35358 wxPyEndAllowThreads(__tstate
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35361 resultobj
= SWIG_Py_Void();
35368 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35369 PyObject
*resultobj
= 0;
35370 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35371 wxWindow
*arg2
= (wxWindow
*) 0 ;
35374 int arg5
= (int) 0 ;
35384 PyObject
* obj0
= 0 ;
35385 PyObject
* obj1
= 0 ;
35386 PyObject
* obj2
= 0 ;
35387 PyObject
* obj3
= 0 ;
35388 PyObject
* obj4
= 0 ;
35389 char * kwnames
[] = {
35390 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35395 if (!SWIG_IsOK(res1
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35398 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35400 if (!SWIG_IsOK(res2
)) {
35401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35404 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35405 if (!SWIG_IsOK(res3
)) {
35406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35411 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35414 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35417 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35418 if (!SWIG_IsOK(ecode5
)) {
35419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35421 arg5
= static_cast< int >(val5
);
35424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35425 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35426 wxPyEndAllowThreads(__tstate
);
35427 if (PyErr_Occurred()) SWIG_fail
;
35429 resultobj
= SWIG_Py_Void();
35436 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35437 PyObject
*resultobj
= 0;
35438 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35439 wxWindow
*arg2
= (wxWindow
*) 0 ;
35443 wxOrientation arg6
;
35444 int arg7
= (int) 0 ;
35458 PyObject
* obj0
= 0 ;
35459 PyObject
* obj1
= 0 ;
35460 PyObject
* obj2
= 0 ;
35461 PyObject
* obj3
= 0 ;
35462 PyObject
* obj4
= 0 ;
35463 PyObject
* obj5
= 0 ;
35464 PyObject
* obj6
= 0 ;
35465 char * kwnames
[] = {
35466 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35471 if (!SWIG_IsOK(res1
)) {
35472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35474 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35476 if (!SWIG_IsOK(res2
)) {
35477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35479 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35480 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35481 if (!SWIG_IsOK(res3
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35487 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35492 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35493 if (!SWIG_IsOK(ecode5
)) {
35494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35496 arg5
= static_cast< int >(val5
);
35497 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35498 if (!SWIG_IsOK(ecode6
)) {
35499 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35501 arg6
= static_cast< wxOrientation
>(val6
);
35503 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35504 if (!SWIG_IsOK(ecode7
)) {
35505 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35507 arg7
= static_cast< int >(val7
);
35510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35511 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35512 wxPyEndAllowThreads(__tstate
);
35513 if (PyErr_Occurred()) SWIG_fail
;
35515 resultobj
= SWIG_Py_Void();
35522 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35523 PyObject
*resultobj
= 0;
35524 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35525 wxWindow
*arg2
= (wxWindow
*) 0 ;
35528 int arg5
= (int) 0 ;
35538 PyObject
* obj0
= 0 ;
35539 PyObject
* obj1
= 0 ;
35540 PyObject
* obj2
= 0 ;
35541 PyObject
* obj3
= 0 ;
35542 PyObject
* obj4
= 0 ;
35543 char * kwnames
[] = {
35544 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35549 if (!SWIG_IsOK(res1
)) {
35550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35552 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35554 if (!SWIG_IsOK(res2
)) {
35555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35557 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35558 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35559 if (!SWIG_IsOK(res3
)) {
35560 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35565 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35568 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35571 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35572 if (!SWIG_IsOK(ecode5
)) {
35573 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35575 arg5
= static_cast< int >(val5
);
35578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35579 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35580 wxPyEndAllowThreads(__tstate
);
35581 if (PyErr_Occurred()) SWIG_fail
;
35583 resultobj
= SWIG_Py_Void();
35590 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35591 PyObject
*resultobj
= 0;
35592 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35593 wxWindow
*arg2
= (wxWindow
*) 0 ;
35596 int arg5
= (int) 0 ;
35606 PyObject
* obj0
= 0 ;
35607 PyObject
* obj1
= 0 ;
35608 PyObject
* obj2
= 0 ;
35609 PyObject
* obj3
= 0 ;
35610 PyObject
* obj4
= 0 ;
35611 char * kwnames
[] = {
35612 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35617 if (!SWIG_IsOK(res1
)) {
35618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35620 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35622 if (!SWIG_IsOK(res2
)) {
35623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35625 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35626 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35627 if (!SWIG_IsOK(res3
)) {
35628 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35633 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35636 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35639 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35640 if (!SWIG_IsOK(ecode5
)) {
35641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35643 arg5
= static_cast< int >(val5
);
35646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35647 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35648 wxPyEndAllowThreads(__tstate
);
35649 if (PyErr_Occurred()) SWIG_fail
;
35651 resultobj
= SWIG_Py_Void();
35658 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35659 PyObject
*resultobj
= 0;
35660 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35661 wxWindow
*arg2
= (wxWindow
*) 0 ;
35664 int arg5
= (int) 0 ;
35674 PyObject
* obj0
= 0 ;
35675 PyObject
* obj1
= 0 ;
35676 PyObject
* obj2
= 0 ;
35677 PyObject
* obj3
= 0 ;
35678 PyObject
* obj4
= 0 ;
35679 char * kwnames
[] = {
35680 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35685 if (!SWIG_IsOK(res1
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35688 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35690 if (!SWIG_IsOK(res2
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35693 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35694 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35695 if (!SWIG_IsOK(res3
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35701 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35704 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35708 if (!SWIG_IsOK(ecode5
)) {
35709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35711 arg5
= static_cast< int >(val5
);
35714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35715 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35716 wxPyEndAllowThreads(__tstate
);
35717 if (PyErr_Occurred()) SWIG_fail
;
35719 resultobj
= SWIG_Py_Void();
35726 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35727 PyObject
*resultobj
= 0;
35728 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35729 wxWindow
*arg2
= (wxWindow
*) 0 ;
35732 int arg5
= (int) 0 ;
35742 PyObject
* obj0
= 0 ;
35743 PyObject
* obj1
= 0 ;
35744 PyObject
* obj2
= 0 ;
35745 PyObject
* obj3
= 0 ;
35746 PyObject
* obj4
= 0 ;
35747 char * kwnames
[] = {
35748 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35753 if (!SWIG_IsOK(res1
)) {
35754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35756 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35757 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35758 if (!SWIG_IsOK(res2
)) {
35759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35761 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35762 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35763 if (!SWIG_IsOK(res3
)) {
35764 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35769 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35772 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35775 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35776 if (!SWIG_IsOK(ecode5
)) {
35777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35779 arg5
= static_cast< int >(val5
);
35782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35783 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35784 wxPyEndAllowThreads(__tstate
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35787 resultobj
= SWIG_Py_Void();
35794 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35795 PyObject
*resultobj
= 0;
35796 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35797 wxWindow
*arg2
= (wxWindow
*) 0 ;
35800 int arg5
= (int) 0 ;
35810 PyObject
* obj0
= 0 ;
35811 PyObject
* obj1
= 0 ;
35812 PyObject
* obj2
= 0 ;
35813 PyObject
* obj3
= 0 ;
35814 PyObject
* obj4
= 0 ;
35815 char * kwnames
[] = {
35816 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35821 if (!SWIG_IsOK(res1
)) {
35822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35824 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35826 if (!SWIG_IsOK(res2
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35830 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35831 if (!SWIG_IsOK(res3
)) {
35832 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35837 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35840 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35844 if (!SWIG_IsOK(ecode5
)) {
35845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35847 arg5
= static_cast< int >(val5
);
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35852 wxPyEndAllowThreads(__tstate
);
35853 if (PyErr_Occurred()) SWIG_fail
;
35855 resultobj
= SWIG_Py_Void();
35862 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35863 PyObject
*resultobj
= 0;
35864 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35865 wxWindow
*arg2
= (wxWindow
*) 0 ;
35866 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35871 PyObject
* obj0
= 0 ;
35872 PyObject
* obj1
= 0 ;
35873 char * kwnames
[] = {
35874 (char *) "self",(char *) "win", NULL
35877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35879 if (!SWIG_IsOK(res1
)) {
35880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35882 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35884 if (!SWIG_IsOK(res2
)) {
35885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35890 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35901 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35902 PyObject
*resultobj
= 0;
35903 wxRendererNative
*result
= 0 ;
35905 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35907 if (!wxPyCheckForApp()) SWIG_fail
;
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35910 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35911 result
= (wxRendererNative
*) &_result_ref
;
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35923 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35924 PyObject
*resultobj
= 0;
35925 wxRendererNative
*result
= 0 ;
35927 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35929 if (!wxPyCheckForApp()) SWIG_fail
;
35930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35933 result
= (wxRendererNative
*) &_result_ref
;
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35945 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35946 PyObject
*resultobj
= 0;
35947 wxRendererNative
*result
= 0 ;
35949 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35951 if (!wxPyCheckForApp()) SWIG_fail
;
35952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35954 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35955 result
= (wxRendererNative
*) &_result_ref
;
35957 wxPyEndAllowThreads(__tstate
);
35958 if (PyErr_Occurred()) SWIG_fail
;
35960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35967 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35968 PyObject
*resultobj
= 0;
35969 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35970 wxRendererNative
*result
= 0 ;
35973 PyObject
* obj0
= 0 ;
35974 char * kwnames
[] = {
35975 (char *) "renderer", NULL
35978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35980 if (!SWIG_IsOK(res1
)) {
35981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35983 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35985 if (!wxPyCheckForApp()) SWIG_fail
;
35986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35987 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35988 wxPyEndAllowThreads(__tstate
);
35989 if (PyErr_Occurred()) SWIG_fail
;
35991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35998 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35999 PyObject
*resultobj
= 0;
36000 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36001 SwigValueWrapper
<wxRendererVersion
> result
;
36004 PyObject
*swig_obj
[1] ;
36006 if (!args
) SWIG_fail
;
36007 swig_obj
[0] = args
;
36008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36009 if (!SWIG_IsOK(res1
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
36012 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36015 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
36016 wxPyEndAllowThreads(__tstate
);
36017 if (PyErr_Occurred()) SWIG_fail
;
36019 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
36026 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36029 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
36030 return SWIG_Py_Void();
36033 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36034 PyObject
*resultobj
= 0;
36035 wxPseudoDC
*result
= 0 ;
36037 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
36039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36040 result
= (wxPseudoDC
*)new wxPseudoDC();
36041 wxPyEndAllowThreads(__tstate
);
36042 if (PyErr_Occurred()) SWIG_fail
;
36044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
36051 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36052 PyObject
*resultobj
= 0;
36053 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36056 PyObject
*swig_obj
[1] ;
36058 if (!args
) SWIG_fail
;
36059 swig_obj
[0] = args
;
36060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36061 if (!SWIG_IsOK(res1
)) {
36062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36064 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36067 (arg1
)->BeginDrawing();
36068 wxPyEndAllowThreads(__tstate
);
36069 if (PyErr_Occurred()) SWIG_fail
;
36071 resultobj
= SWIG_Py_Void();
36078 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36079 PyObject
*resultobj
= 0;
36080 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36083 PyObject
*swig_obj
[1] ;
36085 if (!args
) SWIG_fail
;
36086 swig_obj
[0] = args
;
36087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36088 if (!SWIG_IsOK(res1
)) {
36089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 (arg1
)->EndDrawing();
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= SWIG_Py_Void();
36105 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36106 PyObject
*resultobj
= 0;
36107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36110 PyObject
*swig_obj
[1] ;
36112 if (!args
) SWIG_fail
;
36113 swig_obj
[0] = args
;
36114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
36115 if (!SWIG_IsOK(res1
)) {
36116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36118 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36123 wxPyEndAllowThreads(__tstate
);
36124 if (PyErr_Occurred()) SWIG_fail
;
36126 resultobj
= SWIG_Py_Void();
36133 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36134 PyObject
*resultobj
= 0;
36135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36138 PyObject
*swig_obj
[1] ;
36140 if (!args
) SWIG_fail
;
36141 swig_obj
[0] = args
;
36142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36143 if (!SWIG_IsOK(res1
)) {
36144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36149 (arg1
)->RemoveAll();
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= SWIG_Py_Void();
36160 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36161 PyObject
*resultobj
= 0;
36162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36166 PyObject
*swig_obj
[1] ;
36168 if (!args
) SWIG_fail
;
36169 swig_obj
[0] = args
;
36170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36171 if (!SWIG_IsOK(res1
)) {
36172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 result
= (int)(arg1
)->GetLen();
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36181 resultobj
= SWIG_From_int(static_cast< int >(result
));
36188 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36189 PyObject
*resultobj
= 0;
36190 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36196 PyObject
* obj0
= 0 ;
36197 PyObject
* obj1
= 0 ;
36198 char * kwnames
[] = {
36199 (char *) "self",(char *) "id", NULL
36202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36204 if (!SWIG_IsOK(res1
)) {
36205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36207 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36209 if (!SWIG_IsOK(ecode2
)) {
36210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36212 arg2
= static_cast< int >(val2
);
36214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36215 (arg1
)->SetId(arg2
);
36216 wxPyEndAllowThreads(__tstate
);
36217 if (PyErr_Occurred()) SWIG_fail
;
36219 resultobj
= SWIG_Py_Void();
36226 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36227 PyObject
*resultobj
= 0;
36228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36234 PyObject
* obj0
= 0 ;
36235 PyObject
* obj1
= 0 ;
36236 char * kwnames
[] = {
36237 (char *) "self",(char *) "id", NULL
36240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36242 if (!SWIG_IsOK(res1
)) {
36243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36247 if (!SWIG_IsOK(ecode2
)) {
36248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36250 arg2
= static_cast< int >(val2
);
36252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36253 (arg1
)->ClearId(arg2
);
36254 wxPyEndAllowThreads(__tstate
);
36255 if (PyErr_Occurred()) SWIG_fail
;
36257 resultobj
= SWIG_Py_Void();
36264 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36265 PyObject
*resultobj
= 0;
36266 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36272 PyObject
* obj0
= 0 ;
36273 PyObject
* obj1
= 0 ;
36274 char * kwnames
[] = {
36275 (char *) "self",(char *) "id", NULL
36278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36280 if (!SWIG_IsOK(res1
)) {
36281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36283 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36285 if (!SWIG_IsOK(ecode2
)) {
36286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36288 arg2
= static_cast< int >(val2
);
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 (arg1
)->RemoveId(arg2
);
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36295 resultobj
= SWIG_Py_Void();
36302 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36303 PyObject
*resultobj
= 0;
36304 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36316 PyObject
* obj0
= 0 ;
36317 PyObject
* obj1
= 0 ;
36318 PyObject
* obj2
= 0 ;
36319 PyObject
* obj3
= 0 ;
36320 char * kwnames
[] = {
36321 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36326 if (!SWIG_IsOK(res1
)) {
36327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36329 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36331 if (!SWIG_IsOK(ecode2
)) {
36332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36334 arg2
= static_cast< int >(val2
);
36335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36336 if (!SWIG_IsOK(ecode3
)) {
36337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36339 arg3
= static_cast< int >(val3
);
36340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36341 if (!SWIG_IsOK(ecode4
)) {
36342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36344 arg4
= static_cast< int >(val4
);
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36348 wxPyEndAllowThreads(__tstate
);
36349 if (PyErr_Occurred()) SWIG_fail
;
36351 resultobj
= SWIG_Py_Void();
36358 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36359 PyObject
*resultobj
= 0;
36360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36362 bool arg3
= (bool) true ;
36369 PyObject
* obj0
= 0 ;
36370 PyObject
* obj1
= 0 ;
36371 PyObject
* obj2
= 0 ;
36372 char * kwnames
[] = {
36373 (char *) "self",(char *) "id",(char *) "greyout", NULL
36376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36378 if (!SWIG_IsOK(res1
)) {
36379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36381 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36383 if (!SWIG_IsOK(ecode2
)) {
36384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36386 arg2
= static_cast< int >(val2
);
36388 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36389 if (!SWIG_IsOK(ecode3
)) {
36390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36392 arg3
= static_cast< bool >(val3
);
36395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36396 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36397 wxPyEndAllowThreads(__tstate
);
36398 if (PyErr_Occurred()) SWIG_fail
;
36400 resultobj
= SWIG_Py_Void();
36407 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36408 PyObject
*resultobj
= 0;
36409 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36416 PyObject
* obj0
= 0 ;
36417 PyObject
* obj1
= 0 ;
36418 char * kwnames
[] = {
36419 (char *) "self",(char *) "id", NULL
36422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36424 if (!SWIG_IsOK(res1
)) {
36425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36427 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36429 if (!SWIG_IsOK(ecode2
)) {
36430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36432 arg2
= static_cast< int >(val2
);
36434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36435 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36436 wxPyEndAllowThreads(__tstate
);
36437 if (PyErr_Occurred()) SWIG_fail
;
36440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36448 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36449 PyObject
*resultobj
= 0;
36450 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36453 int arg4
= (int) 1 ;
36454 wxColor
const &arg5_defvalue
= *wxWHITE
;
36455 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36456 PyObject
*result
= 0 ;
36467 PyObject
* obj0
= 0 ;
36468 PyObject
* obj1
= 0 ;
36469 PyObject
* obj2
= 0 ;
36470 PyObject
* obj3
= 0 ;
36471 PyObject
* obj4
= 0 ;
36472 char * kwnames
[] = {
36473 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36478 if (!SWIG_IsOK(res1
)) {
36479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36483 if (!SWIG_IsOK(ecode2
)) {
36484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36486 arg2
= static_cast< int >(val2
);
36487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36488 if (!SWIG_IsOK(ecode3
)) {
36489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36491 arg3
= static_cast< int >(val3
);
36493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36494 if (!SWIG_IsOK(ecode4
)) {
36495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36497 arg4
= static_cast< int >(val4
);
36500 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36501 if (!SWIG_IsOK(res5
)) {
36502 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36507 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36510 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= result
;
36520 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
= 0;
36522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36525 PyObject
*result
= 0 ;
36532 PyObject
* obj0
= 0 ;
36533 PyObject
* obj1
= 0 ;
36534 PyObject
* obj2
= 0 ;
36535 char * kwnames
[] = {
36536 (char *) "self",(char *) "x",(char *) "y", NULL
36539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36541 if (!SWIG_IsOK(res1
)) {
36542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36544 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36546 if (!SWIG_IsOK(ecode2
)) {
36547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36549 arg2
= static_cast< int >(val2
);
36550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36551 if (!SWIG_IsOK(ecode3
)) {
36552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36554 arg3
= static_cast< int >(val3
);
36556 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36557 if (PyErr_Occurred()) SWIG_fail
;
36559 resultobj
= result
;
36566 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36567 PyObject
*resultobj
= 0;
36568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36570 wxDC
*arg3
= (wxDC
*) 0 ;
36577 PyObject
* obj0
= 0 ;
36578 PyObject
* obj1
= 0 ;
36579 PyObject
* obj2
= 0 ;
36580 char * kwnames
[] = {
36581 (char *) "self",(char *) "id",(char *) "dc", NULL
36584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36586 if (!SWIG_IsOK(res1
)) {
36587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36589 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36591 if (!SWIG_IsOK(ecode2
)) {
36592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36594 arg2
= static_cast< int >(val2
);
36595 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36596 if (!SWIG_IsOK(res3
)) {
36597 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36599 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36602 (arg1
)->DrawIdToDC(arg2
,arg3
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 resultobj
= SWIG_Py_Void();
36613 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36614 PyObject
*resultobj
= 0;
36615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36623 PyObject
* obj0
= 0 ;
36624 PyObject
* obj1
= 0 ;
36625 PyObject
* obj2
= 0 ;
36626 char * kwnames
[] = {
36627 (char *) "self",(char *) "id",(char *) "rect", NULL
36630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36632 if (!SWIG_IsOK(res1
)) {
36633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36635 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36637 if (!SWIG_IsOK(ecode2
)) {
36638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36640 arg2
= static_cast< int >(val2
);
36643 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 (arg1
)->SetIdBounds(arg2
,*arg3
);
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 resultobj
= SWIG_Py_Void();
36658 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36659 PyObject
*resultobj
= 0;
36660 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36667 PyObject
* obj0
= 0 ;
36668 PyObject
* obj1
= 0 ;
36669 char * kwnames
[] = {
36670 (char *) "self",(char *) "id", NULL
36673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36675 if (!SWIG_IsOK(res1
)) {
36676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36678 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36680 if (!SWIG_IsOK(ecode2
)) {
36681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36683 arg2
= static_cast< int >(val2
);
36685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36686 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36687 wxPyEndAllowThreads(__tstate
);
36688 if (PyErr_Occurred()) SWIG_fail
;
36690 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36697 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36698 PyObject
*resultobj
= 0;
36699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36700 wxDC
*arg2
= (wxDC
*) 0 ;
36707 PyObject
* obj0
= 0 ;
36708 PyObject
* obj1
= 0 ;
36709 PyObject
* obj2
= 0 ;
36710 char * kwnames
[] = {
36711 (char *) "self",(char *) "dc",(char *) "rect", NULL
36714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36716 if (!SWIG_IsOK(res1
)) {
36717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36719 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36721 if (!SWIG_IsOK(res2
)) {
36722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36724 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36727 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36731 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= SWIG_Py_Void();
36742 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36743 PyObject
*resultobj
= 0;
36744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36745 wxDC
*arg2
= (wxDC
*) 0 ;
36746 wxRegion
*arg3
= 0 ;
36753 PyObject
* obj0
= 0 ;
36754 PyObject
* obj1
= 0 ;
36755 PyObject
* obj2
= 0 ;
36756 char * kwnames
[] = {
36757 (char *) "self",(char *) "dc",(char *) "region", NULL
36760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36762 if (!SWIG_IsOK(res1
)) {
36763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36765 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36767 if (!SWIG_IsOK(res2
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36770 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36771 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36772 if (!SWIG_IsOK(res3
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36778 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= SWIG_Py_Void();
36792 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36793 PyObject
*resultobj
= 0;
36794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36795 wxDC
*arg2
= (wxDC
*) 0 ;
36800 PyObject
* obj0
= 0 ;
36801 PyObject
* obj1
= 0 ;
36802 char * kwnames
[] = {
36803 (char *) "self",(char *) "dc", NULL
36806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36808 if (!SWIG_IsOK(res1
)) {
36809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36813 if (!SWIG_IsOK(res2
)) {
36814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36816 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36819 (arg1
)->DrawToDC(arg2
);
36820 wxPyEndAllowThreads(__tstate
);
36821 if (PyErr_Occurred()) SWIG_fail
;
36823 resultobj
= SWIG_Py_Void();
36830 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36831 PyObject
*resultobj
= 0;
36832 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36835 wxColour
*arg4
= 0 ;
36836 int arg5
= (int) wxFLOOD_SURFACE
;
36846 PyObject
* obj0
= 0 ;
36847 PyObject
* obj1
= 0 ;
36848 PyObject
* obj2
= 0 ;
36849 PyObject
* obj3
= 0 ;
36850 PyObject
* obj4
= 0 ;
36851 char * kwnames
[] = {
36852 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36857 if (!SWIG_IsOK(res1
)) {
36858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36860 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36862 if (!SWIG_IsOK(ecode2
)) {
36863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36865 arg2
= static_cast< int >(val2
);
36866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36867 if (!SWIG_IsOK(ecode3
)) {
36868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36870 arg3
= static_cast< int >(val3
);
36873 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36876 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36877 if (!SWIG_IsOK(ecode5
)) {
36878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36880 arg5
= static_cast< int >(val5
);
36883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36884 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36885 wxPyEndAllowThreads(__tstate
);
36886 if (PyErr_Occurred()) SWIG_fail
;
36888 resultobj
= SWIG_Py_Void();
36895 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36896 PyObject
*resultobj
= 0;
36897 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36898 wxPoint
*arg2
= 0 ;
36899 wxColour
*arg3
= 0 ;
36900 int arg4
= (int) wxFLOOD_SURFACE
;
36907 PyObject
* obj0
= 0 ;
36908 PyObject
* obj1
= 0 ;
36909 PyObject
* obj2
= 0 ;
36910 PyObject
* obj3
= 0 ;
36911 char * kwnames
[] = {
36912 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36917 if (!SWIG_IsOK(res1
)) {
36918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36927 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36931 if (!SWIG_IsOK(ecode4
)) {
36932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36934 arg4
= static_cast< int >(val4
);
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36942 resultobj
= SWIG_Py_Void();
36949 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36950 PyObject
*resultobj
= 0;
36951 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36966 PyObject
* obj0
= 0 ;
36967 PyObject
* obj1
= 0 ;
36968 PyObject
* obj2
= 0 ;
36969 PyObject
* obj3
= 0 ;
36970 PyObject
* obj4
= 0 ;
36971 char * kwnames
[] = {
36972 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36977 if (!SWIG_IsOK(res1
)) {
36978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36980 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36982 if (!SWIG_IsOK(ecode2
)) {
36983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36985 arg2
= static_cast< int >(val2
);
36986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36987 if (!SWIG_IsOK(ecode3
)) {
36988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36990 arg3
= static_cast< int >(val3
);
36991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36992 if (!SWIG_IsOK(ecode4
)) {
36993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36995 arg4
= static_cast< int >(val4
);
36996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36997 if (!SWIG_IsOK(ecode5
)) {
36998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
37000 arg5
= static_cast< int >(val5
);
37002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37003 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
37004 wxPyEndAllowThreads(__tstate
);
37005 if (PyErr_Occurred()) SWIG_fail
;
37007 resultobj
= SWIG_Py_Void();
37014 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37015 PyObject
*resultobj
= 0;
37016 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37017 wxPoint
*arg2
= 0 ;
37018 wxPoint
*arg3
= 0 ;
37023 PyObject
* obj0
= 0 ;
37024 PyObject
* obj1
= 0 ;
37025 PyObject
* obj2
= 0 ;
37026 char * kwnames
[] = {
37027 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
37030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37032 if (!SWIG_IsOK(res1
)) {
37033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37046 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
37047 wxPyEndAllowThreads(__tstate
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37050 resultobj
= SWIG_Py_Void();
37057 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37058 PyObject
*resultobj
= 0;
37059 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37068 PyObject
* obj0
= 0 ;
37069 PyObject
* obj1
= 0 ;
37070 PyObject
* obj2
= 0 ;
37071 char * kwnames
[] = {
37072 (char *) "self",(char *) "x",(char *) "y", NULL
37075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37077 if (!SWIG_IsOK(res1
)) {
37078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37080 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37082 if (!SWIG_IsOK(ecode2
)) {
37083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
37085 arg2
= static_cast< int >(val2
);
37086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37087 if (!SWIG_IsOK(ecode3
)) {
37088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
37090 arg3
= static_cast< int >(val3
);
37092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37093 (arg1
)->CrossHair(arg2
,arg3
);
37094 wxPyEndAllowThreads(__tstate
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37097 resultobj
= SWIG_Py_Void();
37104 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37105 PyObject
*resultobj
= 0;
37106 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37107 wxPoint
*arg2
= 0 ;
37111 PyObject
* obj0
= 0 ;
37112 PyObject
* obj1
= 0 ;
37113 char * kwnames
[] = {
37114 (char *) "self",(char *) "pt", NULL
37117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37119 if (!SWIG_IsOK(res1
)) {
37120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37122 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37129 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
37130 wxPyEndAllowThreads(__tstate
);
37131 if (PyErr_Occurred()) SWIG_fail
;
37133 resultobj
= SWIG_Py_Void();
37140 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
= 0;
37142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37163 PyObject
* obj0
= 0 ;
37164 PyObject
* obj1
= 0 ;
37165 PyObject
* obj2
= 0 ;
37166 PyObject
* obj3
= 0 ;
37167 PyObject
* obj4
= 0 ;
37168 PyObject
* obj5
= 0 ;
37169 PyObject
* obj6
= 0 ;
37170 char * kwnames
[] = {
37171 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37176 if (!SWIG_IsOK(res1
)) {
37177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37179 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37181 if (!SWIG_IsOK(ecode2
)) {
37182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37184 arg2
= static_cast< int >(val2
);
37185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37186 if (!SWIG_IsOK(ecode3
)) {
37187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37189 arg3
= static_cast< int >(val3
);
37190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37191 if (!SWIG_IsOK(ecode4
)) {
37192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37194 arg4
= static_cast< int >(val4
);
37195 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37196 if (!SWIG_IsOK(ecode5
)) {
37197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37199 arg5
= static_cast< int >(val5
);
37200 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37201 if (!SWIG_IsOK(ecode6
)) {
37202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37204 arg6
= static_cast< int >(val6
);
37205 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37206 if (!SWIG_IsOK(ecode7
)) {
37207 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37209 arg7
= static_cast< int >(val7
);
37211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37212 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37213 wxPyEndAllowThreads(__tstate
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37216 resultobj
= SWIG_Py_Void();
37223 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37224 PyObject
*resultobj
= 0;
37225 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37226 wxPoint
*arg2
= 0 ;
37227 wxPoint
*arg3
= 0 ;
37228 wxPoint
*arg4
= 0 ;
37234 PyObject
* obj0
= 0 ;
37235 PyObject
* obj1
= 0 ;
37236 PyObject
* obj2
= 0 ;
37237 PyObject
* obj3
= 0 ;
37238 char * kwnames
[] = {
37239 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37244 if (!SWIG_IsOK(res1
)) {
37245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37250 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37254 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37262 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37263 wxPyEndAllowThreads(__tstate
);
37264 if (PyErr_Occurred()) SWIG_fail
;
37266 resultobj
= SWIG_Py_Void();
37273 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37274 PyObject
*resultobj
= 0;
37275 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37290 PyObject
* obj0
= 0 ;
37291 PyObject
* obj1
= 0 ;
37292 PyObject
* obj2
= 0 ;
37293 PyObject
* obj3
= 0 ;
37294 PyObject
* obj4
= 0 ;
37295 char * kwnames
[] = {
37296 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37301 if (!SWIG_IsOK(res1
)) {
37302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37306 if (!SWIG_IsOK(ecode2
)) {
37307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37309 arg2
= static_cast< int >(val2
);
37310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37311 if (!SWIG_IsOK(ecode3
)) {
37312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37314 arg3
= static_cast< int >(val3
);
37315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37316 if (!SWIG_IsOK(ecode4
)) {
37317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37319 arg4
= static_cast< int >(val4
);
37320 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37321 if (!SWIG_IsOK(ecode5
)) {
37322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37324 arg5
= static_cast< int >(val5
);
37326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37327 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37328 wxPyEndAllowThreads(__tstate
);
37329 if (PyErr_Occurred()) SWIG_fail
;
37331 resultobj
= SWIG_Py_Void();
37338 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37339 PyObject
*resultobj
= 0;
37340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37345 PyObject
* obj0
= 0 ;
37346 PyObject
* obj1
= 0 ;
37347 char * kwnames
[] = {
37348 (char *) "self",(char *) "rect", NULL
37351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37353 if (!SWIG_IsOK(res1
)) {
37354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37363 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37364 wxPyEndAllowThreads(__tstate
);
37365 if (PyErr_Occurred()) SWIG_fail
;
37367 resultobj
= SWIG_Py_Void();
37374 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37375 PyObject
*resultobj
= 0;
37376 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37397 PyObject
* obj0
= 0 ;
37398 PyObject
* obj1
= 0 ;
37399 PyObject
* obj2
= 0 ;
37400 PyObject
* obj3
= 0 ;
37401 PyObject
* obj4
= 0 ;
37402 PyObject
* obj5
= 0 ;
37403 PyObject
* obj6
= 0 ;
37404 char * kwnames
[] = {
37405 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37410 if (!SWIG_IsOK(res1
)) {
37411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37413 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37415 if (!SWIG_IsOK(ecode2
)) {
37416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37418 arg2
= static_cast< int >(val2
);
37419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37420 if (!SWIG_IsOK(ecode3
)) {
37421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37423 arg3
= static_cast< int >(val3
);
37424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37425 if (!SWIG_IsOK(ecode4
)) {
37426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37428 arg4
= static_cast< int >(val4
);
37429 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37430 if (!SWIG_IsOK(ecode5
)) {
37431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37433 arg5
= static_cast< int >(val5
);
37434 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37435 if (!SWIG_IsOK(ecode6
)) {
37436 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37438 arg6
= static_cast< double >(val6
);
37439 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37440 if (!SWIG_IsOK(ecode7
)) {
37441 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37443 arg7
= static_cast< double >(val7
);
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37447 wxPyEndAllowThreads(__tstate
);
37448 if (PyErr_Occurred()) SWIG_fail
;
37450 resultobj
= SWIG_Py_Void();
37457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37458 PyObject
*resultobj
= 0;
37459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37460 wxPoint
*arg2
= 0 ;
37472 PyObject
* obj0
= 0 ;
37473 PyObject
* obj1
= 0 ;
37474 PyObject
* obj2
= 0 ;
37475 PyObject
* obj3
= 0 ;
37476 PyObject
* obj4
= 0 ;
37477 char * kwnames
[] = {
37478 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37483 if (!SWIG_IsOK(res1
)) {
37484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37493 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37495 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37496 if (!SWIG_IsOK(ecode4
)) {
37497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37499 arg4
= static_cast< double >(val4
);
37500 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37501 if (!SWIG_IsOK(ecode5
)) {
37502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37504 arg5
= static_cast< double >(val5
);
37506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37507 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37508 wxPyEndAllowThreads(__tstate
);
37509 if (PyErr_Occurred()) SWIG_fail
;
37511 resultobj
= SWIG_Py_Void();
37518 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37519 PyObject
*resultobj
= 0;
37520 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37529 PyObject
* obj0
= 0 ;
37530 PyObject
* obj1
= 0 ;
37531 PyObject
* obj2
= 0 ;
37532 char * kwnames
[] = {
37533 (char *) "self",(char *) "x",(char *) "y", NULL
37536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37538 if (!SWIG_IsOK(res1
)) {
37539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37541 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37543 if (!SWIG_IsOK(ecode2
)) {
37544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37546 arg2
= static_cast< int >(val2
);
37547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37548 if (!SWIG_IsOK(ecode3
)) {
37549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37551 arg3
= static_cast< int >(val3
);
37553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37554 (arg1
)->DrawPoint(arg2
,arg3
);
37555 wxPyEndAllowThreads(__tstate
);
37556 if (PyErr_Occurred()) SWIG_fail
;
37558 resultobj
= SWIG_Py_Void();
37565 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37566 PyObject
*resultobj
= 0;
37567 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37568 wxPoint
*arg2
= 0 ;
37572 PyObject
* obj0
= 0 ;
37573 PyObject
* obj1
= 0 ;
37574 char * kwnames
[] = {
37575 (char *) "self",(char *) "pt", NULL
37578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37580 if (!SWIG_IsOK(res1
)) {
37581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37583 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37590 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37594 resultobj
= SWIG_Py_Void();
37601 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37602 PyObject
*resultobj
= 0;
37603 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37618 PyObject
* obj0
= 0 ;
37619 PyObject
* obj1
= 0 ;
37620 PyObject
* obj2
= 0 ;
37621 PyObject
* obj3
= 0 ;
37622 PyObject
* obj4
= 0 ;
37623 char * kwnames
[] = {
37624 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37629 if (!SWIG_IsOK(res1
)) {
37630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37632 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37634 if (!SWIG_IsOK(ecode2
)) {
37635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37637 arg2
= static_cast< int >(val2
);
37638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37639 if (!SWIG_IsOK(ecode3
)) {
37640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37642 arg3
= static_cast< int >(val3
);
37643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37644 if (!SWIG_IsOK(ecode4
)) {
37645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37647 arg4
= static_cast< int >(val4
);
37648 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37649 if (!SWIG_IsOK(ecode5
)) {
37650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37652 arg5
= static_cast< int >(val5
);
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37659 resultobj
= SWIG_Py_Void();
37666 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
= 0;
37668 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37673 PyObject
* obj0
= 0 ;
37674 PyObject
* obj1
= 0 ;
37675 char * kwnames
[] = {
37676 (char *) "self",(char *) "rect", NULL
37679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37681 if (!SWIG_IsOK(res1
)) {
37682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37684 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37687 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37691 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37695 resultobj
= SWIG_Py_Void();
37702 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37703 PyObject
*resultobj
= 0;
37704 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37705 wxPoint
*arg2
= 0 ;
37711 PyObject
* obj0
= 0 ;
37712 PyObject
* obj1
= 0 ;
37713 PyObject
* obj2
= 0 ;
37714 char * kwnames
[] = {
37715 (char *) "self",(char *) "pt",(char *) "sz", NULL
37718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37720 if (!SWIG_IsOK(res1
)) {
37721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37723 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37730 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37734 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37735 wxPyEndAllowThreads(__tstate
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37738 resultobj
= SWIG_Py_Void();
37745 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37746 PyObject
*resultobj
= 0;
37747 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37765 PyObject
* obj0
= 0 ;
37766 PyObject
* obj1
= 0 ;
37767 PyObject
* obj2
= 0 ;
37768 PyObject
* obj3
= 0 ;
37769 PyObject
* obj4
= 0 ;
37770 PyObject
* obj5
= 0 ;
37771 char * kwnames
[] = {
37772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37777 if (!SWIG_IsOK(res1
)) {
37778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37780 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37782 if (!SWIG_IsOK(ecode2
)) {
37783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37785 arg2
= static_cast< int >(val2
);
37786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37787 if (!SWIG_IsOK(ecode3
)) {
37788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37790 arg3
= static_cast< int >(val3
);
37791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37792 if (!SWIG_IsOK(ecode4
)) {
37793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37795 arg4
= static_cast< int >(val4
);
37796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37797 if (!SWIG_IsOK(ecode5
)) {
37798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37800 arg5
= static_cast< int >(val5
);
37801 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37802 if (!SWIG_IsOK(ecode6
)) {
37803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37805 arg6
= static_cast< double >(val6
);
37807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37808 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37812 resultobj
= SWIG_Py_Void();
37819 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37820 PyObject
*resultobj
= 0;
37821 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37829 PyObject
* obj0
= 0 ;
37830 PyObject
* obj1
= 0 ;
37831 PyObject
* obj2
= 0 ;
37832 char * kwnames
[] = {
37833 (char *) "self",(char *) "r",(char *) "radius", NULL
37836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37838 if (!SWIG_IsOK(res1
)) {
37839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37844 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37846 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37847 if (!SWIG_IsOK(ecode3
)) {
37848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37850 arg3
= static_cast< double >(val3
);
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37857 resultobj
= SWIG_Py_Void();
37864 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37865 PyObject
*resultobj
= 0;
37866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37867 wxPoint
*arg2
= 0 ;
37876 PyObject
* obj0
= 0 ;
37877 PyObject
* obj1
= 0 ;
37878 PyObject
* obj2
= 0 ;
37879 PyObject
* obj3
= 0 ;
37880 char * kwnames
[] = {
37881 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37886 if (!SWIG_IsOK(res1
)) {
37887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37896 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37898 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37899 if (!SWIG_IsOK(ecode4
)) {
37900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37902 arg4
= static_cast< double >(val4
);
37904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37905 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37906 wxPyEndAllowThreads(__tstate
);
37907 if (PyErr_Occurred()) SWIG_fail
;
37909 resultobj
= SWIG_Py_Void();
37916 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37917 PyObject
*resultobj
= 0;
37918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37930 PyObject
* obj0
= 0 ;
37931 PyObject
* obj1
= 0 ;
37932 PyObject
* obj2
= 0 ;
37933 PyObject
* obj3
= 0 ;
37934 char * kwnames
[] = {
37935 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37940 if (!SWIG_IsOK(res1
)) {
37941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37945 if (!SWIG_IsOK(ecode2
)) {
37946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37948 arg2
= static_cast< int >(val2
);
37949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37950 if (!SWIG_IsOK(ecode3
)) {
37951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37953 arg3
= static_cast< int >(val3
);
37954 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37955 if (!SWIG_IsOK(ecode4
)) {
37956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37958 arg4
= static_cast< int >(val4
);
37960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37961 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37962 wxPyEndAllowThreads(__tstate
);
37963 if (PyErr_Occurred()) SWIG_fail
;
37965 resultobj
= SWIG_Py_Void();
37972 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37973 PyObject
*resultobj
= 0;
37974 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37975 wxPoint
*arg2
= 0 ;
37982 PyObject
* obj0
= 0 ;
37983 PyObject
* obj1
= 0 ;
37984 PyObject
* obj2
= 0 ;
37985 char * kwnames
[] = {
37986 (char *) "self",(char *) "pt",(char *) "radius", NULL
37989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37991 if (!SWIG_IsOK(res1
)) {
37992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38000 if (!SWIG_IsOK(ecode3
)) {
38001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
38003 arg3
= static_cast< int >(val3
);
38005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38006 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
38007 wxPyEndAllowThreads(__tstate
);
38008 if (PyErr_Occurred()) SWIG_fail
;
38010 resultobj
= SWIG_Py_Void();
38017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38018 PyObject
*resultobj
= 0;
38019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38034 PyObject
* obj0
= 0 ;
38035 PyObject
* obj1
= 0 ;
38036 PyObject
* obj2
= 0 ;
38037 PyObject
* obj3
= 0 ;
38038 PyObject
* obj4
= 0 ;
38039 char * kwnames
[] = {
38040 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38045 if (!SWIG_IsOK(res1
)) {
38046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38048 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38050 if (!SWIG_IsOK(ecode2
)) {
38051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
38053 arg2
= static_cast< int >(val2
);
38054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38055 if (!SWIG_IsOK(ecode3
)) {
38056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
38058 arg3
= static_cast< int >(val3
);
38059 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38060 if (!SWIG_IsOK(ecode4
)) {
38061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
38063 arg4
= static_cast< int >(val4
);
38064 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38065 if (!SWIG_IsOK(ecode5
)) {
38066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
38068 arg5
= static_cast< int >(val5
);
38070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38071 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
38072 wxPyEndAllowThreads(__tstate
);
38073 if (PyErr_Occurred()) SWIG_fail
;
38075 resultobj
= SWIG_Py_Void();
38082 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38083 PyObject
*resultobj
= 0;
38084 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38089 PyObject
* obj0
= 0 ;
38090 PyObject
* obj1
= 0 ;
38091 char * kwnames
[] = {
38092 (char *) "self",(char *) "rect", NULL
38095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38097 if (!SWIG_IsOK(res1
)) {
38098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38103 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38107 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
38108 wxPyEndAllowThreads(__tstate
);
38109 if (PyErr_Occurred()) SWIG_fail
;
38111 resultobj
= SWIG_Py_Void();
38118 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38119 PyObject
*resultobj
= 0;
38120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38121 wxPoint
*arg2
= 0 ;
38127 PyObject
* obj0
= 0 ;
38128 PyObject
* obj1
= 0 ;
38129 PyObject
* obj2
= 0 ;
38130 char * kwnames
[] = {
38131 (char *) "self",(char *) "pt",(char *) "sz", NULL
38134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38136 if (!SWIG_IsOK(res1
)) {
38137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38146 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38150 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38151 wxPyEndAllowThreads(__tstate
);
38152 if (PyErr_Occurred()) SWIG_fail
;
38154 resultobj
= SWIG_Py_Void();
38161 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38162 PyObject
*resultobj
= 0;
38163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38175 PyObject
* obj0
= 0 ;
38176 PyObject
* obj1
= 0 ;
38177 PyObject
* obj2
= 0 ;
38178 PyObject
* obj3
= 0 ;
38179 char * kwnames
[] = {
38180 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38185 if (!SWIG_IsOK(res1
)) {
38186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38188 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38190 if (!SWIG_IsOK(res2
)) {
38191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38196 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38198 if (!SWIG_IsOK(ecode3
)) {
38199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38201 arg3
= static_cast< int >(val3
);
38202 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38203 if (!SWIG_IsOK(ecode4
)) {
38204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38206 arg4
= static_cast< int >(val4
);
38208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38209 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38210 wxPyEndAllowThreads(__tstate
);
38211 if (PyErr_Occurred()) SWIG_fail
;
38213 resultobj
= SWIG_Py_Void();
38220 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38221 PyObject
*resultobj
= 0;
38222 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38224 wxPoint
*arg3
= 0 ;
38230 PyObject
* obj0
= 0 ;
38231 PyObject
* obj1
= 0 ;
38232 PyObject
* obj2
= 0 ;
38233 char * kwnames
[] = {
38234 (char *) "self",(char *) "icon",(char *) "pt", NULL
38237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38239 if (!SWIG_IsOK(res1
)) {
38240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38244 if (!SWIG_IsOK(res2
)) {
38245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38250 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38253 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38257 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38258 wxPyEndAllowThreads(__tstate
);
38259 if (PyErr_Occurred()) SWIG_fail
;
38261 resultobj
= SWIG_Py_Void();
38268 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38269 PyObject
*resultobj
= 0;
38270 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38271 wxBitmap
*arg2
= 0 ;
38274 bool arg5
= (bool) false ;
38285 PyObject
* obj0
= 0 ;
38286 PyObject
* obj1
= 0 ;
38287 PyObject
* obj2
= 0 ;
38288 PyObject
* obj3
= 0 ;
38289 PyObject
* obj4
= 0 ;
38290 char * kwnames
[] = {
38291 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38296 if (!SWIG_IsOK(res1
)) {
38297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38299 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38301 if (!SWIG_IsOK(res2
)) {
38302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38307 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38309 if (!SWIG_IsOK(ecode3
)) {
38310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38312 arg3
= static_cast< int >(val3
);
38313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38314 if (!SWIG_IsOK(ecode4
)) {
38315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38317 arg4
= static_cast< int >(val4
);
38319 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38320 if (!SWIG_IsOK(ecode5
)) {
38321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38323 arg5
= static_cast< bool >(val5
);
38326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38327 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38328 wxPyEndAllowThreads(__tstate
);
38329 if (PyErr_Occurred()) SWIG_fail
;
38331 resultobj
= SWIG_Py_Void();
38338 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38339 PyObject
*resultobj
= 0;
38340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38341 wxBitmap
*arg2
= 0 ;
38342 wxPoint
*arg3
= 0 ;
38343 bool arg4
= (bool) false ;
38351 PyObject
* obj0
= 0 ;
38352 PyObject
* obj1
= 0 ;
38353 PyObject
* obj2
= 0 ;
38354 PyObject
* obj3
= 0 ;
38355 char * kwnames
[] = {
38356 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38361 if (!SWIG_IsOK(res1
)) {
38362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38366 if (!SWIG_IsOK(res2
)) {
38367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38375 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38378 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38379 if (!SWIG_IsOK(ecode4
)) {
38380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38382 arg4
= static_cast< bool >(val4
);
38385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38386 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38387 wxPyEndAllowThreads(__tstate
);
38388 if (PyErr_Occurred()) SWIG_fail
;
38390 resultobj
= SWIG_Py_Void();
38397 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38398 PyObject
*resultobj
= 0;
38399 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38400 wxString
*arg2
= 0 ;
38405 bool temp2
= false ;
38410 PyObject
* obj0
= 0 ;
38411 PyObject
* obj1
= 0 ;
38412 PyObject
* obj2
= 0 ;
38413 PyObject
* obj3
= 0 ;
38414 char * kwnames
[] = {
38415 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38420 if (!SWIG_IsOK(res1
)) {
38421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38423 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38425 arg2
= wxString_in_helper(obj1
);
38426 if (arg2
== NULL
) SWIG_fail
;
38429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38430 if (!SWIG_IsOK(ecode3
)) {
38431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38433 arg3
= static_cast< int >(val3
);
38434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38435 if (!SWIG_IsOK(ecode4
)) {
38436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38438 arg4
= static_cast< int >(val4
);
38440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38441 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38442 wxPyEndAllowThreads(__tstate
);
38443 if (PyErr_Occurred()) SWIG_fail
;
38445 resultobj
= SWIG_Py_Void();
38460 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38461 PyObject
*resultobj
= 0;
38462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38463 wxString
*arg2
= 0 ;
38464 wxPoint
*arg3
= 0 ;
38467 bool temp2
= false ;
38469 PyObject
* obj0
= 0 ;
38470 PyObject
* obj1
= 0 ;
38471 PyObject
* obj2
= 0 ;
38472 char * kwnames
[] = {
38473 (char *) "self",(char *) "text",(char *) "pt", NULL
38476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38478 if (!SWIG_IsOK(res1
)) {
38479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38483 arg2
= wxString_in_helper(obj1
);
38484 if (arg2
== NULL
) SWIG_fail
;
38489 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38494 wxPyEndAllowThreads(__tstate
);
38495 if (PyErr_Occurred()) SWIG_fail
;
38497 resultobj
= SWIG_Py_Void();
38512 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38513 PyObject
*resultobj
= 0;
38514 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38515 wxString
*arg2
= 0 ;
38521 bool temp2
= false ;
38528 PyObject
* obj0
= 0 ;
38529 PyObject
* obj1
= 0 ;
38530 PyObject
* obj2
= 0 ;
38531 PyObject
* obj3
= 0 ;
38532 PyObject
* obj4
= 0 ;
38533 char * kwnames
[] = {
38534 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38539 if (!SWIG_IsOK(res1
)) {
38540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38542 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38544 arg2
= wxString_in_helper(obj1
);
38545 if (arg2
== NULL
) SWIG_fail
;
38548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38549 if (!SWIG_IsOK(ecode3
)) {
38550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38552 arg3
= static_cast< int >(val3
);
38553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38554 if (!SWIG_IsOK(ecode4
)) {
38555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38557 arg4
= static_cast< int >(val4
);
38558 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38559 if (!SWIG_IsOK(ecode5
)) {
38560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38562 arg5
= static_cast< double >(val5
);
38564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38565 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38566 wxPyEndAllowThreads(__tstate
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38569 resultobj
= SWIG_Py_Void();
38584 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38585 PyObject
*resultobj
= 0;
38586 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38587 wxString
*arg2
= 0 ;
38588 wxPoint
*arg3
= 0 ;
38592 bool temp2
= false ;
38596 PyObject
* obj0
= 0 ;
38597 PyObject
* obj1
= 0 ;
38598 PyObject
* obj2
= 0 ;
38599 PyObject
* obj3
= 0 ;
38600 char * kwnames
[] = {
38601 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38606 if (!SWIG_IsOK(res1
)) {
38607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38609 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38611 arg2
= wxString_in_helper(obj1
);
38612 if (arg2
== NULL
) SWIG_fail
;
38617 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38619 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38620 if (!SWIG_IsOK(ecode4
)) {
38621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38623 arg4
= static_cast< double >(val4
);
38625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38626 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38627 wxPyEndAllowThreads(__tstate
);
38628 if (PyErr_Occurred()) SWIG_fail
;
38630 resultobj
= SWIG_Py_Void();
38645 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38646 PyObject
*resultobj
= 0;
38647 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38649 wxPoint
*arg3
= (wxPoint
*) 0 ;
38650 int arg4
= (int) 0 ;
38651 int arg5
= (int) 0 ;
38658 PyObject
* obj0
= 0 ;
38659 PyObject
* obj1
= 0 ;
38660 PyObject
* obj2
= 0 ;
38661 PyObject
* obj3
= 0 ;
38662 char * kwnames
[] = {
38663 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38668 if (!SWIG_IsOK(res1
)) {
38669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38671 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38673 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38674 if (arg3
== NULL
) SWIG_fail
;
38677 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38678 if (!SWIG_IsOK(ecode4
)) {
38679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38681 arg4
= static_cast< int >(val4
);
38684 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38685 if (!SWIG_IsOK(ecode5
)) {
38686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38688 arg5
= static_cast< int >(val5
);
38691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38692 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38693 wxPyEndAllowThreads(__tstate
);
38694 if (PyErr_Occurred()) SWIG_fail
;
38696 resultobj
= SWIG_Py_Void();
38698 if (arg3
) delete [] arg3
;
38703 if (arg3
) delete [] arg3
;
38709 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38710 PyObject
*resultobj
= 0;
38711 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38713 wxPoint
*arg3
= (wxPoint
*) 0 ;
38714 int arg4
= (int) 0 ;
38715 int arg5
= (int) 0 ;
38716 int arg6
= (int) wxODDEVEN_RULE
;
38725 PyObject
* obj0
= 0 ;
38726 PyObject
* obj1
= 0 ;
38727 PyObject
* obj2
= 0 ;
38728 PyObject
* obj3
= 0 ;
38729 PyObject
* obj4
= 0 ;
38730 char * kwnames
[] = {
38731 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38736 if (!SWIG_IsOK(res1
)) {
38737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38741 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38742 if (arg3
== NULL
) SWIG_fail
;
38745 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38746 if (!SWIG_IsOK(ecode4
)) {
38747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38749 arg4
= static_cast< int >(val4
);
38752 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38753 if (!SWIG_IsOK(ecode5
)) {
38754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38756 arg5
= static_cast< int >(val5
);
38759 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38760 if (!SWIG_IsOK(ecode6
)) {
38761 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38763 arg6
= static_cast< int >(val6
);
38766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38767 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38768 wxPyEndAllowThreads(__tstate
);
38769 if (PyErr_Occurred()) SWIG_fail
;
38771 resultobj
= SWIG_Py_Void();
38773 if (arg3
) delete [] arg3
;
38778 if (arg3
) delete [] arg3
;
38784 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38785 PyObject
*resultobj
= 0;
38786 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38787 wxString
*arg2
= 0 ;
38789 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38790 int arg5
= (int) -1 ;
38793 bool temp2
= false ;
38799 PyObject
* obj0
= 0 ;
38800 PyObject
* obj1
= 0 ;
38801 PyObject
* obj2
= 0 ;
38802 PyObject
* obj3
= 0 ;
38803 PyObject
* obj4
= 0 ;
38804 char * kwnames
[] = {
38805 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38810 if (!SWIG_IsOK(res1
)) {
38811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38813 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38815 arg2
= wxString_in_helper(obj1
);
38816 if (arg2
== NULL
) SWIG_fail
;
38821 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38825 if (!SWIG_IsOK(ecode4
)) {
38826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38828 arg4
= static_cast< int >(val4
);
38831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38832 if (!SWIG_IsOK(ecode5
)) {
38833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38835 arg5
= static_cast< int >(val5
);
38838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38839 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38840 wxPyEndAllowThreads(__tstate
);
38841 if (PyErr_Occurred()) SWIG_fail
;
38843 resultobj
= SWIG_Py_Void();
38858 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38859 PyObject
*resultobj
= 0;
38860 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38861 wxString
*arg2
= 0 ;
38862 wxBitmap
*arg3
= 0 ;
38864 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38865 int arg6
= (int) -1 ;
38868 bool temp2
= false ;
38876 PyObject
* obj0
= 0 ;
38877 PyObject
* obj1
= 0 ;
38878 PyObject
* obj2
= 0 ;
38879 PyObject
* obj3
= 0 ;
38880 PyObject
* obj4
= 0 ;
38881 PyObject
* obj5
= 0 ;
38882 char * kwnames
[] = {
38883 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38888 if (!SWIG_IsOK(res1
)) {
38889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38893 arg2
= wxString_in_helper(obj1
);
38894 if (arg2
== NULL
) SWIG_fail
;
38897 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38898 if (!SWIG_IsOK(res3
)) {
38899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38904 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38907 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38910 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38911 if (!SWIG_IsOK(ecode5
)) {
38912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38914 arg5
= static_cast< int >(val5
);
38917 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38918 if (!SWIG_IsOK(ecode6
)) {
38919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38921 arg6
= static_cast< int >(val6
);
38924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38925 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38926 wxPyEndAllowThreads(__tstate
);
38927 if (PyErr_Occurred()) SWIG_fail
;
38929 resultobj
= SWIG_Py_Void();
38944 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38945 PyObject
*resultobj
= 0;
38946 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38948 wxPoint
*arg3
= (wxPoint
*) 0 ;
38951 PyObject
* obj0
= 0 ;
38952 PyObject
* obj1
= 0 ;
38953 char * kwnames
[] = {
38954 (char *) "self",(char *) "points", NULL
38957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38959 if (!SWIG_IsOK(res1
)) {
38960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38962 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38964 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38965 if (arg3
== NULL
) SWIG_fail
;
38968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38969 (arg1
)->DrawSpline(arg2
,arg3
);
38970 wxPyEndAllowThreads(__tstate
);
38971 if (PyErr_Occurred()) SWIG_fail
;
38973 resultobj
= SWIG_Py_Void();
38975 if (arg3
) delete [] arg3
;
38980 if (arg3
) delete [] arg3
;
38986 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38987 PyObject
*resultobj
= 0;
38988 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38991 PyObject
*swig_obj
[1] ;
38993 if (!args
) SWIG_fail
;
38994 swig_obj
[0] = args
;
38995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38996 if (!SWIG_IsOK(res1
)) {
38997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39003 wxPyEndAllowThreads(__tstate
);
39004 if (PyErr_Occurred()) SWIG_fail
;
39006 resultobj
= SWIG_Py_Void();
39013 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39014 PyObject
*resultobj
= 0;
39015 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39021 PyObject
* obj0
= 0 ;
39022 PyObject
* obj1
= 0 ;
39023 char * kwnames
[] = {
39024 (char *) "self",(char *) "font", NULL
39027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39029 if (!SWIG_IsOK(res1
)) {
39030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39032 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39034 if (!SWIG_IsOK(res2
)) {
39035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39040 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39043 (arg1
)->SetFont((wxFont
const &)*arg2
);
39044 wxPyEndAllowThreads(__tstate
);
39045 if (PyErr_Occurred()) SWIG_fail
;
39047 resultobj
= SWIG_Py_Void();
39054 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39055 PyObject
*resultobj
= 0;
39056 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39062 PyObject
* obj0
= 0 ;
39063 PyObject
* obj1
= 0 ;
39064 char * kwnames
[] = {
39065 (char *) "self",(char *) "pen", NULL
39068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39070 if (!SWIG_IsOK(res1
)) {
39071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
39075 if (!SWIG_IsOK(res2
)) {
39076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39081 arg2
= reinterpret_cast< wxPen
* >(argp2
);
39083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39084 (arg1
)->SetPen((wxPen
const &)*arg2
);
39085 wxPyEndAllowThreads(__tstate
);
39086 if (PyErr_Occurred()) SWIG_fail
;
39088 resultobj
= SWIG_Py_Void();
39095 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39096 PyObject
*resultobj
= 0;
39097 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39098 wxBrush
*arg2
= 0 ;
39103 PyObject
* obj0
= 0 ;
39104 PyObject
* obj1
= 0 ;
39105 char * kwnames
[] = {
39106 (char *) "self",(char *) "brush", NULL
39109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39111 if (!SWIG_IsOK(res1
)) {
39112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39114 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39116 if (!SWIG_IsOK(res2
)) {
39117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39122 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39125 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
39126 wxPyEndAllowThreads(__tstate
);
39127 if (PyErr_Occurred()) SWIG_fail
;
39129 resultobj
= SWIG_Py_Void();
39136 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39137 PyObject
*resultobj
= 0;
39138 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39139 wxBrush
*arg2
= 0 ;
39144 PyObject
* obj0
= 0 ;
39145 PyObject
* obj1
= 0 ;
39146 char * kwnames
[] = {
39147 (char *) "self",(char *) "brush", NULL
39150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39152 if (!SWIG_IsOK(res1
)) {
39153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39155 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39157 if (!SWIG_IsOK(res2
)) {
39158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39163 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39170 resultobj
= SWIG_Py_Void();
39177 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39178 PyObject
*resultobj
= 0;
39179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39185 PyObject
* obj0
= 0 ;
39186 PyObject
* obj1
= 0 ;
39187 char * kwnames
[] = {
39188 (char *) "self",(char *) "mode", NULL
39191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39193 if (!SWIG_IsOK(res1
)) {
39194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39196 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39198 if (!SWIG_IsOK(ecode2
)) {
39199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39201 arg2
= static_cast< int >(val2
);
39203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39204 (arg1
)->SetBackgroundMode(arg2
);
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39208 resultobj
= SWIG_Py_Void();
39215 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39216 PyObject
*resultobj
= 0;
39217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39218 wxPalette
*arg2
= 0 ;
39223 PyObject
* obj0
= 0 ;
39224 PyObject
* obj1
= 0 ;
39225 char * kwnames
[] = {
39226 (char *) "self",(char *) "palette", NULL
39229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39231 if (!SWIG_IsOK(res1
)) {
39232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39234 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39236 if (!SWIG_IsOK(res2
)) {
39237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39242 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39245 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39246 wxPyEndAllowThreads(__tstate
);
39247 if (PyErr_Occurred()) SWIG_fail
;
39249 resultobj
= SWIG_Py_Void();
39256 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39257 PyObject
*resultobj
= 0;
39258 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39259 wxColour
*arg2
= 0 ;
39263 PyObject
* obj0
= 0 ;
39264 PyObject
* obj1
= 0 ;
39265 char * kwnames
[] = {
39266 (char *) "self",(char *) "colour", NULL
39269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39271 if (!SWIG_IsOK(res1
)) {
39272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39281 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39282 wxPyEndAllowThreads(__tstate
);
39283 if (PyErr_Occurred()) SWIG_fail
;
39285 resultobj
= SWIG_Py_Void();
39292 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39293 PyObject
*resultobj
= 0;
39294 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39295 wxColour
*arg2
= 0 ;
39299 PyObject
* obj0
= 0 ;
39300 PyObject
* obj1
= 0 ;
39301 char * kwnames
[] = {
39302 (char *) "self",(char *) "colour", NULL
39305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39307 if (!SWIG_IsOK(res1
)) {
39308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39310 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39317 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39318 wxPyEndAllowThreads(__tstate
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39321 resultobj
= SWIG_Py_Void();
39328 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39329 PyObject
*resultobj
= 0;
39330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39336 PyObject
* obj0
= 0 ;
39337 PyObject
* obj1
= 0 ;
39338 char * kwnames
[] = {
39339 (char *) "self",(char *) "function", NULL
39342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39344 if (!SWIG_IsOK(res1
)) {
39345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39349 if (!SWIG_IsOK(ecode2
)) {
39350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39352 arg2
= static_cast< int >(val2
);
39354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39355 (arg1
)->SetLogicalFunction(arg2
);
39356 wxPyEndAllowThreads(__tstate
);
39357 if (PyErr_Occurred()) SWIG_fail
;
39359 resultobj
= SWIG_Py_Void();
39366 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39369 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39370 return SWIG_Py_Void();
39373 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39374 return SWIG_Python_InitShadowInstance(args
);
39377 static PyMethodDef SwigMethods
[] = {
39378 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39379 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39380 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39381 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39382 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39383 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39387 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39388 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39389 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39390 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39391 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39392 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39397 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39401 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39402 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39403 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39405 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39408 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39409 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39410 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39411 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39413 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39414 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39415 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39416 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39417 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39418 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39419 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39426 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39428 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39429 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39433 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39434 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39437 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39441 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39442 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39443 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39444 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39445 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39446 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39447 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39449 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39455 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39457 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39458 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39459 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39460 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39461 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39462 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39463 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39469 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39481 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39482 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39486 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39487 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39488 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39489 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39490 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39491 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39492 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39493 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39494 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39495 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39496 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39497 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39498 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39499 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39500 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39502 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39503 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39509 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39510 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39511 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39512 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39513 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39514 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39515 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39516 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39517 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39518 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39519 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39520 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39522 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39523 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39529 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39530 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39531 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39533 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39534 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39535 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39537 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39538 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39543 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39545 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39546 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39547 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39548 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39554 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39555 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39557 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39558 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39560 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39562 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39563 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39564 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39565 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39568 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39572 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39573 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39575 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39578 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39580 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39581 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39582 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39583 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39588 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39589 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39594 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39595 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39601 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39605 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39616 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39619 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39620 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39622 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39623 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39624 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39625 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39626 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39627 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39628 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39629 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39630 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39631 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39632 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39633 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39634 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39635 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39636 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39637 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39638 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39640 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39641 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39642 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39643 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39644 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39645 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39646 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39647 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39657 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39658 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39660 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39661 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39662 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39663 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39664 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39665 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39666 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39667 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39668 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39670 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39671 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39672 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39675 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39676 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39677 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39680 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39686 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39691 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39692 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39694 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39700 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39703 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39704 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39705 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39706 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39707 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39708 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39709 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39710 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39711 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39712 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39713 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39714 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39715 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39727 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39728 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39729 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39731 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39732 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39734 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39735 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39736 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39737 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39741 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39742 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39744 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39745 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39746 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39747 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39748 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39749 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39750 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39751 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39752 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39754 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39757 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39758 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39759 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39760 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39761 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39762 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39763 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39764 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39774 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39775 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39776 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39778 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39782 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39783 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39784 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39785 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39786 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39787 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39793 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39794 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39795 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39845 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39847 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39848 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39849 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39856 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39857 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39858 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39859 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39860 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39865 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39866 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39867 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39868 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39877 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39878 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39879 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39880 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39881 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39882 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39883 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39884 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39885 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39886 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39887 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39888 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39891 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39893 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39895 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39897 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39898 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39901 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39902 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39906 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39908 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39911 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39912 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39913 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39914 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39915 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39916 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39917 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39919 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39926 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39928 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39929 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39930 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39932 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39933 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39934 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39936 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39937 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39938 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39939 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39940 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39941 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39942 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39943 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39946 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39947 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39948 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39950 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39951 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39953 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39954 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39956 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39957 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39962 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39963 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39964 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39965 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39966 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39968 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39969 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39970 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39972 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39973 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39975 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39976 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39979 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39980 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39982 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39985 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39986 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39987 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39989 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39990 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39992 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39993 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39994 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39995 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39996 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39997 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39999 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
40000 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
40001 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
40003 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
40004 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
40006 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
40007 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
40008 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
40009 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
40010 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
40011 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
40012 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
40013 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
40014 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
40015 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
40016 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
40017 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
40018 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
40019 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
40020 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
40021 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
40022 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
40023 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
40024 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
40027 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
40028 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
40030 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
40036 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
40037 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
40038 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
40039 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
40040 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
40041 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
40042 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
40043 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
40045 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
40046 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
40047 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
40054 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
40057 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
40058 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
40059 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
40060 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
40061 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
40062 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
40063 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
40066 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
40073 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
40074 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40076 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
40077 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
40078 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
40079 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
40086 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
40087 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
40088 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
40089 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
40107 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
40108 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
40109 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
40110 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
40111 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
40112 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40113 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
40115 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
40122 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
40123 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
40124 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
40125 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
40127 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
40128 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
40129 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
40130 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
40131 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
40132 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
40133 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
40134 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
40135 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
40136 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
40137 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
40138 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
40140 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
40148 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
40150 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
40152 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
40153 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40154 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40155 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40156 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40157 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40163 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40164 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40165 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40166 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40167 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40168 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40169 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40170 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40171 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40172 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40173 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40176 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40177 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40179 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40180 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40181 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40182 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40183 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40184 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40185 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40186 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40187 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40188 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40189 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40190 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40191 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40192 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40193 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40194 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40195 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40196 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40197 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40198 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40199 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40202 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40203 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40204 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40206 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40207 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40208 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40209 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40210 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40211 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40212 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40213 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40214 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40215 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40216 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40217 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40218 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40219 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40220 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40221 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40222 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40223 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40224 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40225 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40226 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40227 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40228 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40229 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40230 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40231 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40232 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40233 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40234 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40235 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40236 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40237 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40238 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40239 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40240 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40241 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40242 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40243 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40244 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40245 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40246 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40247 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40248 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40249 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40250 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40251 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40252 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40253 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40254 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40255 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40256 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40257 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40258 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40259 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40260 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40261 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40262 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40263 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40264 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40265 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40266 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40267 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40268 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40269 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40270 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40271 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40272 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40273 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40274 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40275 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40276 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40277 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40278 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40279 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40280 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40283 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40284 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40315 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40316 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40317 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40327 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40328 { NULL
, NULL
, 0, NULL
}
40332 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40334 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40335 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40337 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40338 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40340 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40341 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40343 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40344 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40346 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40347 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40349 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40350 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40352 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40353 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40355 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40356 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40358 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40359 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40361 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40362 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40364 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40365 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40367 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40368 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40370 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40371 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40373 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40374 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40376 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40377 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40379 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40380 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40382 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40383 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40385 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40386 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40388 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40389 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40391 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40392 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40394 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40395 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40397 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40398 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40400 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40401 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40403 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40404 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40406 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40407 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40409 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40410 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40412 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40413 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40415 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40416 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40418 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40419 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40421 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40422 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40424 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40425 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40427 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40428 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40430 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40431 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40433 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40434 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40436 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40437 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40439 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40440 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40442 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40443 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40445 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40446 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40448 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40449 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40451 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40452 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40454 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40455 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40457 static void *_p_wxPenTo_p_wxObject(void *x
) {
40458 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40460 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40461 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40463 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40464 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40466 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40467 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40469 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40472 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40475 static void *_p_wxIconTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40478 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40481 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40484 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) ((wxSizer
*) x
));
40487 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40490 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40493 static void *_p_wxEventTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) ((wxEvent
*) x
));
40496 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40499 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40502 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40505 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40508 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40511 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40514 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40517 static void *_p_wxDCTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) ((wxDC
*) x
));
40520 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40523 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40526 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40529 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40532 static void *_p_wxControlTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40535 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40538 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40541 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40544 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40547 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40550 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40553 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40556 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40559 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40562 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40563 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40565 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40566 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40568 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40569 return (void *)((wxObject
*) ((wxEffects
*) x
));
40571 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40572 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40574 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40577 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40578 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40580 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40581 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40583 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40584 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40586 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40587 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40589 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40592 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40593 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40595 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40598 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40599 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40601 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40602 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40604 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40605 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40607 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40608 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40610 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40611 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40613 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40614 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40616 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40619 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40620 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40622 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40623 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40625 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40626 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40628 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40629 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40631 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40632 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40634 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40635 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40637 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40638 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40640 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40641 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40643 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40644 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40646 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40647 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40649 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40650 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40652 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40653 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40655 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40656 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40658 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40659 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40661 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40662 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40664 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40665 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40667 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40668 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40670 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40671 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40673 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40674 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40676 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40677 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40679 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40680 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40682 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40683 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40685 static void *_p_wxImageTo_p_wxObject(void *x
) {
40686 return (void *)((wxObject
*) ((wxImage
*) x
));
40688 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40689 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40691 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40692 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40694 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40695 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40697 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40698 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40700 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40701 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40703 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40704 return (void *)((wxObject
*) ((wxImageList
*) x
));
40706 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40707 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40709 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40710 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40712 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40713 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40715 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40716 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40718 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40719 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40721 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40724 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40725 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40727 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40728 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40730 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40731 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40733 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40734 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40736 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40739 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40740 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40742 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40743 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40745 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40746 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40748 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40749 return (void *)((wxObject
*) ((wxMask
*) x
));
40751 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40752 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40754 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40755 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40757 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40758 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40760 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40761 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40763 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40764 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40766 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40767 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40769 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40770 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40772 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40775 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40776 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40778 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40779 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40781 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40782 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40784 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40787 static void *_p_wxFontTo_p_wxObject(void *x
) {
40788 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40790 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40791 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40793 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40794 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40796 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40799 static void *_p_wxColourTo_p_wxObject(void *x
) {
40800 return (void *)((wxObject
*) ((wxColour
*) x
));
40802 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40805 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40806 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40808 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40809 return (void *)((wxWindow
*) ((wxControl
*) x
));
40811 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40812 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40814 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40815 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40817 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40818 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40820 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40821 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40823 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40824 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40825 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40826 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};
40827 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40828 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40829 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40830 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40831 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40832 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40833 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40834 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40835 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40836 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40837 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40838 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40839 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40840 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40841 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40842 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40843 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40844 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40845 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40848 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40849 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40850 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40851 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40852 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40853 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40854 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40855 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40856 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40857 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40858 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40859 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40860 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40889 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40890 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40891 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40892 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40893 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40894 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40895 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40896 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40897 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40898 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40899 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40900 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40901 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40902 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40903 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40904 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40905 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40906 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40907 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40908 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40909 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40910 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40911 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40912 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40913 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40914 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40915 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40916 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40917 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40918 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40919 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40920 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40921 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40922 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40923 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40924 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40925 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40926 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40927 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40928 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40929 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40930 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40931 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40932 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40933 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40934 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40935 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40936 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40937 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40938 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40939 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40940 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40941 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40942 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40943 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40944 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40945 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40946 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40947 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40948 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40949 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40950 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40951 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40952 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40953 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40954 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40955 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40956 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40957 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40958 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40959 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40960 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40961 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40962 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40963 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40964 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40965 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40966 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40967 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40968 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40969 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40970 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40971 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40972 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40973 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40974 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40975 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40976 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40977 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40978 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40979 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40980 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40981 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40982 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40983 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40984 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40985 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40986 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40987 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40988 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40989 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40990 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40991 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40992 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40994 static swig_type_info
*swig_type_initial
[] = {
40998 &_swigt__p_form_ops_t
,
41000 &_swigt__p_unsigned_char
,
41001 &_swigt__p_unsigned_int
,
41002 &_swigt__p_unsigned_long
,
41004 &_swigt__p_wxANIHandler
,
41005 &_swigt__p_wxAcceleratorTable
,
41006 &_swigt__p_wxActivateEvent
,
41007 &_swigt__p_wxAlphaPixelData
,
41008 &_swigt__p_wxAlphaPixelData_Accessor
,
41009 &_swigt__p_wxAutoBufferedPaintDC
,
41010 &_swigt__p_wxBMPHandler
,
41011 &_swigt__p_wxBitmap
,
41012 &_swigt__p_wxBoxSizer
,
41013 &_swigt__p_wxBrush
,
41014 &_swigt__p_wxBrushList
,
41015 &_swigt__p_wxBufferedDC
,
41016 &_swigt__p_wxBufferedPaintDC
,
41017 &_swigt__p_wxCURHandler
,
41019 &_swigt__p_wxChildFocusEvent
,
41020 &_swigt__p_wxClientDC
,
41021 &_swigt__p_wxClipboardTextEvent
,
41022 &_swigt__p_wxCloseEvent
,
41023 &_swigt__p_wxColor
,
41024 &_swigt__p_wxColour
,
41025 &_swigt__p_wxColourDatabase
,
41026 &_swigt__p_wxCommandEvent
,
41027 &_swigt__p_wxContextMenuEvent
,
41028 &_swigt__p_wxControl
,
41029 &_swigt__p_wxControlWithItems
,
41030 &_swigt__p_wxCursor
,
41032 &_swigt__p_wxDCBrushChanger
,
41033 &_swigt__p_wxDCClipper
,
41034 &_swigt__p_wxDCOverlay
,
41035 &_swigt__p_wxDCPenChanger
,
41036 &_swigt__p_wxDCTextColourChanger
,
41038 &_swigt__p_wxDateEvent
,
41039 &_swigt__p_wxDisplayChangedEvent
,
41040 &_swigt__p_wxDropFilesEvent
,
41041 &_swigt__p_wxDuplexMode
,
41042 &_swigt__p_wxEffects
,
41043 &_swigt__p_wxEncodingConverter
,
41044 &_swigt__p_wxEraseEvent
,
41045 &_swigt__p_wxEvent
,
41046 &_swigt__p_wxEvtHandler
,
41047 &_swigt__p_wxFSFile
,
41048 &_swigt__p_wxFileSystem
,
41049 &_swigt__p_wxFlexGridSizer
,
41050 &_swigt__p_wxFocusEvent
,
41052 &_swigt__p_wxFontList
,
41053 &_swigt__p_wxFontMapper
,
41054 &_swigt__p_wxGBSizerItem
,
41056 &_swigt__p_wxGDIObjListBase
,
41057 &_swigt__p_wxGDIObject
,
41058 &_swigt__p_wxGIFHandler
,
41059 &_swigt__p_wxGraphicsBrush
,
41060 &_swigt__p_wxGraphicsContext
,
41061 &_swigt__p_wxGraphicsFont
,
41062 &_swigt__p_wxGraphicsMatrix
,
41063 &_swigt__p_wxGraphicsObject
,
41064 &_swigt__p_wxGraphicsPath
,
41065 &_swigt__p_wxGraphicsPen
,
41066 &_swigt__p_wxGraphicsRenderer
,
41067 &_swigt__p_wxGridBagSizer
,
41068 &_swigt__p_wxGridSizer
,
41069 &_swigt__p_wxHeaderButtonParams
,
41070 &_swigt__p_wxICOHandler
,
41072 &_swigt__p_wxIconBundle
,
41073 &_swigt__p_wxIconLocation
,
41074 &_swigt__p_wxIconizeEvent
,
41075 &_swigt__p_wxIdleEvent
,
41076 &_swigt__p_wxImage
,
41077 &_swigt__p_wxImageHandler
,
41078 &_swigt__p_wxImageList
,
41079 &_swigt__p_wxIndividualLayoutConstraint
,
41080 &_swigt__p_wxInitDialogEvent
,
41081 &_swigt__p_wxJPEGHandler
,
41082 &_swigt__p_wxKeyEvent
,
41083 &_swigt__p_wxLanguageInfo
,
41084 &_swigt__p_wxLayoutConstraints
,
41085 &_swigt__p_wxLocale
,
41087 &_swigt__p_wxMaximizeEvent
,
41088 &_swigt__p_wxMemoryDC
,
41090 &_swigt__p_wxMenuBar
,
41091 &_swigt__p_wxMenuEvent
,
41092 &_swigt__p_wxMenuItem
,
41093 &_swigt__p_wxMetaFile
,
41094 &_swigt__p_wxMetaFileDC
,
41095 &_swigt__p_wxMirrorDC
,
41096 &_swigt__p_wxMouseCaptureChangedEvent
,
41097 &_swigt__p_wxMouseCaptureLostEvent
,
41098 &_swigt__p_wxMouseEvent
,
41099 &_swigt__p_wxMoveEvent
,
41100 &_swigt__p_wxNativeEncodingInfo
,
41101 &_swigt__p_wxNativeFontInfo
,
41102 &_swigt__p_wxNativePixelData
,
41103 &_swigt__p_wxNativePixelData_Accessor
,
41104 &_swigt__p_wxNavigationKeyEvent
,
41105 &_swigt__p_wxNcPaintEvent
,
41106 &_swigt__p_wxNotifyEvent
,
41107 &_swigt__p_wxObject
,
41108 &_swigt__p_wxOverlay
,
41109 &_swigt__p_wxPCXHandler
,
41110 &_swigt__p_wxPNGHandler
,
41111 &_swigt__p_wxPNMHandler
,
41112 &_swigt__p_wxPaintDC
,
41113 &_swigt__p_wxPaintEvent
,
41114 &_swigt__p_wxPalette
,
41115 &_swigt__p_wxPaletteChangedEvent
,
41116 &_swigt__p_wxPaperSize
,
41118 &_swigt__p_wxPenList
,
41119 &_swigt__p_wxPixelDataBase
,
41120 &_swigt__p_wxPoint
,
41121 &_swigt__p_wxPoint2D
,
41122 &_swigt__p_wxPostScriptDC
,
41123 &_swigt__p_wxPrintData
,
41124 &_swigt__p_wxPrinterDC
,
41125 &_swigt__p_wxPseudoDC
,
41126 &_swigt__p_wxPyApp
,
41127 &_swigt__p_wxPyCommandEvent
,
41128 &_swigt__p_wxPyEvent
,
41129 &_swigt__p_wxPyFontEnumerator
,
41130 &_swigt__p_wxPyImageHandler
,
41131 &_swigt__p_wxPyLocale
,
41132 &_swigt__p_wxPySizer
,
41133 &_swigt__p_wxPyValidator
,
41134 &_swigt__p_wxQueryNewPaletteEvent
,
41136 &_swigt__p_wxRect2D
,
41137 &_swigt__p_wxRegion
,
41138 &_swigt__p_wxRegionIterator
,
41139 &_swigt__p_wxRendererNative
,
41140 &_swigt__p_wxRendererVersion
,
41141 &_swigt__p_wxScreenDC
,
41142 &_swigt__p_wxScrollEvent
,
41143 &_swigt__p_wxScrollWinEvent
,
41144 &_swigt__p_wxSetCursorEvent
,
41145 &_swigt__p_wxShowEvent
,
41147 &_swigt__p_wxSizeEvent
,
41148 &_swigt__p_wxSizer
,
41149 &_swigt__p_wxSizerItem
,
41150 &_swigt__p_wxSplitterRenderParams
,
41151 &_swigt__p_wxStaticBoxSizer
,
41152 &_swigt__p_wxStdDialogButtonSizer
,
41153 &_swigt__p_wxStockGDI
,
41154 &_swigt__p_wxString
,
41155 &_swigt__p_wxSysColourChangedEvent
,
41156 &_swigt__p_wxTGAHandler
,
41157 &_swigt__p_wxTIFFHandler
,
41158 &_swigt__p_wxUpdateUIEvent
,
41159 &_swigt__p_wxValidator
,
41160 &_swigt__p_wxWindow
,
41161 &_swigt__p_wxWindowCreateEvent
,
41162 &_swigt__p_wxWindowDC
,
41163 &_swigt__p_wxWindowDestroyEvent
,
41164 &_swigt__p_wxXPMHandler
,
41167 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41173 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41182 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}};
41183 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41185 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}};
41186 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41190 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}};
41191 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41204 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}};
41205 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}};
41206 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41210 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}};
41211 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41217 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41218 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41219 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41221 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}};
41222 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41223 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}};
41224 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41228 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41233 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41235 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41236 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41237 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41246 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41247 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41255 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41256 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41257 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41261 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41262 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41265 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41266 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41270 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41271 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41272 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41273 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41274 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41275 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41276 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41277 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41278 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41279 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41280 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41281 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41282 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41283 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41284 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41285 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41286 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41287 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41288 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41289 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41290 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41291 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41292 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41293 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41294 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41295 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41296 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41297 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41298 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41299 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41300 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41301 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41302 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41303 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41304 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41305 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41306 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41307 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41308 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
41309 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41310 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41311 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41312 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41313 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41314 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41315 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}};
41316 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41317 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41318 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41319 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41320 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41321 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41322 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41323 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41324 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41325 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
41326 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41327 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41328 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41329 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41330 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41331 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41332 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41333 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41334 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41335 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}};
41336 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}};
41338 static swig_cast_info
*swig_cast_initial
[] = {
41342 _swigc__p_form_ops_t
,
41344 _swigc__p_unsigned_char
,
41345 _swigc__p_unsigned_int
,
41346 _swigc__p_unsigned_long
,
41348 _swigc__p_wxANIHandler
,
41349 _swigc__p_wxAcceleratorTable
,
41350 _swigc__p_wxActivateEvent
,
41351 _swigc__p_wxAlphaPixelData
,
41352 _swigc__p_wxAlphaPixelData_Accessor
,
41353 _swigc__p_wxAutoBufferedPaintDC
,
41354 _swigc__p_wxBMPHandler
,
41355 _swigc__p_wxBitmap
,
41356 _swigc__p_wxBoxSizer
,
41358 _swigc__p_wxBrushList
,
41359 _swigc__p_wxBufferedDC
,
41360 _swigc__p_wxBufferedPaintDC
,
41361 _swigc__p_wxCURHandler
,
41363 _swigc__p_wxChildFocusEvent
,
41364 _swigc__p_wxClientDC
,
41365 _swigc__p_wxClipboardTextEvent
,
41366 _swigc__p_wxCloseEvent
,
41368 _swigc__p_wxColour
,
41369 _swigc__p_wxColourDatabase
,
41370 _swigc__p_wxCommandEvent
,
41371 _swigc__p_wxContextMenuEvent
,
41372 _swigc__p_wxControl
,
41373 _swigc__p_wxControlWithItems
,
41374 _swigc__p_wxCursor
,
41376 _swigc__p_wxDCBrushChanger
,
41377 _swigc__p_wxDCClipper
,
41378 _swigc__p_wxDCOverlay
,
41379 _swigc__p_wxDCPenChanger
,
41380 _swigc__p_wxDCTextColourChanger
,
41382 _swigc__p_wxDateEvent
,
41383 _swigc__p_wxDisplayChangedEvent
,
41384 _swigc__p_wxDropFilesEvent
,
41385 _swigc__p_wxDuplexMode
,
41386 _swigc__p_wxEffects
,
41387 _swigc__p_wxEncodingConverter
,
41388 _swigc__p_wxEraseEvent
,
41390 _swigc__p_wxEvtHandler
,
41391 _swigc__p_wxFSFile
,
41392 _swigc__p_wxFileSystem
,
41393 _swigc__p_wxFlexGridSizer
,
41394 _swigc__p_wxFocusEvent
,
41396 _swigc__p_wxFontList
,
41397 _swigc__p_wxFontMapper
,
41398 _swigc__p_wxGBSizerItem
,
41400 _swigc__p_wxGDIObjListBase
,
41401 _swigc__p_wxGDIObject
,
41402 _swigc__p_wxGIFHandler
,
41403 _swigc__p_wxGraphicsBrush
,
41404 _swigc__p_wxGraphicsContext
,
41405 _swigc__p_wxGraphicsFont
,
41406 _swigc__p_wxGraphicsMatrix
,
41407 _swigc__p_wxGraphicsObject
,
41408 _swigc__p_wxGraphicsPath
,
41409 _swigc__p_wxGraphicsPen
,
41410 _swigc__p_wxGraphicsRenderer
,
41411 _swigc__p_wxGridBagSizer
,
41412 _swigc__p_wxGridSizer
,
41413 _swigc__p_wxHeaderButtonParams
,
41414 _swigc__p_wxICOHandler
,
41416 _swigc__p_wxIconBundle
,
41417 _swigc__p_wxIconLocation
,
41418 _swigc__p_wxIconizeEvent
,
41419 _swigc__p_wxIdleEvent
,
41421 _swigc__p_wxImageHandler
,
41422 _swigc__p_wxImageList
,
41423 _swigc__p_wxIndividualLayoutConstraint
,
41424 _swigc__p_wxInitDialogEvent
,
41425 _swigc__p_wxJPEGHandler
,
41426 _swigc__p_wxKeyEvent
,
41427 _swigc__p_wxLanguageInfo
,
41428 _swigc__p_wxLayoutConstraints
,
41429 _swigc__p_wxLocale
,
41431 _swigc__p_wxMaximizeEvent
,
41432 _swigc__p_wxMemoryDC
,
41434 _swigc__p_wxMenuBar
,
41435 _swigc__p_wxMenuEvent
,
41436 _swigc__p_wxMenuItem
,
41437 _swigc__p_wxMetaFile
,
41438 _swigc__p_wxMetaFileDC
,
41439 _swigc__p_wxMirrorDC
,
41440 _swigc__p_wxMouseCaptureChangedEvent
,
41441 _swigc__p_wxMouseCaptureLostEvent
,
41442 _swigc__p_wxMouseEvent
,
41443 _swigc__p_wxMoveEvent
,
41444 _swigc__p_wxNativeEncodingInfo
,
41445 _swigc__p_wxNativeFontInfo
,
41446 _swigc__p_wxNativePixelData
,
41447 _swigc__p_wxNativePixelData_Accessor
,
41448 _swigc__p_wxNavigationKeyEvent
,
41449 _swigc__p_wxNcPaintEvent
,
41450 _swigc__p_wxNotifyEvent
,
41451 _swigc__p_wxObject
,
41452 _swigc__p_wxOverlay
,
41453 _swigc__p_wxPCXHandler
,
41454 _swigc__p_wxPNGHandler
,
41455 _swigc__p_wxPNMHandler
,
41456 _swigc__p_wxPaintDC
,
41457 _swigc__p_wxPaintEvent
,
41458 _swigc__p_wxPalette
,
41459 _swigc__p_wxPaletteChangedEvent
,
41460 _swigc__p_wxPaperSize
,
41462 _swigc__p_wxPenList
,
41463 _swigc__p_wxPixelDataBase
,
41465 _swigc__p_wxPoint2D
,
41466 _swigc__p_wxPostScriptDC
,
41467 _swigc__p_wxPrintData
,
41468 _swigc__p_wxPrinterDC
,
41469 _swigc__p_wxPseudoDC
,
41471 _swigc__p_wxPyCommandEvent
,
41472 _swigc__p_wxPyEvent
,
41473 _swigc__p_wxPyFontEnumerator
,
41474 _swigc__p_wxPyImageHandler
,
41475 _swigc__p_wxPyLocale
,
41476 _swigc__p_wxPySizer
,
41477 _swigc__p_wxPyValidator
,
41478 _swigc__p_wxQueryNewPaletteEvent
,
41480 _swigc__p_wxRect2D
,
41481 _swigc__p_wxRegion
,
41482 _swigc__p_wxRegionIterator
,
41483 _swigc__p_wxRendererNative
,
41484 _swigc__p_wxRendererVersion
,
41485 _swigc__p_wxScreenDC
,
41486 _swigc__p_wxScrollEvent
,
41487 _swigc__p_wxScrollWinEvent
,
41488 _swigc__p_wxSetCursorEvent
,
41489 _swigc__p_wxShowEvent
,
41491 _swigc__p_wxSizeEvent
,
41493 _swigc__p_wxSizerItem
,
41494 _swigc__p_wxSplitterRenderParams
,
41495 _swigc__p_wxStaticBoxSizer
,
41496 _swigc__p_wxStdDialogButtonSizer
,
41497 _swigc__p_wxStockGDI
,
41498 _swigc__p_wxString
,
41499 _swigc__p_wxSysColourChangedEvent
,
41500 _swigc__p_wxTGAHandler
,
41501 _swigc__p_wxTIFFHandler
,
41502 _swigc__p_wxUpdateUIEvent
,
41503 _swigc__p_wxValidator
,
41504 _swigc__p_wxWindow
,
41505 _swigc__p_wxWindowCreateEvent
,
41506 _swigc__p_wxWindowDC
,
41507 _swigc__p_wxWindowDestroyEvent
,
41508 _swigc__p_wxXPMHandler
,
41512 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41514 static swig_const_info swig_const_table
[] = {
41515 {0, 0, 0, 0.0, 0, 0}};
41520 /* -----------------------------------------------------------------------------
41521 * Type initialization:
41522 * This problem is tough by the requirement that no dynamic
41523 * memory is used. Also, since swig_type_info structures store pointers to
41524 * swig_cast_info structures and swig_cast_info structures store pointers back
41525 * to swig_type_info structures, we need some lookup code at initialization.
41526 * The idea is that swig generates all the structures that are needed.
41527 * The runtime then collects these partially filled structures.
41528 * The SWIG_InitializeModule function takes these initial arrays out of
41529 * swig_module, and does all the lookup, filling in the swig_module.types
41530 * array with the correct data and linking the correct swig_cast_info
41531 * structures together.
41533 * The generated swig_type_info structures are assigned staticly to an initial
41534 * array. We just loop though that array, and handle each type individually.
41535 * First we lookup if this type has been already loaded, and if so, use the
41536 * loaded structure instead of the generated one. Then we have to fill in the
41537 * cast linked list. The cast data is initially stored in something like a
41538 * two-dimensional array. Each row corresponds to a type (there are the same
41539 * number of rows as there are in the swig_type_initial array). Each entry in
41540 * a column is one of the swig_cast_info structures for that type.
41541 * The cast_initial array is actually an array of arrays, because each row has
41542 * a variable number of columns. So to actually build the cast linked list,
41543 * we find the array of casts associated with the type, and loop through it
41544 * adding the casts to the list. The one last trick we need to do is making
41545 * sure the type pointer in the swig_cast_info struct is correct.
41547 * First off, we lookup the cast->type name to see if it is already loaded.
41548 * There are three cases to handle:
41549 * 1) If the cast->type has already been loaded AND the type we are adding
41550 * casting info to has not been loaded (it is in this module), THEN we
41551 * replace the cast->type pointer with the type pointer that has already
41553 * 2) If BOTH types (the one we are adding casting info to, and the
41554 * cast->type) are loaded, THEN the cast info has already been loaded by
41555 * the previous module so we just ignore it.
41556 * 3) Finally, if cast->type has not already been loaded, then we add that
41557 * swig_cast_info to the linked list (because the cast->type) pointer will
41559 * ----------------------------------------------------------------------------- */
41569 #define SWIGRUNTIME_DEBUG
41573 SWIG_InitializeModule(void *clientdata
) {
41575 swig_module_info
*module_head
;
41576 static int init_run
= 0;
41578 clientdata
= clientdata
;
41580 if (init_run
) return;
41583 /* Initialize the swig_module */
41584 swig_module
.type_initial
= swig_type_initial
;
41585 swig_module
.cast_initial
= swig_cast_initial
;
41587 /* Try and load any already created modules */
41588 module_head
= SWIG_GetModule(clientdata
);
41590 swig_module
.next
= module_head
->next
;
41591 module_head
->next
= &swig_module
;
41593 /* This is the first module loaded */
41594 swig_module
.next
= &swig_module
;
41595 SWIG_SetModule(clientdata
, &swig_module
);
41598 /* Now work on filling in swig_module.types */
41599 #ifdef SWIGRUNTIME_DEBUG
41600 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41602 for (i
= 0; i
< swig_module
.size
; ++i
) {
41603 swig_type_info
*type
= 0;
41604 swig_type_info
*ret
;
41605 swig_cast_info
*cast
;
41607 #ifdef SWIGRUNTIME_DEBUG
41608 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41611 /* if there is another module already loaded */
41612 if (swig_module
.next
!= &swig_module
) {
41613 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41616 /* Overwrite clientdata field */
41617 #ifdef SWIGRUNTIME_DEBUG
41618 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41620 if (swig_module
.type_initial
[i
]->clientdata
) {
41621 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41622 #ifdef SWIGRUNTIME_DEBUG
41623 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41627 type
= swig_module
.type_initial
[i
];
41630 /* Insert casting types */
41631 cast
= swig_module
.cast_initial
[i
];
41632 while (cast
->type
) {
41633 /* Don't need to add information already in the list */
41635 #ifdef SWIGRUNTIME_DEBUG
41636 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41638 if (swig_module
.next
!= &swig_module
) {
41639 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41640 #ifdef SWIGRUNTIME_DEBUG
41641 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41645 if (type
== swig_module
.type_initial
[i
]) {
41646 #ifdef SWIGRUNTIME_DEBUG
41647 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41652 /* Check for casting already in the list */
41653 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41654 #ifdef SWIGRUNTIME_DEBUG
41655 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41657 if (!ocast
) ret
= 0;
41662 #ifdef SWIGRUNTIME_DEBUG
41663 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41666 type
->cast
->prev
= cast
;
41667 cast
->next
= type
->cast
;
41673 /* Set entry in modules->types array equal to the type */
41674 swig_module
.types
[i
] = type
;
41676 swig_module
.types
[i
] = 0;
41678 #ifdef SWIGRUNTIME_DEBUG
41679 printf("**** SWIG_InitializeModule: Cast List ******\n");
41680 for (i
= 0; i
< swig_module
.size
; ++i
) {
41682 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41683 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41684 while (cast
->type
) {
41685 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41689 printf("---- Total casts: %d\n",j
);
41691 printf("**** SWIG_InitializeModule: Cast List ******\n");
41695 /* This function will propagate the clientdata field of type to
41696 * any new swig_type_info structures that have been added into the list
41697 * of equivalent types. It is like calling
41698 * SWIG_TypeClientData(type, clientdata) a second time.
41701 SWIG_PropagateClientData(void) {
41703 swig_cast_info
*equiv
;
41704 static int init_run
= 0;
41706 if (init_run
) return;
41709 for (i
= 0; i
< swig_module
.size
; i
++) {
41710 if (swig_module
.types
[i
]->clientdata
) {
41711 equiv
= swig_module
.types
[i
]->cast
;
41713 if (!equiv
->converter
) {
41714 if (equiv
->type
&& !equiv
->type
->clientdata
)
41715 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41717 equiv
= equiv
->next
;
41737 /* Python-specific SWIG API */
41738 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41739 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41740 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41742 /* -----------------------------------------------------------------------------
41743 * global variable support code.
41744 * ----------------------------------------------------------------------------- */
41746 typedef struct swig_globalvar
{
41747 char *name
; /* Name of global variable */
41748 PyObject
*(*get_attr
)(void); /* Return the current value */
41749 int (*set_attr
)(PyObject
*); /* Set the value */
41750 struct swig_globalvar
*next
;
41753 typedef struct swig_varlinkobject
{
41755 swig_globalvar
*vars
;
41756 } swig_varlinkobject
;
41758 SWIGINTERN PyObject
*
41759 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41760 return PyString_FromString("<Swig global variables>");
41763 SWIGINTERN PyObject
*
41764 swig_varlink_str(swig_varlinkobject
*v
) {
41765 PyObject
*str
= PyString_FromString("(");
41766 swig_globalvar
*var
;
41767 for (var
= v
->vars
; var
; var
=var
->next
) {
41768 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41769 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41771 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41776 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41777 PyObject
*str
= swig_varlink_str(v
);
41778 fprintf(fp
,"Swig global variables ");
41779 fprintf(fp
,"%s\n", PyString_AsString(str
));
41785 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41786 swig_globalvar
*var
= v
->vars
;
41788 swig_globalvar
*n
= var
->next
;
41795 SWIGINTERN PyObject
*
41796 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41797 PyObject
*res
= NULL
;
41798 swig_globalvar
*var
= v
->vars
;
41800 if (strcmp(var
->name
,n
) == 0) {
41801 res
= (*var
->get_attr
)();
41806 if (res
== NULL
&& !PyErr_Occurred()) {
41807 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41813 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41815 swig_globalvar
*var
= v
->vars
;
41817 if (strcmp(var
->name
,n
) == 0) {
41818 res
= (*var
->set_attr
)(p
);
41823 if (res
== 1 && !PyErr_Occurred()) {
41824 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41829 SWIGINTERN PyTypeObject
*
41830 swig_varlink_type(void) {
41831 static char varlink__doc__
[] = "Swig var link object";
41832 static PyTypeObject varlink_type
;
41833 static int type_init
= 0;
41835 const PyTypeObject tmp
41837 PyObject_HEAD_INIT(NULL
)
41838 0, /* Number of items in variable part (ob_size) */
41839 (char *)"swigvarlink", /* Type name (tp_name) */
41840 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41841 0, /* Itemsize (tp_itemsize) */
41842 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41843 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41844 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41845 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41846 0, /* tp_compare */
41847 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41848 0, /* tp_as_number */
41849 0, /* tp_as_sequence */
41850 0, /* tp_as_mapping */
41853 (reprfunc
)swig_varlink_str
, /* tp_str */
41854 0, /* tp_getattro */
41855 0, /* tp_setattro */
41856 0, /* tp_as_buffer */
41858 varlink__doc__
, /* tp_doc */
41859 0, /* tp_traverse */
41861 0, /* tp_richcompare */
41862 0, /* tp_weaklistoffset */
41863 #if PY_VERSION_HEX >= 0x02020000
41864 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41866 #if PY_VERSION_HEX >= 0x02030000
41869 #ifdef COUNT_ALLOCS
41870 0,0,0,0 /* tp_alloc -> tp_next */
41873 varlink_type
= tmp
;
41874 varlink_type
.ob_type
= &PyType_Type
;
41877 return &varlink_type
;
41880 /* Create a variable linking object for use later */
41881 SWIGINTERN PyObject
*
41882 SWIG_Python_newvarlink(void) {
41883 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41887 return ((PyObject
*) result
);
41891 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41892 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41893 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41895 size_t size
= strlen(name
)+1;
41896 gv
->name
= (char *)malloc(size
);
41898 strncpy(gv
->name
,name
,size
);
41899 gv
->get_attr
= get_attr
;
41900 gv
->set_attr
= set_attr
;
41901 gv
->next
= v
->vars
;
41907 SWIGINTERN PyObject
*
41909 static PyObject
*_SWIG_globals
= 0;
41910 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41911 return _SWIG_globals
;
41914 /* -----------------------------------------------------------------------------
41915 * constants/methods manipulation
41916 * ----------------------------------------------------------------------------- */
41918 /* Install Constants */
41920 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41923 for (i
= 0; constants
[i
].type
; ++i
) {
41924 switch(constants
[i
].type
) {
41925 case SWIG_PY_POINTER
:
41926 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41928 case SWIG_PY_BINARY
:
41929 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41936 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41942 /* -----------------------------------------------------------------------------*/
41943 /* Fix SwigMethods to carry the callback ptrs when needed */
41944 /* -----------------------------------------------------------------------------*/
41947 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41948 swig_const_info
*const_table
,
41949 swig_type_info
**types
,
41950 swig_type_info
**types_initial
) {
41952 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41953 const char *c
= methods
[i
].ml_doc
;
41954 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41956 swig_const_info
*ci
= 0;
41957 const char *name
= c
+ 10;
41958 for (j
= 0; const_table
[j
].type
; ++j
) {
41959 if (strncmp(const_table
[j
].name
, name
,
41960 strlen(const_table
[j
].name
)) == 0) {
41961 ci
= &(const_table
[j
]);
41966 size_t shift
= (ci
->ptype
) - types
;
41967 swig_type_info
*ty
= types_initial
[shift
];
41968 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41969 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41970 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41973 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41975 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41977 strncpy(buff
, "swig_ptr: ", 10);
41979 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41980 methods
[i
].ml_doc
= ndoc
;
41992 /* -----------------------------------------------------------------------------*
41993 * Partial Init method
41994 * -----------------------------------------------------------------------------*/
41999 SWIGEXPORT
void SWIG_init(void) {
42002 /* Fix SwigMethods to carry the callback ptrs when needed */
42003 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
42005 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42006 d
= PyModule_GetDict(m
);
42008 SWIG_InitializeModule(0);
42009 SWIG_InstallConstants(d
,swig_const_table
);
42012 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
42013 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
42014 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
42015 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
42016 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
42017 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
42018 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
42019 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
42020 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
42021 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
42022 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
42023 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
42024 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
42025 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
42026 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
42027 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
42028 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
42029 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
42030 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
42031 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
42032 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
42033 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
42034 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
42035 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
42036 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
42037 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
42038 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
42039 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
42040 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
42041 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
42042 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
42043 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
42044 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
42045 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
42046 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
42047 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
42048 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
42049 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
42050 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
42051 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
42052 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
42053 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
42054 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
42055 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
42056 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
42057 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
42058 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
42059 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
42060 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
42061 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
42062 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
42063 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
42064 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
42065 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
42066 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
42067 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
42068 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
42069 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
42070 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
42071 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
42072 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
42073 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
42074 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
42075 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
42076 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
42077 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
42078 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
42079 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
42080 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
42081 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
42082 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
42083 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
42084 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
42085 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
42086 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
42087 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
42088 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
42089 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
42090 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
42091 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
42092 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
42093 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
42094 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
42095 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
42096 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
42097 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
42098 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
42099 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
42100 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
42101 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
42102 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
42103 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
42104 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
42105 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
42106 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
42107 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
42108 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
42109 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
42110 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
42111 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
42112 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
42113 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
42114 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
42115 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
42116 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
42117 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
42118 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
42119 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
42120 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
42121 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
42122 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
42123 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
42124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
42125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
42126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
42127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
42128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
42129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
42130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
42131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
42132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
42133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
42134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
42135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
42136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
42137 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
42138 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
42139 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
42140 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
42141 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
42142 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
42143 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
42145 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
42147 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
42148 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
42149 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42150 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42151 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42152 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42153 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42154 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42155 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42156 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42157 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42158 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42159 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42160 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42161 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42162 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42163 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42164 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42165 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42166 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42167 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42168 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42169 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42170 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42171 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42172 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42173 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42174 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42175 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42176 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42177 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42178 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42179 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42180 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42181 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42182 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42183 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42184 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42185 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42186 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42187 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42188 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42189 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42190 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42191 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42192 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42193 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42194 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42195 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42196 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42197 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42205 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42206 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42207 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42208 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42209 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42210 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42211 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42212 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42213 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42214 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42215 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42216 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42217 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42218 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42219 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42220 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42221 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42222 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42223 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42224 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42225 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42226 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42227 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42228 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42229 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42230 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42231 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42232 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42233 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42234 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42235 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42236 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42237 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42238 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42239 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42240 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42241 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42242 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42243 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42244 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42245 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42246 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42247 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42248 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42249 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42250 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42251 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42252 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42253 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42254 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42255 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42256 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42257 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42258 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42259 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42260 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42261 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42262 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42263 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42264 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42265 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42266 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42267 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42268 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42269 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42270 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42271 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42272 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42273 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42274 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42275 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42276 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42277 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42278 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42279 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42280 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42281 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42282 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42283 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42284 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42285 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42286 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42287 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42288 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42289 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42290 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42291 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42292 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42293 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42294 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42295 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42296 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42297 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42298 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42299 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42300 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42301 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42302 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42303 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42304 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42305 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42306 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42307 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42308 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42309 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42310 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42311 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42312 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42313 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42314 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42315 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42316 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42317 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42318 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42319 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42320 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42321 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42322 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42323 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42324 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42325 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42326 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42327 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42328 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42329 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42330 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42331 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42332 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42333 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42334 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42335 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42336 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42337 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42338 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42339 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42340 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42341 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42342 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42343 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42344 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42345 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42346 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42347 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42348 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42349 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42350 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42351 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42352 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42353 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42354 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42355 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42356 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42357 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42358 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42359 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42360 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42361 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42362 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42363 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42364 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42365 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42366 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42367 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42368 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42369 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42370 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42371 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42372 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42373 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42374 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42375 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42376 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42377 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42378 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42379 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42380 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42381 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42382 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42383 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42384 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42385 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42386 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42387 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42388 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42389 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42390 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42391 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42392 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42393 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42394 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42395 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42396 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42397 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42398 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42399 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42400 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42401 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42402 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42403 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42404 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42405 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42406 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42407 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42408 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42409 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42410 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42411 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42412 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42413 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42414 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42415 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42416 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42417 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42418 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42419 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42420 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42421 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42422 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42423 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42424 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42425 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42426 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42427 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42428 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42429 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42430 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42431 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42432 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42433 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42434 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42435 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42436 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42437 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42438 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42439 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42440 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42441 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42442 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42443 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42444 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42445 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42446 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42447 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42448 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42449 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42450 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42451 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42452 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42453 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42454 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42455 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42456 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42457 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42458 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42459 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42460 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42461 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42462 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42463 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42464 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42465 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42466 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42467 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42468 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42469 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42470 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42472 // Work around a chicken/egg problem in drawlist.cpp
42473 wxPyDrawList_SetAPIPtr();