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_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2981 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2982 wxSize
size(self
->GetWidth(), self
->GetHeight());
2985 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2986 wxMask
*mask
= new wxMask(*self
, colour
);
2987 self
->SetMask(mask
);
2989 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2990 self
->SetWidth(size
.x
);
2991 self
->SetHeight(size
.y
);
2993 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2994 int height
=self
->GetHeight();
2995 int width
=self
->GetWidth();
2997 if (DATASIZE
!= width
* height
* 3) {
2998 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3000 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3002 // raise an exception...
3003 wxPyErr_SetString(PyExc_RuntimeError
,
3004 "Failed to gain raw access to bitmap data.");
3008 wxNativePixelData::Iterator
p(pixData
);
3009 for (int y
=0; y
<height
; y
++) {
3010 wxNativePixelData::Iterator rowStart
= p
;
3011 for (int x
=0; x
<width
; x
++) {
3012 p
.Red() = *(data
++);
3013 p
.Green() = *(data
++);
3014 p
.Blue() = *(data
++);
3018 p
.OffsetY(pixData
, 1);
3021 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3022 int height
=self
->GetHeight();
3023 int width
=self
->GetWidth();
3025 if (DATASIZE
!= width
* height
* 4) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3028 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3030 // raise an exception...
3031 wxPyErr_SetString(PyExc_RuntimeError
,
3032 "Failed to gain raw access to bitmap data.");
3037 wxAlphaPixelData::Iterator
p(pixData
);
3038 for (int y
=0; y
<height
; y
++) {
3039 wxAlphaPixelData::Iterator rowStart
= p
;
3040 for (int x
=0; x
<width
; x
++) {
3042 p
.Red() = wxPy_premultiply(*(data
++), a
);
3043 p
.Green() = wxPy_premultiply(*(data
++), a
);
3044 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3045 p
.Alpha() = a
; data
++;
3049 p
.OffsetY(pixData
, 1);
3052 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3053 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3055 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3056 buffer data
, int DATASIZE
,
3057 buffer alpha
, int ALPHASIZE
)
3059 if (DATASIZE
!= width
*height
*3) {
3060 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3064 if (ALPHASIZE
!= width
*height
) {
3065 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3069 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3070 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3072 // raise an exception...
3073 wxPyErr_SetString(PyExc_RuntimeError
,
3074 "Failed to gain raw access to bitmap data.");
3079 wxAlphaPixelData::Iterator
p(pixData
);
3080 for (int y
=0; y
<height
; y
++) {
3081 wxAlphaPixelData::Iterator rowStart
= p
;
3082 for (int x
=0; x
<width
; x
++) {
3083 byte a
= *(alpha
++);
3084 p
.Red() = wxPy_premultiply(*(data
++), a
);
3085 p
.Green() = wxPy_premultiply(*(data
++), a
);
3086 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3091 p
.OffsetY(pixData
, 1);
3096 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3098 if (DATASIZE
!= width
*height
*3) {
3099 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3103 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3104 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3106 // raise an exception...
3107 wxPyErr_SetString(PyExc_RuntimeError
,
3108 "Failed to gain raw access to bitmap data.");
3112 wxNativePixelData::Iterator
p(pixData
);
3113 for (int y
=0; y
<height
; y
++) {
3114 wxNativePixelData::Iterator rowStart
= p
;
3115 for (int x
=0; x
<width
; x
++) {
3116 p
.Red() = *(data
++);
3117 p
.Green() = *(data
++);
3118 p
.Blue() = *(data
++);
3122 p
.OffsetY(pixData
, 1);
3128 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3130 if (DATASIZE
!= width
*height
*4) {
3131 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3135 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3136 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3138 // raise an exception...
3139 wxPyErr_SetString(PyExc_RuntimeError
,
3140 "Failed to gain raw access to bitmap data.");
3145 wxAlphaPixelData::Iterator
p(pixData
);
3146 for (int y
=0; y
<height
; y
++) {
3147 wxAlphaPixelData::Iterator rowStart
= p
;
3148 for (int x
=0; x
<width
; x
++) {
3150 p
.Red() = wxPy_premultiply(*(data
++), a
);
3151 p
.Green() = wxPy_premultiply(*(data
++), a
);
3152 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3153 p
.Alpha() = a
; data
++;
3157 p
.OffsetY(pixData
, 1);
3163 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3165 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3167 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3169 self
->Green() = green
;
3170 self
->Blue() = blue
;
3172 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3173 PyObject
* rv
= PyTuple_New(3);
3174 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3175 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3176 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3180 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3182 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3184 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3185 self
->Red() = wxPy_premultiply(red
, alpha
);
3186 self
->Green() = wxPy_premultiply(green
, alpha
);
3187 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3188 self
->Alpha() = alpha
;
3190 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3191 PyObject
* rv
= PyTuple_New(4);
3192 int red
= self
->Red();
3193 int green
= self
->Green();
3194 int blue
= self
->Blue();
3195 int alpha
= self
->Alpha();
3197 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3198 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3199 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3200 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3203 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3204 if ( !colour
.IsOk() )
3205 return new wxMask(bitmap
, *wxBLACK
);
3207 return new wxMask(bitmap
, colour
);
3210 #include <wx/iconbndl.h>
3212 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3213 wxIcon
* icon
= new wxIcon();
3214 icon
->CopyFromBitmap(bmp
);
3217 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3218 char** cArray
= NULL
;
3221 cArray
= ConvertListOfStrings(listOfStrings
);
3224 icon
= new wxIcon(cArray
);
3228 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3229 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
, num
);
3236 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3238 self
->SetIndex(num
);
3243 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3245 return self
->GetIndex();
3250 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3252 wxImage
img(cursorName
, type
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3254 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3255 return new wxCursor(img
);
3257 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3263 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3266 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3267 return self
->operator bool();
3270 #include <wx/fontutil.h>
3271 #include <wx/fontmap.h>
3272 #include <wx/fontenum.h>
3274 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3275 return self
->ToString();
3278 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3279 { wxPyRaiseNotImplemented(); return NULL
; }
3281 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3282 { wxPyRaiseNotImplemented(); return false; }
3285 SWIGINTERNINLINE PyObject
*
3286 SWIG_From_size_t (size_t value
)
3288 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3292 SWIGINTERNINLINE
int
3293 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3296 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3297 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3301 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3302 wxFontEncoding alt_enc
;
3303 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3304 return PyInt_FromLong(alt_enc
);
3310 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3311 wxNativeFontInfo nfi
;
3312 nfi
.FromString(info
);
3313 return new wxFont(nfi
);
3315 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3318 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3319 return wxFontBase::New(pixelSize
, family
,
3320 style
, weight
, underlined
,
3323 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3324 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3326 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3327 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3329 class wxPyFontEnumerator
: public wxFontEnumerator
{
3331 wxPyFontEnumerator() {}
3332 ~wxPyFontEnumerator() {}
3334 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3335 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3340 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3341 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3344 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3346 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3348 ret
= wxArrayString2PyList_helper(arr
);
3349 wxPyEndBlockThreads(blocked
);
3352 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3354 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3356 ret
= wxArrayString2PyList_helper(arr
);
3357 wxPyEndBlockThreads(blocked
);
3363 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3366 loc
= new wxLocale();
3368 loc
= new wxLocale(language
, flags
);
3369 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3370 // for the floating point conversions and such to work right.
3371 #if PY_VERSION_HEX < 0x02040000
3372 setlocale(LC_NUMERIC
, "C");
3376 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3377 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3378 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3379 // for the floating point conversions and such to work right.
3380 #if PY_VERSION_HEX < 0x02040000
3381 setlocale(LC_NUMERIC
, "C");
3385 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 bool rc
= self
->Init(language
, flags
);
3387 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3388 // for the floating point conversions and such to work right.
3389 #if PY_VERSION_HEX < 0x02040000
3390 setlocale(LC_NUMERIC
, "C");
3395 class wxPyLocale
: public wxLocale
3400 wxPyLocale(const wxChar
*szName
, // name (for messages)
3401 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3402 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3403 bool bLoadDefault
= true, // preload wxstd.mo?
3404 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3406 wxPyLocale(int language
, // wxLanguage id or custom language
3407 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szDomain
= NULL
) const;
3413 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3414 const wxChar
*szOrigString2
, size_t n
,
3415 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3418 const wxChar
*szDomain
= NULL
) const;
3419 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3420 const wxChar
*szOrigString2
, size_t n
,
3421 const wxChar
*szDomain
= NULL
) const;
3425 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3428 wxPyLocale::wxPyLocale() : wxLocale()
3432 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3433 const wxChar
*szShort
, // dir prefix (for msg files)
3434 const wxChar
*szLocale
, // locale (for setlocale)
3435 bool bLoadDefault
, // preload wxstd.mo?
3436 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3437 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3441 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3442 int flags
) : wxLocale(language
, flags
)
3446 wxPyLocale::~wxPyLocale()
3450 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3451 const wxChar
*szDomain
) const
3453 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3454 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3457 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3458 const wxChar
*szOrigString2
, size_t n
,
3459 const wxChar
*szDomain
) const
3461 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3462 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3465 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3466 const wxChar
*szDomain
) const
3469 static wxString str
;
3470 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.
3471 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3472 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3473 PyObject
* param1
= wx2PyString(szOrigString
);
3474 PyObject
* param2
= wx2PyString(szDomain
);
3475 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3479 str
= Py2wxString(ret
);
3483 wxPyEndBlockThreads(blocked
);
3484 return (found
? (wxChar
*)str
.c_str() : NULL
);
3487 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3488 const wxChar
*szOrigString2
, size_t n
,
3489 const wxChar
*szDomain
) const
3492 static wxString str
;
3493 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.
3494 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3495 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3496 PyObject
* param1
= wx2PyString(szOrigString
);
3497 PyObject
* param2
= wx2PyString(szOrigString2
);
3498 PyObject
* param4
= wx2PyString(szDomain
);
3499 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3504 str
= Py2wxString(ret
);
3508 wxPyEndBlockThreads(blocked
);
3509 return (found
? (wxChar
*)str
.c_str() : NULL
);
3512 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3515 loc
= new wxPyLocale();
3517 loc
= new wxPyLocale(language
, flags
);
3518 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3519 // for the floating point conversions and such to work right.
3520 #if PY_VERSION_HEX < 0x02040000
3521 setlocale(LC_NUMERIC
, "C");
3526 #include "wx/wxPython/pydrawxxx.h"
3528 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3530 self
->GetPixel(x
, y
, &col
);
3533 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3535 self
->GetPixel(pt
, &col
);
3540 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3542 if (PyNumber_Check(obj
)) {
3543 if (val
) *val
= PyFloat_AsDouble(obj
);
3546 return SWIG_TypeError
;
3549 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3551 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3554 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3556 self
->GetClippingBox(rect
);
3559 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3561 self
->GetPartialTextExtents(text
, widths
);
3565 #define SWIG_From_double PyFloat_FromDouble
3567 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetLogicalOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->SetDeviceOrigin(point
.x
, point
.y
);
3573 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3574 self
->CalcBoundingBox(point
.x
, point
.y
);
3576 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3589 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3591 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3592 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3595 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3603 #include <wx/dcbuffer.h>
3606 #include <wx/dcps.h>
3609 #include <wx/metafile.h>
3612 #include <wx/graphics.h>
3615 #if !wxUSE_GRAPHICS_CONTEXT
3616 // C++ stub classes for platforms or build configurations that don't have
3617 // wxGraphicsContext yet.
3619 class wxGraphicsRenderer
;
3620 class wxGraphicsMatrix
;
3623 class wxGraphicsObject
: public wxObject
3626 wxGraphicsObject() {}
3627 wxGraphicsObject( wxGraphicsRenderer
* ) {
3628 PyErr_SetString(PyExc_NotImplementedError
,
3629 "wx.GraphicsObject is not available on this platform.");
3631 wxGraphicsObject( const wxGraphicsObject
& ) {}
3632 virtual ~wxGraphicsObject() {}
3633 bool IsNull() const { return false; }
3634 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3639 class wxGraphicsPen
: public wxGraphicsObject
3643 virtual ~wxGraphicsPen() {}
3645 wxGraphicsPen wxNullGraphicsPen
;
3649 class wxGraphicsBrush
: public wxGraphicsObject
3652 wxGraphicsBrush() {}
3653 virtual ~wxGraphicsBrush() {}
3655 wxGraphicsBrush wxNullGraphicsBrush
;
3659 class wxGraphicsFont
: public wxGraphicsObject
3663 virtual ~wxGraphicsFont() {}
3665 wxGraphicsFont wxNullGraphicsFont
;
3669 class wxGraphicsPath
: public wxGraphicsObject
3672 wxGraphicsPath() { }
3673 wxGraphicsPath(wxGraphicsRenderer
* ) {
3674 PyErr_SetString(PyExc_NotImplementedError
,
3675 "wx.GraphicsPath is not available on this platform.");
3677 virtual ~wxGraphicsPath() {}
3679 void MoveToPoint( wxDouble
, wxDouble
) {}
3680 void MoveToPoint( const wxPoint2DDouble
& ) {}
3681 void AddLineToPoint( wxDouble
, wxDouble
) {}
3682 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3683 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3684 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3685 void AddPath( const wxGraphicsPath
& ) {}
3686 void CloseSubpath() {}
3687 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3688 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3689 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3690 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3692 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3693 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3694 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3695 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3697 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3698 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3699 void * GetNativePath() const { return NULL
; }
3700 void UnGetNativePath(void *) const {}
3701 void Transform( const wxGraphicsMatrix
& ) {}
3702 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3703 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3705 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3706 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3708 wxGraphicsPath wxNullGraphicsPath
;
3711 class wxGraphicsMatrix
: public wxGraphicsObject
3714 wxGraphicsMatrix() { }
3715 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3716 PyErr_SetString(PyExc_NotImplementedError
,
3717 "wx.GraphicsMatrix is not available on this platform.");
3719 virtual ~wxGraphicsMatrix() {}
3720 virtual void Concat( const wxGraphicsMatrix
& ) {}
3721 virtual void Copy( const wxGraphicsMatrix
& ) {}
3722 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3723 wxDouble
, wxDouble
) {}
3724 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3725 wxDouble
*, wxDouble
*, wxDouble
*) {}
3726 virtual void Invert() {}
3727 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3728 virtual bool IsIdentity() const { return false; }
3729 virtual void Translate( wxDouble
, wxDouble
) {}
3730 virtual void Scale( wxDouble
, wxDouble
) {}
3731 virtual void Rotate( wxDouble
) {}
3732 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3733 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3734 virtual void * GetNativeMatrix() const { return NULL
; }
3736 wxGraphicsMatrix wxNullGraphicsMatrix
;
3739 class wxGraphicsContext
: public wxGraphicsObject
3743 wxGraphicsContext(wxGraphicsRenderer
* ) {
3744 PyErr_SetString(PyExc_NotImplementedError
,
3745 "wx.GraphicsContext is not available on this platform.");
3748 virtual ~wxGraphicsContext() {}
3750 static wxGraphicsContext
* Create() {
3751 PyErr_SetString(PyExc_NotImplementedError
,
3752 "wx.GraphicsContext is not available on this platform.");
3755 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3756 PyErr_SetString(PyExc_NotImplementedError
,
3757 "wx.GraphicsContext is not available on this platform.");
3761 static wxGraphicsContext
* CreateFromNative( void * ) {
3762 PyErr_SetString(PyExc_NotImplementedError
,
3763 "wx.GraphicsContext is not available on this platform.");
3767 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3768 PyErr_SetString(PyExc_NotImplementedError
,
3769 "wx.GraphicsContext is not available on this platform.");
3773 static wxGraphicsContext
* Create( wxWindow
* ) {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3779 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3781 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3783 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3785 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3786 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3788 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3789 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3790 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3792 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3794 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3795 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3797 virtual void PushState() {}
3798 virtual void PopState() {}
3799 virtual void Clip( const wxRegion
& ) {}
3800 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3801 virtual void ResetClip() {}
3802 virtual void * GetNativeContext() { return NULL
; }
3803 virtual int GetLogicalFunction() const { return 0; }
3804 virtual bool SetLogicalFunction(int ) {}
3805 virtual void Translate( wxDouble
, wxDouble
) {}
3806 virtual void Scale( wxDouble
, wxDouble
) {}
3807 virtual void Rotate( wxDouble
) {}
3808 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3809 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3810 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3812 virtual void SetPen( const wxGraphicsPen
& ) {}
3813 void SetPen( const wxPen
& ) {}
3815 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3816 void SetBrush( const wxBrush
& ) {}
3818 virtual void SetFont( const wxGraphicsFont
& ) {}
3819 void SetFont( const wxFont
&, const wxColour
& ) {}
3821 virtual void StrokePath( const wxGraphicsPath
& ) {}
3822 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3823 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3825 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3826 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3828 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3829 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3830 wxDouble
*, wxDouble
* ) const {}
3831 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3833 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3834 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3836 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3838 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3839 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3840 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3844 virtual bool ShouldOffset() const { return false; }
3848 class wxGraphicsRenderer
: public wxObject
3851 wxGraphicsRenderer() {
3852 PyErr_SetString(PyExc_NotImplementedError
,
3853 "wx.GraphicsRenderer is not available on this platform.");
3856 virtual ~wxGraphicsRenderer() {}
3858 static wxGraphicsRenderer
* GetDefaultRenderer() {
3859 PyErr_SetString(PyExc_NotImplementedError
,
3860 "wx.GraphicsRenderer is not available on this platform.");
3864 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3866 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3867 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3868 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3870 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3872 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3873 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3875 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3876 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3877 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3878 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3879 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3880 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3881 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3886 class wxGCDC
: public wxWindowDC
3889 wxGCDC(const wxWindowDC
&) {
3890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3891 PyErr_SetString(PyExc_NotImplementedError
,
3892 "wxGCDC is not available on this platform.");
3893 wxPyEndBlockThreads(blocked
);
3896 wxGCDC(const wxWindow
*) {
3897 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3898 PyErr_SetString(PyExc_NotImplementedError
,
3899 "wxGCDC is not available on this platform.");
3900 wxPyEndBlockThreads(blocked
);
3904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3905 PyErr_SetString(PyExc_NotImplementedError
,
3906 "wxGCDC is not available on this platform.");
3907 wxPyEndBlockThreads(blocked
);
3910 virtual ~wxGCDC() {}
3912 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3913 void SetGraphicsContext( wxGraphicsContext
* ) {}
3918 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3919 if ( !backgroundBrush
.IsNull() )
3920 self
->DrawText(str
, x
, y
, backgroundBrush
);
3922 self
->DrawText(str
, x
, y
);
3924 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3925 if ( !backgroundBrush
.IsNull() )
3926 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3928 self
->DrawText(str
, x
, y
, angle
);
3930 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3931 wxDouble width
= 0.0,
3933 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3934 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3935 PyObject
* rv
= PyTuple_New(2);
3936 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3937 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3940 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3941 wxArrayDouble widths
;
3942 self
->GetPartialTextExtents(text
, widths
);
3945 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3946 size_t c1
, c2
, count
;
3947 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3948 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3950 if ( beginP
!= NULL
&& endP
!= NULL
)
3952 count
= wxMin(c1
, c2
);
3953 self
->StrokeLines(count
, beginP
, endP
);
3959 #include "wx/dcgraph.h"
3962 #include <wx/overlay.h>
3966 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3967 self
->AddColour(name
, wxColour(red
, green
, blue
));
3970 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3971 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3972 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3973 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3976 #include <wx/effects.h>
3979 #include "wx/renderer.h"
3982 SWIGINTERNINLINE PyObject
*
3983 SWIG_From_bool (bool value
)
3985 return PyBool_FromLong(value
? 1 : 0);
3989 #include "wx/wxPython/pseudodc.h"
3991 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3993 self
->GetIdBounds(id
, rect
);
3999 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4000 PyObject
*resultobj
= 0;
4001 wxGDIObject
*result
= 0 ;
4003 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4005 if (!wxPyCheckForApp()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (wxGDIObject
*)new wxGDIObject();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4018 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4023 PyObject
*swig_obj
[1] ;
4025 if (!args
) SWIG_fail
;
4027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4028 if (!SWIG_IsOK(res1
)) {
4029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4031 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_Py_Void();
4046 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4047 PyObject
*resultobj
= 0;
4048 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4052 PyObject
*swig_obj
[1] ;
4054 if (!args
) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4060 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (bool)(arg1
)->IsNull();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4076 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4079 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4080 return SWIG_Py_Void();
4083 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4084 return SWIG_Python_InitShadowInstance(args
);
4087 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
= 0;
4089 byte arg1
= (byte
) 0 ;
4090 byte arg2
= (byte
) 0 ;
4091 byte arg3
= (byte
) 0 ;
4092 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4093 wxColour
*result
= 0 ;
4094 unsigned char val1
;
4096 unsigned char val2
;
4098 unsigned char val3
;
4100 unsigned char val4
;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 PyObject
* obj2
= 0 ;
4105 PyObject
* obj3
= 0 ;
4106 char * kwnames
[] = {
4107 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4112 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4113 if (!SWIG_IsOK(ecode1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4116 arg1
= static_cast< byte
>(val1
);
4119 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4120 if (!SWIG_IsOK(ecode2
)) {
4121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4123 arg2
= static_cast< byte
>(val2
);
4126 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4127 if (!SWIG_IsOK(ecode3
)) {
4128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4130 arg3
= static_cast< byte
>(val3
);
4133 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4134 if (!SWIG_IsOK(ecode4
)) {
4135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4137 arg4
= static_cast< byte
>(val4
);
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4152 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
= 0;
4154 wxString
*arg1
= 0 ;
4155 wxColour
*result
= 0 ;
4156 bool temp1
= false ;
4157 PyObject
* obj0
= 0 ;
4158 char * kwnames
[] = {
4159 (char *) "colorName", NULL
4162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4164 arg1
= wxString_in_helper(obj0
);
4165 if (arg1
== NULL
) SWIG_fail
;
4169 if (!wxPyCheckForApp()) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4190 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
= 0;
4192 unsigned long arg1
;
4193 wxColour
*result
= 0 ;
4194 unsigned long val1
;
4196 PyObject
* obj0
= 0 ;
4197 char * kwnames
[] = {
4198 (char *) "colRGB", NULL
4201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4202 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4203 if (!SWIG_IsOK(ecode1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4206 arg1
= static_cast< unsigned long >(val1
);
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (wxColour
*)new wxColour(arg1
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4220 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4221 PyObject
*resultobj
= 0;
4222 wxColour
*arg1
= (wxColour
*) 0 ;
4225 PyObject
*swig_obj
[1] ;
4227 if (!args
) SWIG_fail
;
4229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4230 if (!SWIG_IsOK(res1
)) {
4231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4233 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= SWIG_Py_Void();
4248 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4249 PyObject
*resultobj
= 0;
4250 wxColour
*arg1
= (wxColour
*) 0 ;
4254 PyObject
*swig_obj
[1] ;
4256 if (!args
) SWIG_fail
;
4258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4259 if (!SWIG_IsOK(res1
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4262 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (byte
)(arg1
)->Red();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4276 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4277 PyObject
*resultobj
= 0;
4278 wxColour
*arg1
= (wxColour
*) 0 ;
4282 PyObject
*swig_obj
[1] ;
4284 if (!args
) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4290 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= (byte
)(arg1
)->Green();
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4304 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4305 PyObject
*resultobj
= 0;
4306 wxColour
*arg1
= (wxColour
*) 0 ;
4310 PyObject
*swig_obj
[1] ;
4312 if (!args
) SWIG_fail
;
4314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4315 if (!SWIG_IsOK(res1
)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4318 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (byte
)(arg1
)->Blue();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4332 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4333 PyObject
*resultobj
= 0;
4334 wxColour
*arg1
= (wxColour
*) 0 ;
4338 PyObject
*swig_obj
[1] ;
4340 if (!args
) SWIG_fail
;
4342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4343 if (!SWIG_IsOK(res1
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4346 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (byte
)(arg1
)->Alpha();
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4360 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4361 PyObject
*resultobj
= 0;
4362 wxColour
*arg1
= (wxColour
*) 0 ;
4366 PyObject
*swig_obj
[1] ;
4368 if (!args
) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4374 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (bool)(arg1
)->IsOk();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4390 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxColour
*arg1
= (wxColour
*) 0 ;
4396 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4399 unsigned char val2
;
4401 unsigned char val3
;
4403 unsigned char val4
;
4405 unsigned char val5
;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 PyObject
* obj2
= 0 ;
4410 PyObject
* obj3
= 0 ;
4411 PyObject
* obj4
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4421 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4422 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4423 if (!SWIG_IsOK(ecode2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4426 arg2
= static_cast< byte
>(val2
);
4427 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4428 if (!SWIG_IsOK(ecode3
)) {
4429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4431 arg3
= static_cast< byte
>(val3
);
4432 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4433 if (!SWIG_IsOK(ecode4
)) {
4434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4436 arg4
= static_cast< byte
>(val4
);
4438 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4439 if (!SWIG_IsOK(ecode5
)) {
4440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4442 arg5
= static_cast< byte
>(val5
);
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_Py_Void();
4457 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
= 0;
4459 wxColour
*arg1
= (wxColour
*) 0 ;
4460 unsigned long arg2
;
4463 unsigned long val2
;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4467 char * kwnames
[] = {
4468 (char *) "self",(char *) "colRGB", NULL
4471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4473 if (!SWIG_IsOK(res1
)) {
4474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4476 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4477 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4478 if (!SWIG_IsOK(ecode2
)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4481 arg2
= static_cast< unsigned long >(val2
);
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_Py_Void();
4495 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
= 0;
4497 wxColour
*arg1
= (wxColour
*) 0 ;
4498 wxString
*arg2
= 0 ;
4501 bool temp2
= false ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4504 char * kwnames
[] = {
4505 (char *) "self",(char *) "colourName", NULL
4508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4510 if (!SWIG_IsOK(res1
)) {
4511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4513 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4515 arg2
= wxString_in_helper(obj1
);
4516 if (arg2
== NULL
) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 (arg1
)->Set((wxString
const &)*arg2
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= SWIG_Py_Void();
4540 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= 0;
4542 wxColour
*arg1
= (wxColour
*) 0 ;
4543 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4551 char * kwnames
[] = {
4552 (char *) "self",(char *) "flags", NULL
4555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4557 if (!SWIG_IsOK(res1
)) {
4558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4560 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4563 if (!SWIG_IsOK(ecode2
)) {
4564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4566 arg2
= static_cast< long >(val2
);
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4587 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4588 PyObject
*resultobj
= 0;
4589 wxColour
*arg1
= (wxColour
*) 0 ;
4593 PyObject
*swig_obj
[1] ;
4595 if (!args
) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4601 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= SWIG_From_long(static_cast< long >(result
));
4615 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
= 0;
4617 wxColour
*arg1
= (wxColour
*) 0 ;
4618 PyObject
*arg2
= (PyObject
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4624 char * kwnames
[] = {
4625 (char *) "self",(char *) "other", NULL
4628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4630 if (!SWIG_IsOK(res1
)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4633 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4636 result
= (bool)wxColour___eq__(arg1
,arg2
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4648 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
= 0;
4650 wxColour
*arg1
= (wxColour
*) 0 ;
4651 PyObject
*arg2
= (PyObject
*) 0 ;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 char * kwnames
[] = {
4658 (char *) "self",(char *) "other", NULL
4661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4663 if (!SWIG_IsOK(res1
)) {
4664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4666 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4669 result
= (bool)wxColour___ne__(arg1
,arg2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4681 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
= 0;
4683 wxColour
*arg1
= (wxColour
*) 0 ;
4684 bool arg2
= (bool) false ;
4685 PyObject
*result
= 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 char * kwnames
[] = {
4693 (char *) "self",(char *) "includeAlpha", NULL
4696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4698 if (!SWIG_IsOK(res1
)) {
4699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4701 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4703 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4704 if (!SWIG_IsOK(ecode2
)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4707 arg2
= static_cast< bool >(val2
);
4710 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4720 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4721 PyObject
*resultobj
= 0;
4722 wxColour
*arg1
= (wxColour
*) 0 ;
4723 unsigned long result
;
4726 PyObject
*swig_obj
[1] ;
4728 if (!args
) SWIG_fail
;
4730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4731 if (!SWIG_IsOK(res1
)) {
4732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4734 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4736 result
= (unsigned long)wxColour_GetRGB(arg1
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4746 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4749 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4750 return SWIG_Py_Void();
4753 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4754 return SWIG_Python_InitShadowInstance(args
);
4757 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
= 0;
4760 unsigned char *arg2
= (unsigned char *) 0 ;
4761 unsigned char *arg3
= (unsigned char *) 0 ;
4762 unsigned char *arg4
= (unsigned char *) 0 ;
4763 wxPalette
*result
= 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4775 PyObject
* obj3
= 0 ;
4776 char * kwnames
[] = {
4777 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4782 if (!SWIG_IsOK(ecode1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4785 arg1
= static_cast< int >(val1
);
4786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4787 if (!SWIG_IsOK(res2
)) {
4788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4790 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4791 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4792 if (!SWIG_IsOK(res3
)) {
4793 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4795 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4796 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4797 if (!SWIG_IsOK(res4
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4800 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4802 if (!wxPyCheckForApp()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4815 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4816 PyObject
*resultobj
= 0;
4817 wxPalette
*arg1
= (wxPalette
*) 0 ;
4820 PyObject
*swig_obj
[1] ;
4822 if (!args
) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4828 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_Py_Void();
4843 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
= 0;
4845 wxPalette
*arg1
= (wxPalette
*) 0 ;
4852 unsigned char val2
;
4854 unsigned char val3
;
4856 unsigned char val4
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4861 PyObject
* obj3
= 0 ;
4862 char * kwnames
[] = {
4863 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4868 if (!SWIG_IsOK(res1
)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4871 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4872 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4873 if (!SWIG_IsOK(ecode2
)) {
4874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4876 arg2
= static_cast< byte
>(val2
);
4877 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4878 if (!SWIG_IsOK(ecode3
)) {
4879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4881 arg3
= static_cast< byte
>(val3
);
4882 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4883 if (!SWIG_IsOK(ecode4
)) {
4884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4886 arg4
= static_cast< byte
>(val4
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_From_int(static_cast< int >(result
));
4900 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
= 0;
4902 wxPalette
*arg1
= (wxPalette
*) 0 ;
4904 byte
*arg3
= (byte
*) 0 ;
4905 byte
*arg4
= (byte
*) 0 ;
4906 byte
*arg5
= (byte
*) 0 ;
4913 int res3
= SWIG_TMPOBJ
;
4915 int res4
= SWIG_TMPOBJ
;
4917 int res5
= SWIG_TMPOBJ
;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4920 char * kwnames
[] = {
4921 (char *) "self",(char *) "pixel", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4932 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4934 if (!SWIG_IsOK(ecode2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4937 arg2
= static_cast< int >(val2
);
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4947 if (SWIG_IsTmpObj(res3
)) {
4948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4953 if (SWIG_IsTmpObj(res4
)) {
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4956 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4959 if (SWIG_IsTmpObj(res5
)) {
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4962 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4971 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4972 PyObject
*resultobj
= 0;
4973 wxPalette
*arg1
= (wxPalette
*) 0 ;
4977 PyObject
*swig_obj
[1] ;
4979 if (!args
) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4985 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_From_int(static_cast< int >(result
));
4999 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5000 PyObject
*resultobj
= 0;
5001 wxPalette
*arg1
= (wxPalette
*) 0 ;
5005 PyObject
*swig_obj
[1] ;
5007 if (!args
) SWIG_fail
;
5009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5010 if (!SWIG_IsOK(res1
)) {
5011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5013 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (bool)(arg1
)->IsOk();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5029 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5032 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5033 return SWIG_Py_Void();
5036 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 return SWIG_Python_InitShadowInstance(args
);
5040 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
= 0;
5042 wxColour
*arg1
= 0 ;
5043 int arg2
= (int) 1 ;
5044 int arg3
= (int) wxSOLID
;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5053 PyObject
* obj2
= 0 ;
5054 char * kwnames
[] = {
5055 (char *) "colour",(char *) "width",(char *) "style", NULL
5058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5061 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5065 if (!SWIG_IsOK(ecode2
)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5068 arg2
= static_cast< int >(val2
);
5071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5072 if (!SWIG_IsOK(ecode3
)) {
5073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5075 arg3
= static_cast< int >(val3
);
5078 if (!wxPyCheckForApp()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5091 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxPen
*arg1
= (wxPen
*) 0 ;
5096 PyObject
*swig_obj
[1] ;
5098 if (!args
) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5104 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= SWIG_Py_Void();
5119 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5120 PyObject
*resultobj
= 0;
5121 wxPen
*arg1
= (wxPen
*) 0 ;
5125 PyObject
*swig_obj
[1] ;
5127 if (!args
) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5133 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (int)(arg1
)->GetCap();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_From_int(static_cast< int >(result
));
5147 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5148 PyObject
*resultobj
= 0;
5149 wxPen
*arg1
= (wxPen
*) 0 ;
5153 PyObject
*swig_obj
[1] ;
5155 if (!args
) SWIG_fail
;
5157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5158 if (!SWIG_IsOK(res1
)) {
5159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5161 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (arg1
)->GetColour();
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5175 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5176 PyObject
*resultobj
= 0;
5177 wxPen
*arg1
= (wxPen
*) 0 ;
5181 PyObject
*swig_obj
[1] ;
5183 if (!args
) SWIG_fail
;
5185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5186 if (!SWIG_IsOK(res1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5189 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (int)(arg1
)->GetJoin();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_From_int(static_cast< int >(result
));
5203 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5204 PyObject
*resultobj
= 0;
5205 wxPen
*arg1
= (wxPen
*) 0 ;
5209 PyObject
*swig_obj
[1] ;
5211 if (!args
) SWIG_fail
;
5213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5214 if (!SWIG_IsOK(res1
)) {
5215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5217 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (int)(arg1
)->GetStyle();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_From_int(static_cast< int >(result
));
5231 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5232 PyObject
*resultobj
= 0;
5233 wxPen
*arg1
= (wxPen
*) 0 ;
5237 PyObject
*swig_obj
[1] ;
5239 if (!args
) SWIG_fail
;
5241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5242 if (!SWIG_IsOK(res1
)) {
5243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5245 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (int)(arg1
)->GetWidth();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_From_int(static_cast< int >(result
));
5259 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5260 PyObject
*resultobj
= 0;
5261 wxPen
*arg1
= (wxPen
*) 0 ;
5265 PyObject
*swig_obj
[1] ;
5267 if (!args
) SWIG_fail
;
5269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5270 if (!SWIG_IsOK(res1
)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5273 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (bool)(arg1
)->IsOk();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5289 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
= 0;
5291 wxPen
*arg1
= (wxPen
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5299 char * kwnames
[] = {
5300 (char *) "self",(char *) "cap_style", NULL
5303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5305 if (!SWIG_IsOK(res1
)) {
5306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5308 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5310 if (!SWIG_IsOK(ecode2
)) {
5311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5313 arg2
= static_cast< int >(val2
);
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 (arg1
)->SetCap(arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= SWIG_Py_Void();
5327 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
= 0;
5329 wxPen
*arg1
= (wxPen
*) 0 ;
5330 wxColour
*arg2
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5336 char * kwnames
[] = {
5337 (char *) "self",(char *) "colour", NULL
5340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5345 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5348 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->SetColour(*arg2
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxPen
*arg1
= (wxPen
*) 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "join_style", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5382 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5384 if (!SWIG_IsOK(ecode2
)) {
5385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5387 arg2
= static_cast< int >(val2
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->SetJoin(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
= 0;
5403 wxPen
*arg1
= (wxPen
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5411 char * kwnames
[] = {
5412 (char *) "self",(char *) "style", NULL
5415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5417 if (!SWIG_IsOK(res1
)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5420 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5422 if (!SWIG_IsOK(ecode2
)) {
5423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5425 arg2
= static_cast< int >(val2
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 (arg1
)->SetStyle(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_Py_Void();
5439 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 wxPen
*arg1
= (wxPen
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "width", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5458 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5460 if (!SWIG_IsOK(ecode2
)) {
5461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5463 arg2
= static_cast< int >(val2
);
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetWidth(arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_Py_Void();
5477 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
= 0;
5479 wxPen
*arg1
= (wxPen
*) 0 ;
5481 wxDash
*arg3
= (wxDash
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5486 char * kwnames
[] = {
5487 (char *) "self",(char *) "dashes", NULL
5490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5495 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5497 arg2
= PyList_Size(obj1
);
5498 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5499 if (arg3
== NULL
) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetDashes(arg2
,arg3
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_Py_Void();
5509 if (arg3
) delete [] arg3
;
5514 if (arg3
) delete [] arg3
;
5520 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5521 PyObject
*resultobj
= 0;
5522 wxPen
*arg1
= (wxPen
*) 0 ;
5523 PyObject
*result
= 0 ;
5526 PyObject
*swig_obj
[1] ;
5528 if (!args
) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5534 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5548 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
= 0;
5550 wxPen
*arg1
= (wxPen
*) 0 ;
5551 PyObject
*arg2
= (PyObject
*) 0 ;
5552 PyObject
*arg3
= (PyObject
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5557 PyObject
* obj2
= 0 ;
5558 char * kwnames
[] = {
5559 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5567 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxPen__SetDashes(arg1
,arg2
,arg3
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_Py_Void();
5583 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5584 PyObject
*resultobj
= 0;
5585 wxPen
*arg1
= (wxPen
*) 0 ;
5589 PyObject
*swig_obj
[1] ;
5591 if (!args
) SWIG_fail
;
5593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5594 if (!SWIG_IsOK(res1
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5597 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_From_int(static_cast< int >(result
));
5611 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxPen
*arg1
= (wxPen
*) 0 ;
5614 wxBitmap
*result
= 0 ;
5617 PyObject
*swig_obj
[1] ;
5619 if (!args
) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5625 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (wxBitmap
*)(arg1
)->GetStipple();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5639 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
= 0;
5641 wxPen
*arg1
= (wxPen
*) 0 ;
5642 wxBitmap
*arg2
= 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 char * kwnames
[] = {
5650 (char *) "self",(char *) "stipple", NULL
5653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5655 if (!SWIG_IsOK(res1
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5658 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5660 if (!SWIG_IsOK(res2
)) {
5661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5666 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetStipple(*arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_Py_Void();
5680 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
= 0;
5682 wxPen
*arg1
= (wxPen
*) 0 ;
5683 wxPen
*arg2
= (wxPen
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "other", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5700 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5702 if (!SWIG_IsOK(res2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5705 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5721 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= 0;
5723 wxPen
*arg1
= (wxPen
*) 0 ;
5724 wxPen
*arg2
= (wxPen
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 char * kwnames
[] = {
5733 (char *) "self",(char *) "other", NULL
5736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5741 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5743 if (!SWIG_IsOK(res2
)) {
5744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5746 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5762 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5765 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5766 return SWIG_Py_Void();
5769 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5770 return SWIG_Python_InitShadowInstance(args
);
5773 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
= 0;
5775 wxColour
*arg1
= 0 ;
5776 int arg2
= (int) wxSOLID
;
5777 wxBrush
*result
= 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5783 char * kwnames
[] = {
5784 (char *) "colour",(char *) "style", NULL
5787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5790 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5794 if (!SWIG_IsOK(ecode2
)) {
5795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5797 arg2
= static_cast< int >(val2
);
5800 if (!wxPyCheckForApp()) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5813 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
= 0;
5815 wxBitmap
*arg1
= 0 ;
5816 wxBrush
*result
= 0 ;
5819 PyObject
* obj0
= 0 ;
5820 char * kwnames
[] = {
5821 (char *) "stippleBitmap", NULL
5824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5825 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5826 if (!SWIG_IsOK(res1
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5834 if (!wxPyCheckForApp()) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5847 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5848 PyObject
*resultobj
= 0;
5849 wxBrush
*arg1
= (wxBrush
*) 0 ;
5852 PyObject
*swig_obj
[1] ;
5854 if (!args
) SWIG_fail
;
5856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5857 if (!SWIG_IsOK(res1
)) {
5858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5860 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_Py_Void();
5875 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
= 0;
5877 wxBrush
*arg1
= (wxBrush
*) 0 ;
5878 wxColour
*arg2
= 0 ;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5884 char * kwnames
[] = {
5885 (char *) "self",(char *) "col", NULL
5888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5893 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->SetColour((wxColour
const &)*arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_Py_Void();
5911 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxBrush
*arg1
= (wxBrush
*) 0 ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 char * kwnames
[] = {
5922 (char *) "self",(char *) "style", NULL
5925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5930 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5932 if (!SWIG_IsOK(ecode2
)) {
5933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5935 arg2
= static_cast< int >(val2
);
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->SetStyle(arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_Py_Void();
5949 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
= 0;
5951 wxBrush
*arg1
= (wxBrush
*) 0 ;
5952 wxBitmap
*arg2
= 0 ;
5957 PyObject
* obj0
= 0 ;
5958 PyObject
* obj1
= 0 ;
5959 char * kwnames
[] = {
5960 (char *) "self",(char *) "stipple", NULL
5963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5965 if (!SWIG_IsOK(res1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5968 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5970 if (!SWIG_IsOK(res2
)) {
5971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5976 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_Py_Void();
5990 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5991 PyObject
*resultobj
= 0;
5992 wxBrush
*arg1
= (wxBrush
*) 0 ;
5996 PyObject
*swig_obj
[1] ;
5998 if (!args
) SWIG_fail
;
6000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6001 if (!SWIG_IsOK(res1
)) {
6002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6004 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= ((wxBrush
const *)arg1
)->GetColour();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6018 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxBrush
*arg1
= (wxBrush
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6032 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_int(static_cast< int >(result
));
6046 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6047 PyObject
*resultobj
= 0;
6048 wxBrush
*arg1
= (wxBrush
*) 0 ;
6049 wxBitmap
*result
= 0 ;
6052 PyObject
*swig_obj
[1] ;
6054 if (!args
) SWIG_fail
;
6056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6057 if (!SWIG_IsOK(res1
)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6060 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6074 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6075 PyObject
*resultobj
= 0;
6076 wxBrush
*arg1
= (wxBrush
*) 0 ;
6080 PyObject
*swig_obj
[1] ;
6082 if (!args
) SWIG_fail
;
6084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6085 if (!SWIG_IsOK(res1
)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6088 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6104 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6105 PyObject
*resultobj
= 0;
6106 wxBrush
*arg1
= (wxBrush
*) 0 ;
6110 PyObject
*swig_obj
[1] ;
6112 if (!args
) SWIG_fail
;
6114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6115 if (!SWIG_IsOK(res1
)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6118 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)(arg1
)->IsOk();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6134 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6137 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6138 return SWIG_Py_Void();
6141 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6142 return SWIG_Python_InitShadowInstance(args
);
6145 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= 0;
6147 wxString
*arg1
= 0 ;
6148 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6149 wxBitmap
*result
= 0 ;
6150 bool temp1
= false ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "name",(char *) "type", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6161 arg1
= wxString_in_helper(obj0
);
6162 if (arg1
== NULL
) SWIG_fail
;
6166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6167 if (!SWIG_IsOK(ecode2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6170 arg2
= static_cast< wxBitmapType
>(val2
);
6173 if (!wxPyCheckForApp()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6194 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6195 PyObject
*resultobj
= 0;
6196 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6199 PyObject
*swig_obj
[1] ;
6201 if (!args
) SWIG_fail
;
6203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6204 if (!SWIG_IsOK(res1
)) {
6205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_Py_Void();
6220 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
= 0;
6224 int arg3
= (int) -1 ;
6225 wxBitmap
*result
= 0 ;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6234 PyObject
* obj2
= 0 ;
6235 char * kwnames
[] = {
6236 (char *) "width",(char *) "height",(char *) "depth", NULL
6239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6241 if (!SWIG_IsOK(ecode1
)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6244 arg1
= static_cast< int >(val1
);
6245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6246 if (!SWIG_IsOK(ecode2
)) {
6247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6249 arg2
= static_cast< int >(val2
);
6251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6252 if (!SWIG_IsOK(ecode3
)) {
6253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6255 arg3
= static_cast< int >(val3
);
6258 if (!wxPyCheckForApp()) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6271 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
= 0;
6274 wxBitmap
*result
= 0 ;
6277 PyObject
* obj0
= 0 ;
6278 char * kwnames
[] = {
6279 (char *) "icon", NULL
6282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6290 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6292 if (!wxPyCheckForApp()) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6305 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
= 0;
6308 int arg2
= (int) -1 ;
6309 wxBitmap
*result
= 0 ;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 char * kwnames
[] = {
6317 (char *) "image",(char *) "depth", NULL
6320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6321 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6322 if (!SWIG_IsOK(res1
)) {
6323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6328 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6331 if (!SWIG_IsOK(ecode2
)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6334 arg2
= static_cast< int >(val2
);
6337 if (!wxPyCheckForApp()) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6350 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
= 0;
6352 PyObject
*arg1
= (PyObject
*) 0 ;
6353 wxBitmap
*result
= 0 ;
6354 PyObject
* obj0
= 0 ;
6355 char * kwnames
[] = {
6356 (char *) "listOfStrings", NULL
6359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6362 if (!wxPyCheckForApp()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6375 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
= 0;
6377 PyObject
*arg1
= (PyObject
*) 0 ;
6380 int arg4
= (int) 1 ;
6381 wxBitmap
*result
= 0 ;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6391 PyObject
* obj3
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6399 if (!SWIG_IsOK(ecode2
)) {
6400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6402 arg2
= static_cast< int >(val2
);
6403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6404 if (!SWIG_IsOK(ecode3
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6407 arg3
= static_cast< int >(val3
);
6409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6410 if (!SWIG_IsOK(ecode4
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6413 arg4
= static_cast< int >(val4
);
6416 if (!wxPyCheckForApp()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6429 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6430 PyObject
*resultobj
= 0;
6431 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6435 PyObject
*swig_obj
[1] ;
6437 if (!args
) SWIG_fail
;
6439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6440 if (!SWIG_IsOK(res1
)) {
6441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6443 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6445 result
= (long)(arg1
)->GetHandle();
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_From_long(static_cast< long >(result
));
6455 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 char * kwnames
[] = {
6466 (char *) "self",(char *) "handle", NULL
6469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6476 if (!SWIG_IsOK(ecode2
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6479 arg2
= static_cast< long >(val2
);
6481 wxBitmap_SetHandle(arg1
,arg2
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_Py_Void();
6491 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6497 PyObject
*swig_obj
[1] ;
6499 if (!args
) SWIG_fail
;
6501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6502 if (!SWIG_IsOK(res1
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6505 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6507 result
= (bool)(arg1
)->IsOk();
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6519 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6520 PyObject
*resultobj
= 0;
6521 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6525 PyObject
*swig_obj
[1] ;
6527 if (!args
) SWIG_fail
;
6529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6530 if (!SWIG_IsOK(res1
)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6533 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6535 result
= (int)(arg1
)->GetWidth();
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_From_int(static_cast< int >(result
));
6545 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6546 PyObject
*resultobj
= 0;
6547 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6551 PyObject
*swig_obj
[1] ;
6553 if (!args
) SWIG_fail
;
6555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6556 if (!SWIG_IsOK(res1
)) {
6557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6559 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6561 result
= (int)(arg1
)->GetHeight();
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_From_int(static_cast< int >(result
));
6571 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 PyObject
*resultobj
= 0;
6573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6577 PyObject
*swig_obj
[1] ;
6579 if (!args
) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6585 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6587 result
= (int)(arg1
)->GetDepth();
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_From_int(static_cast< int >(result
));
6597 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 PyObject
*resultobj
= 0;
6599 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6603 PyObject
*swig_obj
[1] ;
6605 if (!args
) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6611 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6613 result
= wxBitmap_GetSize(arg1
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6623 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6624 PyObject
*resultobj
= 0;
6625 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6626 SwigValueWrapper
<wxImage
> result
;
6629 PyObject
*swig_obj
[1] ;
6631 if (!args
) SWIG_fail
;
6633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6634 if (!SWIG_IsOK(res1
)) {
6635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6637 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6639 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6640 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6649 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6650 PyObject
*resultobj
= 0;
6651 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6652 wxMask
*result
= 0 ;
6655 PyObject
*swig_obj
[1] ;
6657 if (!args
) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6665 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6675 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
= 0;
6677 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6678 wxMask
*arg2
= (wxMask
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "mask", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6693 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6695 if (!SWIG_IsOK(res2
)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6699 (arg1
)->SetMask(arg2
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= SWIG_Py_Void();
6709 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= 0;
6711 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6712 wxColour
*arg2
= 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6718 char * kwnames
[] = {
6719 (char *) "self",(char *) "colour", NULL
6722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6724 if (!SWIG_IsOK(res1
)) {
6725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6727 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6733 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= SWIG_Py_Void();
6743 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
= 0;
6745 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6747 SwigValueWrapper
<wxBitmap
> result
;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 char * kwnames
[] = {
6754 (char *) "self",(char *) "rect", NULL
6757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6759 if (!SWIG_IsOK(res1
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6762 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6765 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6768 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6778 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
= 0;
6780 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6781 wxString
*arg2
= 0 ;
6783 wxPalette
*arg4
= (wxPalette
*) NULL
;
6787 bool temp2
= false ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6794 PyObject
* obj2
= 0 ;
6795 PyObject
* obj3
= 0 ;
6796 char * kwnames
[] = {
6797 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6802 if (!SWIG_IsOK(res1
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6805 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6807 arg2
= wxString_in_helper(obj1
);
6808 if (arg2
== NULL
) SWIG_fail
;
6811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6812 if (!SWIG_IsOK(ecode3
)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6815 arg3
= static_cast< wxBitmapType
>(val3
);
6817 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6818 if (!SWIG_IsOK(res4
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6821 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6824 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6844 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= 0;
6846 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6847 wxString
*arg2
= 0 ;
6852 bool temp2
= false ;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6857 PyObject
* obj2
= 0 ;
6858 char * kwnames
[] = {
6859 (char *) "self",(char *) "name",(char *) "type", NULL
6862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6864 if (!SWIG_IsOK(res1
)) {
6865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6867 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6869 arg2
= wxString_in_helper(obj1
);
6870 if (arg2
== NULL
) SWIG_fail
;
6873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6874 if (!SWIG_IsOK(ecode3
)) {
6875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6877 arg3
= static_cast< wxBitmapType
>(val3
);
6879 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6899 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6900 PyObject
*resultobj
= 0;
6901 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6902 wxPalette
*result
= 0 ;
6905 PyObject
*swig_obj
[1] ;
6907 if (!args
) SWIG_fail
;
6909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6910 if (!SWIG_IsOK(res1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6915 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6925 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
= 0;
6927 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6928 wxPalette
*arg2
= 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 char * kwnames
[] = {
6936 (char *) "self",(char *) "palette", NULL
6939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6944 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6946 if (!SWIG_IsOK(res2
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6952 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6954 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_Py_Void();
6964 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "icon", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6986 if (!SWIG_IsOK(res2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6992 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6994 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7006 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
= 0;
7008 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 char * kwnames
[] = {
7017 (char *) "self",(char *) "height", NULL
7020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7022 if (!SWIG_IsOK(res1
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7025 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7027 if (!SWIG_IsOK(ecode2
)) {
7028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7030 arg2
= static_cast< int >(val2
);
7032 (arg1
)->SetHeight(arg2
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_Py_Void();
7042 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= 0;
7044 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "width", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7061 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7063 if (!SWIG_IsOK(ecode2
)) {
7064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7066 arg2
= static_cast< int >(val2
);
7068 (arg1
)->SetWidth(arg2
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 resultobj
= SWIG_Py_Void();
7078 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
= 0;
7080 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7088 char * kwnames
[] = {
7089 (char *) "self",(char *) "depth", NULL
7092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7097 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7099 if (!SWIG_IsOK(ecode2
)) {
7100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7102 arg2
= static_cast< int >(val2
);
7104 (arg1
)->SetDepth(arg2
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_Py_Void();
7114 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= 0;
7116 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 char * kwnames
[] = {
7124 (char *) "self",(char *) "size", NULL
7127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7138 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_Py_Void();
7148 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7150 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7151 wxCursor
*arg2
= 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "cursor", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7170 if (!SWIG_IsOK(res2
)) {
7171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7176 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7178 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7190 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
= 0;
7192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7200 char * kwnames
[] = {
7201 (char *) "self",(char *) "data", NULL
7204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7209 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7211 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7215 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_Py_Void();
7225 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
= 0;
7227 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "self",(char *) "data", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7244 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7246 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7250 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_Py_Void();
7260 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
= 0;
7262 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7263 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "self",(char *) "other", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7277 if (!SWIG_IsOK(res1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7280 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7282 if (!SWIG_IsOK(res2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7285 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7287 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7299 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
= 0;
7301 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7302 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 char * kwnames
[] = {
7311 (char *) "self",(char *) "other", NULL
7314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7316 if (!SWIG_IsOK(res1
)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7319 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7321 if (!SWIG_IsOK(res2
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7324 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7326 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7338 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7341 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7342 return SWIG_Py_Void();
7345 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7346 return SWIG_Python_InitShadowInstance(args
);
7349 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
= 0;
7357 wxBitmap
*result
= 0 ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7366 PyObject
* obj2
= 0 ;
7367 PyObject
* obj3
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7374 if (!SWIG_IsOK(ecode1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7377 arg1
= static_cast< int >(val1
);
7378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7379 if (!SWIG_IsOK(ecode2
)) {
7380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7382 arg2
= static_cast< int >(val2
);
7384 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7388 if (obj3
!= Py_None
) {
7389 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7394 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7404 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
= 0;
7410 wxBitmap
*result
= 0 ;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7419 char * kwnames
[] = {
7420 (char *) "width",(char *) "height",(char *) "data", NULL
7423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7425 if (!SWIG_IsOK(ecode1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7428 arg1
= static_cast< int >(val1
);
7429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7430 if (!SWIG_IsOK(ecode2
)) {
7431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7433 arg2
= static_cast< int >(val2
);
7435 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7439 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7449 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7455 wxBitmap
*result
= 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7463 PyObject
* obj2
= 0 ;
7464 char * kwnames
[] = {
7465 (char *) "width",(char *) "height",(char *) "data", NULL
7468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7469 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7470 if (!SWIG_IsOK(ecode1
)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7473 arg1
= static_cast< int >(val1
);
7474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7475 if (!SWIG_IsOK(ecode2
)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7478 arg2
= static_cast< int >(val2
);
7480 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7484 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7494 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7495 PyObject
*resultobj
= 0;
7496 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7500 PyObject
*swig_obj
[1] ;
7502 if (!args
) SWIG_fail
;
7504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7505 if (!SWIG_IsOK(res1
)) {
7506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7508 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7510 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7520 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7521 PyObject
*resultobj
= 0;
7522 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7526 PyObject
*swig_obj
[1] ;
7528 if (!args
) SWIG_fail
;
7530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7531 if (!SWIG_IsOK(res1
)) {
7532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7534 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7536 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_From_int(static_cast< int >(result
));
7546 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7547 PyObject
*resultobj
= 0;
7548 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7552 PyObject
*swig_obj
[1] ;
7554 if (!args
) SWIG_fail
;
7556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7557 if (!SWIG_IsOK(res1
)) {
7558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7560 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7562 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_From_int(static_cast< int >(result
));
7572 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7573 PyObject
*resultobj
= 0;
7574 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7578 PyObject
*swig_obj
[1] ;
7580 if (!args
) SWIG_fail
;
7582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7583 if (!SWIG_IsOK(res1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7586 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7588 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7598 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7599 PyObject
*resultobj
= 0;
7600 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7604 PyObject
*swig_obj
[1] ;
7606 if (!args
) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7612 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7614 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_From_int(static_cast< int >(result
));
7624 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7627 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7628 return SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7632 PyObject
*resultobj
= 0;
7633 wxBitmap
*arg1
= 0 ;
7634 wxNativePixelData
*result
= 0 ;
7638 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7640 if (!SWIG_IsOK(res1
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7646 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7648 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7658 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7659 PyObject
*resultobj
= 0;
7660 wxBitmap
*arg1
= 0 ;
7662 wxNativePixelData
*result
= 0 ;
7667 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7675 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7678 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7681 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7691 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7692 PyObject
*resultobj
= 0;
7693 wxBitmap
*arg1
= 0 ;
7696 wxNativePixelData
*result
= 0 ;
7702 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7704 if (!SWIG_IsOK(res1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7710 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7713 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7717 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7720 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7730 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7734 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7737 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7740 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7743 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7747 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7752 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7753 PyObject
*resultobj
= 0;
7754 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7757 PyObject
*swig_obj
[1] ;
7759 if (!args
) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7765 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_Py_Void();
7778 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7779 PyObject
*resultobj
= 0;
7780 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7781 wxNativePixelData_Accessor result
;
7784 PyObject
*swig_obj
[1] ;
7786 if (!args
) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7792 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7794 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7804 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 PyObject
*resultobj
= 0;
7806 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7809 PyObject
*swig_obj
[1] ;
7811 if (!args
) SWIG_fail
;
7813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7814 if (!SWIG_IsOK(res1
)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7817 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_Py_Void();
7829 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7835 PyObject
*swig_obj
[1] ;
7837 if (!args
) SWIG_fail
;
7839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7840 if (!SWIG_IsOK(res1
)) {
7841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7843 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7845 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7857 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7860 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7861 return SWIG_Py_Void();
7864 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 return SWIG_Python_InitShadowInstance(args
);
7868 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7869 PyObject
*resultobj
= 0;
7870 wxNativePixelData
*arg1
= 0 ;
7871 wxNativePixelData_Accessor
*result
= 0 ;
7875 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7877 if (!SWIG_IsOK(res1
)) {
7878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7883 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7885 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7895 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7896 PyObject
*resultobj
= 0;
7897 wxBitmap
*arg1
= 0 ;
7898 wxNativePixelData
*arg2
= 0 ;
7899 wxNativePixelData_Accessor
*result
= 0 ;
7905 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7914 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7915 if (!SWIG_IsOK(res2
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7921 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7923 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7933 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7934 PyObject
*resultobj
= 0;
7935 wxNativePixelData_Accessor
*result
= 0 ;
7937 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7939 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7949 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7953 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7956 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7959 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7962 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7966 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7971 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7984 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_Py_Void();
7997 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
= 0;
7999 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8000 wxNativePixelData
*arg2
= 0 ;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 char * kwnames
[] = {
8008 (char *) "self",(char *) "data", NULL
8011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8016 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8018 if (!SWIG_IsOK(res2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8024 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8026 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_Py_Void();
8036 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8037 PyObject
*resultobj
= 0;
8038 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8042 PyObject
*swig_obj
[1] ;
8044 if (!args
) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8050 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8052 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8064 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8065 PyObject
*resultobj
= 0;
8066 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8069 PyObject
*swig_obj
[1] ;
8071 if (!args
) SWIG_fail
;
8073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8074 if (!SWIG_IsOK(res1
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8077 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8079 wxNativePixelData_Accessor_nextPixel(arg1
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_Py_Void();
8089 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8092 wxNativePixelData
*arg2
= 0 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8105 PyObject
* obj2
= 0 ;
8106 PyObject
* obj3
= 0 ;
8107 char * kwnames
[] = {
8108 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8113 if (!SWIG_IsOK(res1
)) {
8114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8116 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8118 if (!SWIG_IsOK(res2
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8124 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8126 if (!SWIG_IsOK(ecode3
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8129 arg3
= static_cast< int >(val3
);
8130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8131 if (!SWIG_IsOK(ecode4
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8134 arg4
= static_cast< int >(val4
);
8136 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_Py_Void();
8146 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= 0;
8148 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8149 wxNativePixelData
*arg2
= 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8159 PyObject
* obj2
= 0 ;
8160 char * kwnames
[] = {
8161 (char *) "self",(char *) "data",(char *) "x", NULL
8164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8166 if (!SWIG_IsOK(res1
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8169 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8171 if (!SWIG_IsOK(res2
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8177 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8179 if (!SWIG_IsOK(ecode3
)) {
8180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8182 arg3
= static_cast< int >(val3
);
8184 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_Py_Void();
8194 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= 0;
8196 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8197 wxNativePixelData
*arg2
= 0 ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8207 PyObject
* obj2
= 0 ;
8208 char * kwnames
[] = {
8209 (char *) "self",(char *) "data",(char *) "y", NULL
8212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8214 if (!SWIG_IsOK(res1
)) {
8215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8217 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8219 if (!SWIG_IsOK(res2
)) {
8220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8225 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8227 if (!SWIG_IsOK(ecode3
)) {
8228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8230 arg3
= static_cast< int >(val3
);
8232 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_Py_Void();
8242 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
= 0;
8244 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8245 wxNativePixelData
*arg2
= 0 ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8258 PyObject
* obj2
= 0 ;
8259 PyObject
* obj3
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8269 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8271 if (!SWIG_IsOK(res2
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8277 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8279 if (!SWIG_IsOK(ecode3
)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8282 arg3
= static_cast< int >(val3
);
8283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8284 if (!SWIG_IsOK(ecode4
)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8287 arg4
= static_cast< int >(val4
);
8289 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_Py_Void();
8299 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
= 0;
8301 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8307 unsigned char val2
;
8309 unsigned char val3
;
8311 unsigned char val4
;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8315 PyObject
* obj2
= 0 ;
8316 PyObject
* obj3
= 0 ;
8317 char * kwnames
[] = {
8318 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8326 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8327 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8328 if (!SWIG_IsOK(ecode2
)) {
8329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8331 arg2
= static_cast< byte
>(val2
);
8332 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8333 if (!SWIG_IsOK(ecode3
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8336 arg3
= static_cast< byte
>(val3
);
8337 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8338 if (!SWIG_IsOK(ecode4
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8341 arg4
= static_cast< byte
>(val4
);
8343 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 PyObject
*resultobj
= 0;
8355 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8356 PyObject
*result
= 0 ;
8359 PyObject
*swig_obj
[1] ;
8361 if (!args
) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8367 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8369 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8379 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8382 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8383 return SWIG_Py_Void();
8386 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8387 return SWIG_Python_InitShadowInstance(args
);
8390 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8391 PyObject
*resultobj
= 0;
8392 wxBitmap
*arg1
= 0 ;
8393 wxAlphaPixelData
*result
= 0 ;
8397 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8399 if (!SWIG_IsOK(res1
)) {
8400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8407 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8417 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8418 PyObject
*resultobj
= 0;
8419 wxBitmap
*arg1
= 0 ;
8421 wxAlphaPixelData
*result
= 0 ;
8426 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8428 if (!SWIG_IsOK(res1
)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8434 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8437 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8440 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8450 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8451 PyObject
*resultobj
= 0;
8452 wxBitmap
*arg1
= 0 ;
8455 wxAlphaPixelData
*result
= 0 ;
8461 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8469 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8472 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8476 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8479 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8489 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8493 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8496 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8499 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8502 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8506 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8511 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8512 PyObject
*resultobj
= 0;
8513 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8516 PyObject
*swig_obj
[1] ;
8518 if (!args
) SWIG_fail
;
8520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8521 if (!SWIG_IsOK(res1
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8524 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_Py_Void();
8537 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 PyObject
*resultobj
= 0;
8539 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8540 wxAlphaPixelData_Accessor result
;
8543 PyObject
*swig_obj
[1] ;
8545 if (!args
) SWIG_fail
;
8547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8548 if (!SWIG_IsOK(res1
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8551 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8553 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8563 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8564 PyObject
*resultobj
= 0;
8565 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8568 PyObject
*swig_obj
[1] ;
8570 if (!args
) SWIG_fail
;
8572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8573 if (!SWIG_IsOK(res1
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8576 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_Py_Void();
8588 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8589 PyObject
*resultobj
= 0;
8590 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8594 PyObject
*swig_obj
[1] ;
8596 if (!args
) SWIG_fail
;
8598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8599 if (!SWIG_IsOK(res1
)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8602 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8604 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8616 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8619 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8620 return SWIG_Py_Void();
8623 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8624 return SWIG_Python_InitShadowInstance(args
);
8627 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8628 PyObject
*resultobj
= 0;
8629 wxAlphaPixelData
*arg1
= 0 ;
8630 wxAlphaPixelData_Accessor
*result
= 0 ;
8634 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8636 if (!SWIG_IsOK(res1
)) {
8637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8642 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8644 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8654 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8655 PyObject
*resultobj
= 0;
8656 wxBitmap
*arg1
= 0 ;
8657 wxAlphaPixelData
*arg2
= 0 ;
8658 wxAlphaPixelData_Accessor
*result
= 0 ;
8664 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8666 if (!SWIG_IsOK(res1
)) {
8667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8672 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8673 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8674 if (!SWIG_IsOK(res2
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8680 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8682 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8692 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8693 PyObject
*resultobj
= 0;
8694 wxAlphaPixelData_Accessor
*result
= 0 ;
8696 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8698 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8708 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8712 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8715 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8718 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8721 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8725 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8730 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8731 PyObject
*resultobj
= 0;
8732 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8735 PyObject
*swig_obj
[1] ;
8737 if (!args
) SWIG_fail
;
8739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8740 if (!SWIG_IsOK(res1
)) {
8741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8743 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_Py_Void();
8756 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
= 0;
8758 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8759 wxAlphaPixelData
*arg2
= 0 ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 char * kwnames
[] = {
8767 (char *) "self",(char *) "data", NULL
8770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8772 if (!SWIG_IsOK(res1
)) {
8773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8775 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8777 if (!SWIG_IsOK(res2
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8783 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8785 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_Py_Void();
8795 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8796 PyObject
*resultobj
= 0;
8797 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8801 PyObject
*swig_obj
[1] ;
8803 if (!args
) SWIG_fail
;
8805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8806 if (!SWIG_IsOK(res1
)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8809 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8811 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8823 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8824 PyObject
*resultobj
= 0;
8825 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8828 PyObject
*swig_obj
[1] ;
8830 if (!args
) SWIG_fail
;
8832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8833 if (!SWIG_IsOK(res1
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8836 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8838 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_Py_Void();
8848 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
= 0;
8850 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8851 wxAlphaPixelData
*arg2
= 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8865 PyObject
* obj3
= 0 ;
8866 char * kwnames
[] = {
8867 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8875 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8877 if (!SWIG_IsOK(res2
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8883 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8885 if (!SWIG_IsOK(ecode3
)) {
8886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8888 arg3
= static_cast< int >(val3
);
8889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8890 if (!SWIG_IsOK(ecode4
)) {
8891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8893 arg4
= static_cast< int >(val4
);
8895 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8905 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8908 wxAlphaPixelData
*arg2
= 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 PyObject
* obj2
= 0 ;
8919 char * kwnames
[] = {
8920 (char *) "self",(char *) "data",(char *) "x", NULL
8923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8925 if (!SWIG_IsOK(res1
)) {
8926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8928 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8930 if (!SWIG_IsOK(res2
)) {
8931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8936 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8938 if (!SWIG_IsOK(ecode3
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8941 arg3
= static_cast< int >(val3
);
8943 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_Py_Void();
8953 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
= 0;
8955 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8956 wxAlphaPixelData
*arg2
= 0 ;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 PyObject
* obj2
= 0 ;
8967 char * kwnames
[] = {
8968 (char *) "self",(char *) "data",(char *) "y", NULL
8971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8973 if (!SWIG_IsOK(res1
)) {
8974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8976 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8978 if (!SWIG_IsOK(res2
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8984 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8986 if (!SWIG_IsOK(ecode3
)) {
8987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8989 arg3
= static_cast< int >(val3
);
8991 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_Py_Void();
9001 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
= 0;
9003 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9004 wxAlphaPixelData
*arg2
= 0 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9018 PyObject
* obj3
= 0 ;
9019 char * kwnames
[] = {
9020 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9025 if (!SWIG_IsOK(res1
)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9028 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9030 if (!SWIG_IsOK(res2
)) {
9031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9036 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9038 if (!SWIG_IsOK(ecode3
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9041 arg3
= static_cast< int >(val3
);
9042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9043 if (!SWIG_IsOK(ecode4
)) {
9044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9046 arg4
= static_cast< int >(val4
);
9048 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_Py_Void();
9058 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
= 0;
9060 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9067 unsigned char val2
;
9069 unsigned char val3
;
9071 unsigned char val4
;
9073 unsigned char val5
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9078 PyObject
* obj3
= 0 ;
9079 PyObject
* obj4
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9086 if (!SWIG_IsOK(res1
)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9089 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9090 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9091 if (!SWIG_IsOK(ecode2
)) {
9092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9094 arg2
= static_cast< byte
>(val2
);
9095 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9096 if (!SWIG_IsOK(ecode3
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9099 arg3
= static_cast< byte
>(val3
);
9100 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9101 if (!SWIG_IsOK(ecode4
)) {
9102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9104 arg4
= static_cast< byte
>(val4
);
9105 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9106 if (!SWIG_IsOK(ecode5
)) {
9107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9109 arg5
= static_cast< byte
>(val5
);
9111 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_Py_Void();
9121 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9122 PyObject
*resultobj
= 0;
9123 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9124 PyObject
*result
= 0 ;
9127 PyObject
*swig_obj
[1] ;
9129 if (!args
) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9135 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9137 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9147 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9150 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9151 return SWIG_Py_Void();
9154 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9155 return SWIG_Python_InitShadowInstance(args
);
9158 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= 0;
9160 wxBitmap
*arg1
= 0 ;
9161 wxColour
const &arg2_defvalue
= wxNullColour
;
9162 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9163 wxMask
*result
= 0 ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 char * kwnames
[] = {
9170 (char *) "bitmap",(char *) "colour", NULL
9173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9174 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9175 if (!SWIG_IsOK(res1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9181 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9189 if (!wxPyCheckForApp()) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9202 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9203 PyObject
*resultobj
= 0;
9204 wxMask
*arg1
= (wxMask
*) 0 ;
9207 PyObject
*swig_obj
[1] ;
9209 if (!args
) SWIG_fail
;
9211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9212 if (!SWIG_IsOK(res1
)) {
9213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9215 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9228 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9231 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9232 return SWIG_Py_Void();
9235 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9236 return SWIG_Python_InitShadowInstance(args
);
9239 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
= 0;
9241 wxString
*arg1
= 0 ;
9243 int arg3
= (int) -1 ;
9244 int arg4
= (int) -1 ;
9245 wxIcon
*result
= 0 ;
9246 bool temp1
= false ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 PyObject
* obj2
= 0 ;
9256 PyObject
* obj3
= 0 ;
9257 char * kwnames
[] = {
9258 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9263 arg1
= wxString_in_helper(obj0
);
9264 if (arg1
== NULL
) SWIG_fail
;
9267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9268 if (!SWIG_IsOK(ecode2
)) {
9269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9271 arg2
= static_cast< wxBitmapType
>(val2
);
9273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9274 if (!SWIG_IsOK(ecode3
)) {
9275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9277 arg3
= static_cast< int >(val3
);
9280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9281 if (!SWIG_IsOK(ecode4
)) {
9282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9284 arg4
= static_cast< int >(val4
);
9287 if (!wxPyCheckForApp()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9308 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9309 PyObject
*resultobj
= 0;
9310 wxIcon
*arg1
= (wxIcon
*) 0 ;
9313 PyObject
*swig_obj
[1] ;
9315 if (!args
) SWIG_fail
;
9317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9318 if (!SWIG_IsOK(res1
)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9321 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_Py_Void();
9336 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9337 PyObject
*resultobj
= 0;
9338 wxIcon
*result
= 0 ;
9340 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9342 if (!wxPyCheckForApp()) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (wxIcon
*)new wxIcon();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9355 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= 0;
9357 wxIconLocation
*arg1
= 0 ;
9358 wxIcon
*result
= 0 ;
9361 PyObject
* obj0
= 0 ;
9362 char * kwnames
[] = {
9363 (char *) "loc", NULL
9366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9374 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9376 if (!wxPyCheckForApp()) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9389 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
= 0;
9391 wxBitmap
*arg1
= 0 ;
9392 wxIcon
*result
= 0 ;
9395 PyObject
* obj0
= 0 ;
9396 char * kwnames
[] = {
9397 (char *) "bmp", NULL
9400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9401 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9402 if (!SWIG_IsOK(res1
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9408 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9410 if (!wxPyCheckForApp()) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9423 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 PyObject
*arg1
= (PyObject
*) 0 ;
9426 wxIcon
*result
= 0 ;
9427 PyObject
* obj0
= 0 ;
9428 char * kwnames
[] = {
9429 (char *) "listOfStrings", NULL
9432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9435 if (!wxPyCheckForApp()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxIcon
*)new_wxIcon(arg1
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9448 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
= 0;
9450 wxIcon
*arg1
= (wxIcon
*) 0 ;
9451 wxString
*arg2
= 0 ;
9456 bool temp2
= false ;
9459 PyObject
* obj0
= 0 ;
9460 PyObject
* obj1
= 0 ;
9461 PyObject
* obj2
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "self",(char *) "name",(char *) "type", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9471 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9473 arg2
= wxString_in_helper(obj1
);
9474 if (arg2
== NULL
) SWIG_fail
;
9477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9478 if (!SWIG_IsOK(ecode3
)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9481 arg3
= static_cast< wxBitmapType
>(val3
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9505 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9506 PyObject
*resultobj
= 0;
9507 wxIcon
*arg1
= (wxIcon
*) 0 ;
9511 PyObject
*swig_obj
[1] ;
9513 if (!args
) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9519 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (long)(arg1
)->GetHandle();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_From_long(static_cast< long >(result
));
9533 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
= 0;
9535 wxIcon
*arg1
= (wxIcon
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 char * kwnames
[] = {
9544 (char *) "self",(char *) "handle", NULL
9547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9549 if (!SWIG_IsOK(res1
)) {
9550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9552 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9553 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9554 if (!SWIG_IsOK(ecode2
)) {
9555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9557 arg2
= static_cast< long >(val2
);
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 wxIcon_SetHandle(arg1
,arg2
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_Py_Void();
9571 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9572 PyObject
*resultobj
= 0;
9573 wxIcon
*arg1
= (wxIcon
*) 0 ;
9577 PyObject
*swig_obj
[1] ;
9579 if (!args
) SWIG_fail
;
9581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9582 if (!SWIG_IsOK(res1
)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9585 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->IsOk();
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9601 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9602 PyObject
*resultobj
= 0;
9603 wxIcon
*arg1
= (wxIcon
*) 0 ;
9607 PyObject
*swig_obj
[1] ;
9609 if (!args
) SWIG_fail
;
9611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9612 if (!SWIG_IsOK(res1
)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9615 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)(arg1
)->GetWidth();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_From_int(static_cast< int >(result
));
9629 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9630 PyObject
*resultobj
= 0;
9631 wxIcon
*arg1
= (wxIcon
*) 0 ;
9635 PyObject
*swig_obj
[1] ;
9637 if (!args
) SWIG_fail
;
9639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9640 if (!SWIG_IsOK(res1
)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9643 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (int)(arg1
)->GetHeight();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_From_int(static_cast< int >(result
));
9657 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9658 PyObject
*resultobj
= 0;
9659 wxIcon
*arg1
= (wxIcon
*) 0 ;
9663 PyObject
*swig_obj
[1] ;
9665 if (!args
) SWIG_fail
;
9667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9668 if (!SWIG_IsOK(res1
)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9671 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (int)(arg1
)->GetDepth();
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_From_int(static_cast< int >(result
));
9685 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxIcon
*arg1
= (wxIcon
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9695 char * kwnames
[] = {
9696 (char *) "self",(char *) "w", NULL
9699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9701 if (!SWIG_IsOK(res1
)) {
9702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9704 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9706 if (!SWIG_IsOK(ecode2
)) {
9707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9709 arg2
= static_cast< int >(val2
);
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 (arg1
)->SetWidth(arg2
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_Py_Void();
9723 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
= 0;
9725 wxIcon
*arg1
= (wxIcon
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9733 char * kwnames
[] = {
9734 (char *) "self",(char *) "h", NULL
9737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9739 if (!SWIG_IsOK(res1
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9742 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9744 if (!SWIG_IsOK(ecode2
)) {
9745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9747 arg2
= static_cast< int >(val2
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 (arg1
)->SetHeight(arg2
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_Py_Void();
9761 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
= 0;
9763 wxIcon
*arg1
= (wxIcon
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9771 char * kwnames
[] = {
9772 (char *) "self",(char *) "d", NULL
9775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9777 if (!SWIG_IsOK(res1
)) {
9778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9780 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9782 if (!SWIG_IsOK(ecode2
)) {
9783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9785 arg2
= static_cast< int >(val2
);
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 (arg1
)->SetDepth(arg2
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_Py_Void();
9799 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
= 0;
9801 wxIcon
*arg1
= (wxIcon
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9808 char * kwnames
[] = {
9809 (char *) "self",(char *) "size", NULL
9812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9817 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9820 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->SetSize((wxSize
const &)*arg2
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxIcon
*arg1
= (wxIcon
*) 0 ;
9838 wxBitmap
*arg2
= 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 char * kwnames
[] = {
9846 (char *) "self",(char *) "bmp", NULL
9849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9851 if (!SWIG_IsOK(res1
)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9854 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9856 if (!SWIG_IsOK(res2
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9862 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_Py_Void();
9876 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9879 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9880 return SWIG_Py_Void();
9883 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9884 return SWIG_Python_InitShadowInstance(args
);
9887 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9890 int arg2
= (int) 0 ;
9891 wxIconLocation
*result
= 0 ;
9892 bool temp1
= false ;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 char * kwnames
[] = {
9898 (char *) "filename",(char *) "num", NULL
9901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9904 arg1
= wxString_in_helper(obj0
);
9905 if (arg1
== NULL
) SWIG_fail
;
9910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9911 if (!SWIG_IsOK(ecode2
)) {
9912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9914 arg2
= static_cast< int >(val2
);
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9937 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9938 PyObject
*resultobj
= 0;
9939 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9942 PyObject
*swig_obj
[1] ;
9944 if (!args
) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9950 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= SWIG_Py_Void();
9965 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9966 PyObject
*resultobj
= 0;
9967 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9971 PyObject
*swig_obj
[1] ;
9973 if (!args
) SWIG_fail
;
9975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9976 if (!SWIG_IsOK(res1
)) {
9977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9979 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9995 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
= 0;
9997 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9998 wxString
*arg2
= 0 ;
10001 bool temp2
= false ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char * kwnames
[] = {
10005 (char *) "self",(char *) "filename", NULL
10008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10013 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10015 arg2
= wxString_in_helper(obj1
);
10016 if (arg2
== NULL
) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 (arg1
)->SetFileName((wxString
const &)*arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_Py_Void();
10040 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10041 PyObject
*resultobj
= 0;
10042 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10043 wxString
*result
= 0 ;
10046 PyObject
*swig_obj
[1] ;
10048 if (!args
) SWIG_fail
;
10049 swig_obj
[0] = args
;
10050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10051 if (!SWIG_IsOK(res1
)) {
10052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10054 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10059 result
= (wxString
*) &_result_ref
;
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10077 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= 0;
10079 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char * kwnames
[] = {
10088 (char *) "self",(char *) "num", NULL
10091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10096 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10098 if (!SWIG_IsOK(ecode2
)) {
10099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10101 arg2
= static_cast< int >(val2
);
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 wxIconLocation_SetIndex(arg1
,arg2
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_Py_Void();
10115 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10129 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (int)wxIconLocation_GetIndex(arg1
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_int(static_cast< int >(result
));
10143 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10146 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10147 return SWIG_Py_Void();
10150 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10151 return SWIG_Python_InitShadowInstance(args
);
10154 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 PyObject
*resultobj
= 0;
10156 wxIconBundle
*result
= 0 ;
10158 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxIconBundle
*)new wxIconBundle();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10172 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
= 0;
10174 wxString
*arg1
= 0 ;
10176 wxIconBundle
*result
= 0 ;
10177 bool temp1
= false ;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 char * kwnames
[] = {
10183 (char *) "file",(char *) "type", NULL
10186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10188 arg1
= wxString_in_helper(obj0
);
10189 if (arg1
== NULL
) SWIG_fail
;
10192 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10193 if (!SWIG_IsOK(ecode2
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10196 arg2
= static_cast< long >(val2
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10218 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10221 wxIconBundle
*result
= 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "icon", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10237 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10251 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10252 PyObject
*resultobj
= 0;
10253 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10256 PyObject
*swig_obj
[1] ;
10258 if (!args
) SWIG_fail
;
10259 swig_obj
[0] = args
;
10260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10261 if (!SWIG_IsOK(res1
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10264 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_Py_Void();
10279 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "icon", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10298 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10300 if (!SWIG_IsOK(res2
)) {
10301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10306 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_Py_Void();
10320 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10323 wxString
*arg2
= 0 ;
10327 bool temp2
= false ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 PyObject
* obj2
= 0 ;
10333 char * kwnames
[] = {
10334 (char *) "self",(char *) "file",(char *) "type", NULL
10337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10339 if (!SWIG_IsOK(res1
)) {
10340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10342 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10344 arg2
= wxString_in_helper(obj1
);
10345 if (arg2
== NULL
) SWIG_fail
;
10348 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10349 if (!SWIG_IsOK(ecode3
)) {
10350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10352 arg3
= static_cast< long >(val3
);
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_Py_Void();
10374 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
= 0;
10376 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10378 wxIcon
*result
= 0 ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10384 char * kwnames
[] = {
10385 (char *) "self",(char *) "size", NULL
10388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10393 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10402 result
= (wxIcon
*) &_result_ref
;
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 wxIcon
* resultptr
= new wxIcon(*result
);
10409 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10417 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10420 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10421 return SWIG_Py_Void();
10424 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10425 return SWIG_Python_InitShadowInstance(args
);
10428 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxString
*arg1
= 0 ;
10432 int arg3
= (int) 0 ;
10433 int arg4
= (int) 0 ;
10434 wxCursor
*result
= 0 ;
10435 bool temp1
= false ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 PyObject
* obj2
= 0 ;
10445 PyObject
* obj3
= 0 ;
10446 char * kwnames
[] = {
10447 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10452 arg1
= wxString_in_helper(obj0
);
10453 if (arg1
== NULL
) SWIG_fail
;
10456 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10457 if (!SWIG_IsOK(ecode2
)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10460 arg2
= static_cast< long >(val2
);
10462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10463 if (!SWIG_IsOK(ecode3
)) {
10464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10466 arg3
= static_cast< int >(val3
);
10469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10470 if (!SWIG_IsOK(ecode4
)) {
10471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10473 arg4
= static_cast< int >(val4
);
10476 if (!wxPyCheckForApp()) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10497 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10498 PyObject
*resultobj
= 0;
10499 wxCursor
*arg1
= (wxCursor
*) 0 ;
10502 PyObject
*swig_obj
[1] ;
10504 if (!args
) SWIG_fail
;
10505 swig_obj
[0] = args
;
10506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10507 if (!SWIG_IsOK(res1
)) {
10508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10510 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_Py_Void();
10525 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= 0;
10528 wxCursor
*result
= 0 ;
10531 PyObject
* obj0
= 0 ;
10532 char * kwnames
[] = {
10533 (char *) "id", NULL
10536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10537 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10538 if (!SWIG_IsOK(ecode1
)) {
10539 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10541 arg1
= static_cast< int >(val1
);
10543 if (!wxPyCheckForApp()) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (wxCursor
*)new wxCursor(arg1
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10556 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
= 0;
10558 wxImage
*arg1
= 0 ;
10559 wxCursor
*result
= 0 ;
10562 PyObject
* obj0
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "image", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10568 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10575 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10577 if (!wxPyCheckForApp()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10590 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10591 PyObject
*resultobj
= 0;
10592 wxCursor
*arg1
= (wxCursor
*) 0 ;
10596 PyObject
*swig_obj
[1] ;
10598 if (!args
) SWIG_fail
;
10599 swig_obj
[0] = args
;
10600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10601 if (!SWIG_IsOK(res1
)) {
10602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10604 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (long)(arg1
)->GetHandle();
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_From_long(static_cast< long >(result
));
10618 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxCursor
*arg1
= (wxCursor
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 char * kwnames
[] = {
10629 (char *) "self",(char *) "handle", NULL
10632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10637 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10638 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10639 if (!SWIG_IsOK(ecode2
)) {
10640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10642 arg2
= static_cast< long >(val2
);
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 wxCursor_SetHandle(arg1
,arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= SWIG_Py_Void();
10656 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10657 PyObject
*resultobj
= 0;
10658 wxCursor
*arg1
= (wxCursor
*) 0 ;
10662 PyObject
*swig_obj
[1] ;
10664 if (!args
) SWIG_fail
;
10665 swig_obj
[0] = args
;
10666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10667 if (!SWIG_IsOK(res1
)) {
10668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10670 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (bool)(arg1
)->IsOk();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10686 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10687 PyObject
*resultobj
= 0;
10688 wxCursor
*arg1
= (wxCursor
*) 0 ;
10692 PyObject
*swig_obj
[1] ;
10694 if (!args
) SWIG_fail
;
10695 swig_obj
[0] = args
;
10696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10697 if (!SWIG_IsOK(res1
)) {
10698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10700 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (int)(arg1
)->GetWidth();
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= SWIG_From_int(static_cast< int >(result
));
10714 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10715 PyObject
*resultobj
= 0;
10716 wxCursor
*arg1
= (wxCursor
*) 0 ;
10720 PyObject
*swig_obj
[1] ;
10722 if (!args
) SWIG_fail
;
10723 swig_obj
[0] = args
;
10724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10725 if (!SWIG_IsOK(res1
)) {
10726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10728 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (int)(arg1
)->GetHeight();
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_From_int(static_cast< int >(result
));
10742 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10743 PyObject
*resultobj
= 0;
10744 wxCursor
*arg1
= (wxCursor
*) 0 ;
10748 PyObject
*swig_obj
[1] ;
10750 if (!args
) SWIG_fail
;
10751 swig_obj
[0] = args
;
10752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10756 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (int)(arg1
)->GetDepth();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_From_int(static_cast< int >(result
));
10770 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
= 0;
10772 wxCursor
*arg1
= (wxCursor
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char * kwnames
[] = {
10781 (char *) "self",(char *) "w", NULL
10784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10786 if (!SWIG_IsOK(res1
)) {
10787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10789 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10791 if (!SWIG_IsOK(ecode2
)) {
10792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10794 arg2
= static_cast< int >(val2
);
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetWidth(arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_Py_Void();
10808 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxCursor
*arg1
= (wxCursor
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char * kwnames
[] = {
10819 (char *) "self",(char *) "h", NULL
10822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10827 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10829 if (!SWIG_IsOK(ecode2
)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10832 arg2
= static_cast< int >(val2
);
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->SetHeight(arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_Py_Void();
10846 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
= 0;
10848 wxCursor
*arg1
= (wxCursor
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "d", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10865 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10867 if (!SWIG_IsOK(ecode2
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10870 arg2
= static_cast< int >(val2
);
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->SetDepth(arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_Py_Void();
10884 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
= 0;
10886 wxCursor
*arg1
= (wxCursor
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char * kwnames
[] = {
10894 (char *) "self",(char *) "size", NULL
10897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10899 if (!SWIG_IsOK(res1
)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10902 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10905 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetSize((wxSize
const &)*arg2
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_Py_Void();
10920 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10923 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10924 return SWIG_Py_Void();
10927 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10928 return SWIG_Python_InitShadowInstance(args
);
10931 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
= 0;
10933 int arg1
= (int) 0 ;
10934 int arg2
= (int) 0 ;
10935 int arg3
= (int) 0 ;
10936 int arg4
= (int) 0 ;
10937 wxRegion
*result
= 0 ;
10946 PyObject
* obj0
= 0 ;
10947 PyObject
* obj1
= 0 ;
10948 PyObject
* obj2
= 0 ;
10949 PyObject
* obj3
= 0 ;
10950 char * kwnames
[] = {
10951 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10956 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10957 if (!SWIG_IsOK(ecode1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10960 arg1
= static_cast< int >(val1
);
10963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10964 if (!SWIG_IsOK(ecode2
)) {
10965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10967 arg2
= static_cast< int >(val2
);
10970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10971 if (!SWIG_IsOK(ecode3
)) {
10972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10974 arg3
= static_cast< int >(val3
);
10977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10978 if (!SWIG_IsOK(ecode4
)) {
10979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10981 arg4
= static_cast< int >(val4
);
10984 if (!wxPyCheckForApp()) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10997 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
= 0;
10999 wxBitmap
*arg1
= 0 ;
11000 wxRegion
*result
= 0 ;
11003 PyObject
* obj0
= 0 ;
11004 char * kwnames
[] = {
11005 (char *) "bmp", NULL
11008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11009 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11018 if (!wxPyCheckForApp()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11031 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
= 0;
11033 wxBitmap
*arg1
= 0 ;
11034 wxColour
*arg2
= 0 ;
11035 int arg3
= (int) 0 ;
11036 wxRegion
*result
= 0 ;
11042 PyObject
* obj0
= 0 ;
11043 PyObject
* obj1
= 0 ;
11044 PyObject
* obj2
= 0 ;
11045 char * kwnames
[] = {
11046 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11050 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11064 if (!SWIG_IsOK(ecode3
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11067 arg3
= static_cast< int >(val3
);
11070 if (!wxPyCheckForApp()) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11083 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
= 0;
11086 wxPoint
*arg2
= (wxPoint
*) 0 ;
11087 int arg3
= (int) wxWINDING_RULE
;
11088 wxRegion
*result
= 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 char * kwnames
[] = {
11094 (char *) "points",(char *) "fillStyle", NULL
11097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11099 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11100 if (arg2
== NULL
) SWIG_fail
;
11103 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11104 if (!SWIG_IsOK(ecode3
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11107 arg3
= static_cast< int >(val3
);
11110 if (!wxPyCheckForApp()) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11118 if (arg2
) delete [] arg2
;
11123 if (arg2
) delete [] arg2
;
11129 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11130 PyObject
*resultobj
= 0;
11131 wxRegion
*arg1
= (wxRegion
*) 0 ;
11134 PyObject
*swig_obj
[1] ;
11136 if (!args
) SWIG_fail
;
11137 swig_obj
[0] = args
;
11138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11139 if (!SWIG_IsOK(res1
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11142 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= SWIG_Py_Void();
11157 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11158 PyObject
*resultobj
= 0;
11159 wxRegion
*arg1
= (wxRegion
*) 0 ;
11162 PyObject
*swig_obj
[1] ;
11164 if (!args
) SWIG_fail
;
11165 swig_obj
[0] = args
;
11166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11170 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_Py_Void();
11184 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
= 0;
11186 wxRegion
*arg1
= (wxRegion
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 PyObject
* obj2
= 0 ;
11199 char * kwnames
[] = {
11200 (char *) "self",(char *) "x",(char *) "y", NULL
11203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11205 if (!SWIG_IsOK(res1
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11208 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11210 if (!SWIG_IsOK(ecode2
)) {
11211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11213 arg2
= static_cast< int >(val2
);
11214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11215 if (!SWIG_IsOK(ecode3
)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11218 arg3
= static_cast< int >(val3
);
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11234 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
= 0;
11236 wxRegion
*arg1
= (wxRegion
*) 0 ;
11239 wxRegionContain result
;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 PyObject
* obj2
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "self",(char *) "x",(char *) "y", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11258 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11260 if (!SWIG_IsOK(ecode2
)) {
11261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11263 arg2
= static_cast< int >(val2
);
11264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11265 if (!SWIG_IsOK(ecode3
)) {
11266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11268 arg3
= static_cast< int >(val3
);
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= SWIG_From_int(static_cast< int >(result
));
11282 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
= 0;
11284 wxRegion
*arg1
= (wxRegion
*) 0 ;
11285 wxPoint
*arg2
= 0 ;
11286 wxRegionContain result
;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "self",(char *) "pt", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11301 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_From_int(static_cast< int >(result
));
11319 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
= 0;
11321 wxRegion
*arg1
= (wxRegion
*) 0 ;
11323 wxRegionContain result
;
11327 PyObject
* obj0
= 0 ;
11328 PyObject
* obj1
= 0 ;
11329 char * kwnames
[] = {
11330 (char *) "self",(char *) "rect", NULL
11333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11335 if (!SWIG_IsOK(res1
)) {
11336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11338 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_From_int(static_cast< int >(result
));
11356 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
= 0;
11358 wxRegion
*arg1
= (wxRegion
*) 0 ;
11363 wxRegionContain result
;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 PyObject
* obj2
= 0 ;
11377 PyObject
* obj3
= 0 ;
11378 PyObject
* obj4
= 0 ;
11379 char * kwnames
[] = {
11380 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11385 if (!SWIG_IsOK(res1
)) {
11386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11388 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11390 if (!SWIG_IsOK(ecode2
)) {
11391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11393 arg2
= static_cast< int >(val2
);
11394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11395 if (!SWIG_IsOK(ecode3
)) {
11396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11398 arg3
= static_cast< int >(val3
);
11399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11400 if (!SWIG_IsOK(ecode4
)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11403 arg4
= static_cast< int >(val4
);
11404 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11405 if (!SWIG_IsOK(ecode5
)) {
11406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11408 arg5
= static_cast< int >(val5
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_From_int(static_cast< int >(result
));
11422 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11423 PyObject
*resultobj
= 0;
11424 wxRegion
*arg1
= (wxRegion
*) 0 ;
11428 PyObject
*swig_obj
[1] ;
11430 if (!args
) SWIG_fail
;
11431 swig_obj
[0] = args
;
11432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11433 if (!SWIG_IsOK(res1
)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11436 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (arg1
)->GetBox();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11450 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
= 0;
11452 wxRegion
*arg1
= (wxRegion
*) 0 ;
11468 PyObject
* obj0
= 0 ;
11469 PyObject
* obj1
= 0 ;
11470 PyObject
* obj2
= 0 ;
11471 PyObject
* obj3
= 0 ;
11472 PyObject
* obj4
= 0 ;
11473 char * kwnames
[] = {
11474 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11479 if (!SWIG_IsOK(res1
)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11482 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11484 if (!SWIG_IsOK(ecode2
)) {
11485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11487 arg2
= static_cast< int >(val2
);
11488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11489 if (!SWIG_IsOK(ecode3
)) {
11490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11492 arg3
= static_cast< int >(val3
);
11493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11494 if (!SWIG_IsOK(ecode4
)) {
11495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11497 arg4
= static_cast< int >(val4
);
11498 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11499 if (!SWIG_IsOK(ecode5
)) {
11500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11502 arg5
= static_cast< int >(val5
);
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11518 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
= 0;
11520 wxRegion
*arg1
= (wxRegion
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 char * kwnames
[] = {
11529 (char *) "self",(char *) "rect", NULL
11532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11534 if (!SWIG_IsOK(res1
)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11537 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11540 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11557 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
= 0;
11559 wxRegion
*arg1
= (wxRegion
*) 0 ;
11560 wxRegion
*arg2
= 0 ;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 char * kwnames
[] = {
11569 (char *) "self",(char *) "region", NULL
11572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11577 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11579 if (!SWIG_IsOK(res2
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11585 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11601 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11602 PyObject
*resultobj
= 0;
11603 wxRegion
*arg1
= (wxRegion
*) 0 ;
11607 PyObject
*swig_obj
[1] ;
11609 if (!args
) SWIG_fail
;
11610 swig_obj
[0] = args
;
11611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11615 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (bool)(arg1
)->IsEmpty();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
= 0;
11633 wxRegion
*arg1
= (wxRegion
*) 0 ;
11634 wxRegion
*arg2
= 0 ;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 char * kwnames
[] = {
11643 (char *) "self",(char *) "region", NULL
11646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11651 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11653 if (!SWIG_IsOK(res2
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11659 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11675 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
= 0;
11677 wxRegion
*arg1
= (wxRegion
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 PyObject
* obj2
= 0 ;
11696 PyObject
* obj3
= 0 ;
11697 PyObject
* obj4
= 0 ;
11698 char * kwnames
[] = {
11699 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11704 if (!SWIG_IsOK(res1
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11707 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11709 if (!SWIG_IsOK(ecode2
)) {
11710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11712 arg2
= static_cast< int >(val2
);
11713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11714 if (!SWIG_IsOK(ecode3
)) {
11715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11717 arg3
= static_cast< int >(val3
);
11718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11719 if (!SWIG_IsOK(ecode4
)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11722 arg4
= static_cast< int >(val4
);
11723 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11724 if (!SWIG_IsOK(ecode5
)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11727 arg5
= static_cast< int >(val5
);
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11743 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
= 0;
11745 wxRegion
*arg1
= (wxRegion
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 char * kwnames
[] = {
11754 (char *) "self",(char *) "rect", NULL
11757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11759 if (!SWIG_IsOK(res1
)) {
11760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11762 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11765 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
= 0;
11784 wxRegion
*arg1
= (wxRegion
*) 0 ;
11785 wxRegion
*arg2
= 0 ;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj1
= 0 ;
11793 char * kwnames
[] = {
11794 (char *) "self",(char *) "region", NULL
11797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11799 if (!SWIG_IsOK(res1
)) {
11800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11802 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11804 if (!SWIG_IsOK(res2
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11810 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11826 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
= 0;
11828 wxRegion
*arg1
= (wxRegion
*) 0 ;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 PyObject
* obj2
= 0 ;
11847 PyObject
* obj3
= 0 ;
11848 PyObject
* obj4
= 0 ;
11849 char * kwnames
[] = {
11850 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11855 if (!SWIG_IsOK(res1
)) {
11856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11858 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11860 if (!SWIG_IsOK(ecode2
)) {
11861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11863 arg2
= static_cast< int >(val2
);
11864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11865 if (!SWIG_IsOK(ecode3
)) {
11866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11868 arg3
= static_cast< int >(val3
);
11869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11870 if (!SWIG_IsOK(ecode4
)) {
11871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11873 arg4
= static_cast< int >(val4
);
11874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11875 if (!SWIG_IsOK(ecode5
)) {
11876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11878 arg5
= static_cast< int >(val5
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11894 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
= 0;
11896 wxRegion
*arg1
= (wxRegion
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "rect", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11913 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11916 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
= 0;
11935 wxRegion
*arg1
= (wxRegion
*) 0 ;
11936 wxRegion
*arg2
= 0 ;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 char * kwnames
[] = {
11945 (char *) "self",(char *) "region", NULL
11948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11950 if (!SWIG_IsOK(res1
)) {
11951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11953 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11955 if (!SWIG_IsOK(res2
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11961 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11977 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
= 0;
11979 wxRegion
*arg1
= (wxRegion
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 PyObject
* obj2
= 0 ;
11998 PyObject
* obj3
= 0 ;
11999 PyObject
* obj4
= 0 ;
12000 char * kwnames
[] = {
12001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12006 if (!SWIG_IsOK(res1
)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12009 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12011 if (!SWIG_IsOK(ecode2
)) {
12012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12014 arg2
= static_cast< int >(val2
);
12015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12016 if (!SWIG_IsOK(ecode3
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12019 arg3
= static_cast< int >(val3
);
12020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12021 if (!SWIG_IsOK(ecode4
)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12024 arg4
= static_cast< int >(val4
);
12025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12026 if (!SWIG_IsOK(ecode5
)) {
12027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12029 arg5
= static_cast< int >(val5
);
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12045 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
= 0;
12047 wxRegion
*arg1
= (wxRegion
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char * kwnames
[] = {
12056 (char *) "self",(char *) "rect", NULL
12059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12061 if (!SWIG_IsOK(res1
)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12064 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12067 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12084 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
= 0;
12086 wxRegion
*arg1
= (wxRegion
*) 0 ;
12087 wxRegion
*arg2
= 0 ;
12093 PyObject
* obj0
= 0 ;
12094 PyObject
* obj1
= 0 ;
12095 char * kwnames
[] = {
12096 (char *) "self",(char *) "region", NULL
12099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12104 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12106 if (!SWIG_IsOK(res2
)) {
12107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12112 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12128 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12129 PyObject
*resultobj
= 0;
12130 wxRegion
*arg1
= (wxRegion
*) 0 ;
12131 SwigValueWrapper
<wxBitmap
> result
;
12134 PyObject
*swig_obj
[1] ;
12136 if (!args
) SWIG_fail
;
12137 swig_obj
[0] = args
;
12138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12139 if (!SWIG_IsOK(res1
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12142 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (arg1
)->ConvertToBitmap();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12156 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
= 0;
12158 wxRegion
*arg1
= (wxRegion
*) 0 ;
12159 wxBitmap
*arg2
= 0 ;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 char * kwnames
[] = {
12168 (char *) "self",(char *) "bmp", NULL
12171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12173 if (!SWIG_IsOK(res1
)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12176 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12178 if (!SWIG_IsOK(res2
)) {
12179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12184 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12200 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
= 0;
12202 wxRegion
*arg1
= (wxRegion
*) 0 ;
12203 wxBitmap
*arg2
= 0 ;
12204 wxColour
*arg3
= 0 ;
12205 int arg4
= (int) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 PyObject
* obj2
= 0 ;
12217 PyObject
* obj3
= 0 ;
12218 char * kwnames
[] = {
12219 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12227 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12229 if (!SWIG_IsOK(res2
)) {
12230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12235 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12238 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12242 if (!SWIG_IsOK(ecode4
)) {
12243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12245 arg4
= static_cast< int >(val4
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12262 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12265 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12266 return SWIG_Py_Void();
12269 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 return SWIG_Python_InitShadowInstance(args
);
12273 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
= 0;
12275 wxRegion
*arg1
= 0 ;
12276 wxRegionIterator
*result
= 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char * kwnames
[] = {
12281 (char *) "region", NULL
12284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12285 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12292 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12294 if (!wxPyCheckForApp()) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12307 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12320 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_Py_Void();
12335 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12336 PyObject
*resultobj
= 0;
12337 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12341 PyObject
*swig_obj
[1] ;
12343 if (!args
) SWIG_fail
;
12344 swig_obj
[0] = args
;
12345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12346 if (!SWIG_IsOK(res1
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12349 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (int)(arg1
)->GetX();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_From_int(static_cast< int >(result
));
12363 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12364 PyObject
*resultobj
= 0;
12365 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12369 PyObject
*swig_obj
[1] ;
12371 if (!args
) SWIG_fail
;
12372 swig_obj
[0] = args
;
12373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12374 if (!SWIG_IsOK(res1
)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12377 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (int)(arg1
)->GetY();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_From_int(static_cast< int >(result
));
12391 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12392 PyObject
*resultobj
= 0;
12393 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12397 PyObject
*swig_obj
[1] ;
12399 if (!args
) SWIG_fail
;
12400 swig_obj
[0] = args
;
12401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12402 if (!SWIG_IsOK(res1
)) {
12403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12405 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (int)(arg1
)->GetW();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= SWIG_From_int(static_cast< int >(result
));
12419 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12420 PyObject
*resultobj
= 0;
12421 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12425 PyObject
*swig_obj
[1] ;
12427 if (!args
) SWIG_fail
;
12428 swig_obj
[0] = args
;
12429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12433 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (int)(arg1
)->GetWidth();
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= SWIG_From_int(static_cast< int >(result
));
12447 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12448 PyObject
*resultobj
= 0;
12449 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12453 PyObject
*swig_obj
[1] ;
12455 if (!args
) SWIG_fail
;
12456 swig_obj
[0] = args
;
12457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12458 if (!SWIG_IsOK(res1
)) {
12459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12461 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (int)(arg1
)->GetH();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_From_int(static_cast< int >(result
));
12475 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12476 PyObject
*resultobj
= 0;
12477 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12481 PyObject
*swig_obj
[1] ;
12483 if (!args
) SWIG_fail
;
12484 swig_obj
[0] = args
;
12485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12486 if (!SWIG_IsOK(res1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12489 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (int)(arg1
)->GetHeight();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_int(static_cast< int >(result
));
12503 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 PyObject
*resultobj
= 0;
12505 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12509 PyObject
*swig_obj
[1] ;
12511 if (!args
) SWIG_fail
;
12512 swig_obj
[0] = args
;
12513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12517 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (arg1
)->GetRect();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12531 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12532 PyObject
*resultobj
= 0;
12533 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12537 PyObject
*swig_obj
[1] ;
12539 if (!args
) SWIG_fail
;
12540 swig_obj
[0] = args
;
12541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12542 if (!SWIG_IsOK(res1
)) {
12543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12545 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 result
= (bool)(arg1
)->HaveRects();
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12561 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12562 PyObject
*resultobj
= 0;
12563 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12566 PyObject
*swig_obj
[1] ;
12568 if (!args
) SWIG_fail
;
12569 swig_obj
[0] = args
;
12570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12571 if (!SWIG_IsOK(res1
)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12574 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= SWIG_Py_Void();
12588 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12589 PyObject
*resultobj
= 0;
12590 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12593 PyObject
*swig_obj
[1] ;
12595 if (!args
) SWIG_fail
;
12596 swig_obj
[0] = args
;
12597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12598 if (!SWIG_IsOK(res1
)) {
12599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12601 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 wxRegionIterator_Next(arg1
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_Py_Void();
12615 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12621 PyObject
*swig_obj
[1] ;
12623 if (!args
) SWIG_fail
;
12624 swig_obj
[0] = args
;
12625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12626 if (!SWIG_IsOK(res1
)) {
12627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12629 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12645 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12648 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12649 return SWIG_Py_Void();
12652 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12653 return SWIG_Python_InitShadowInstance(args
);
12656 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12657 PyObject
*resultobj
= 0;
12658 wxNativeFontInfo
*result
= 0 ;
12660 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12674 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12675 PyObject
*resultobj
= 0;
12676 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12679 PyObject
*swig_obj
[1] ;
12681 if (!args
) SWIG_fail
;
12682 swig_obj
[0] = args
;
12683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12684 if (!SWIG_IsOK(res1
)) {
12685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12687 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_Py_Void();
12702 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12703 PyObject
*resultobj
= 0;
12704 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12707 PyObject
*swig_obj
[1] ;
12709 if (!args
) SWIG_fail
;
12710 swig_obj
[0] = args
;
12711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12712 if (!SWIG_IsOK(res1
)) {
12713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12715 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_Py_Void();
12729 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
= 0;
12731 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 PyObject
* obj1
= 0 ;
12739 char * kwnames
[] = {
12740 (char *) "self",(char *) "font", NULL
12743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12745 if (!SWIG_IsOK(res1
)) {
12746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12748 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12749 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12750 if (!SWIG_IsOK(res2
)) {
12751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12756 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= SWIG_Py_Void();
12770 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12771 PyObject
*resultobj
= 0;
12772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12776 PyObject
*swig_obj
[1] ;
12778 if (!args
) SWIG_fail
;
12779 swig_obj
[0] = args
;
12780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12781 if (!SWIG_IsOK(res1
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12784 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_From_int(static_cast< int >(result
));
12798 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12799 PyObject
*resultobj
= 0;
12800 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12804 PyObject
*swig_obj
[1] ;
12806 if (!args
) SWIG_fail
;
12807 swig_obj
[0] = args
;
12808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12809 if (!SWIG_IsOK(res1
)) {
12810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12812 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12826 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12827 PyObject
*resultobj
= 0;
12828 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12829 wxFontStyle result
;
12832 PyObject
*swig_obj
[1] ;
12834 if (!args
) SWIG_fail
;
12835 swig_obj
[0] = args
;
12836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12837 if (!SWIG_IsOK(res1
)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12840 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= SWIG_From_int(static_cast< int >(result
));
12854 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12855 PyObject
*resultobj
= 0;
12856 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12857 wxFontWeight result
;
12860 PyObject
*swig_obj
[1] ;
12862 if (!args
) SWIG_fail
;
12863 swig_obj
[0] = args
;
12864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12868 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= SWIG_From_int(static_cast< int >(result
));
12882 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12883 PyObject
*resultobj
= 0;
12884 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12888 PyObject
*swig_obj
[1] ;
12890 if (!args
) SWIG_fail
;
12891 swig_obj
[0] = args
;
12892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12893 if (!SWIG_IsOK(res1
)) {
12894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12896 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12912 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 PyObject
*resultobj
= 0;
12914 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12918 PyObject
*swig_obj
[1] ;
12920 if (!args
) SWIG_fail
;
12921 swig_obj
[0] = args
;
12922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12923 if (!SWIG_IsOK(res1
)) {
12924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12926 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12946 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12947 PyObject
*resultobj
= 0;
12948 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12949 wxFontFamily result
;
12952 PyObject
*swig_obj
[1] ;
12954 if (!args
) SWIG_fail
;
12955 swig_obj
[0] = args
;
12956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12957 if (!SWIG_IsOK(res1
)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12960 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_From_int(static_cast< int >(result
));
12974 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12977 wxFontEncoding result
;
12980 PyObject
*swig_obj
[1] ;
12982 if (!args
) SWIG_fail
;
12983 swig_obj
[0] = args
;
12984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12985 if (!SWIG_IsOK(res1
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12988 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_From_int(static_cast< int >(result
));
13002 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
= 0;
13004 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 char * kwnames
[] = {
13013 (char *) "self",(char *) "pointsize", NULL
13016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13018 if (!SWIG_IsOK(res1
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13021 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13023 if (!SWIG_IsOK(ecode2
)) {
13024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13026 arg2
= static_cast< int >(val2
);
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 (arg1
)->SetPointSize(arg2
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_Py_Void();
13040 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char * kwnames
[] = {
13050 (char *) "self",(char *) "pixelSize", NULL
13053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13055 if (!SWIG_IsOK(res1
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13058 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_Py_Void();
13076 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char * kwnames
[] = {
13087 (char *) "self",(char *) "style", NULL
13090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13092 if (!SWIG_IsOK(res1
)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13095 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13097 if (!SWIG_IsOK(ecode2
)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13100 arg2
= static_cast< wxFontStyle
>(val2
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->SetStyle(arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_Py_Void();
13114 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
= 0;
13116 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13117 wxFontWeight arg2
;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 char * kwnames
[] = {
13125 (char *) "self",(char *) "weight", NULL
13128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13130 if (!SWIG_IsOK(res1
)) {
13131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13133 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13135 if (!SWIG_IsOK(ecode2
)) {
13136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13138 arg2
= static_cast< wxFontWeight
>(val2
);
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->SetWeight(arg2
);
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= SWIG_Py_Void();
13152 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
= 0;
13154 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 char * kwnames
[] = {
13163 (char *) "self",(char *) "underlined", NULL
13166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13171 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13172 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13173 if (!SWIG_IsOK(ecode2
)) {
13174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13176 arg2
= static_cast< bool >(val2
);
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 (arg1
)->SetUnderlined(arg2
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= SWIG_Py_Void();
13190 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
= 0;
13192 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char * kwnames
[] = {
13200 (char *) "self",(char *) "facename", NULL
13203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13208 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13210 wxString
* sptr
= wxString_in_helper(obj1
);
13211 if (sptr
== NULL
) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (bool)(arg1
)->SetFaceName(arg2
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
= 0;
13232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13233 wxFontFamily arg2
;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char * kwnames
[] = {
13241 (char *) "self",(char *) "family", NULL
13244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13249 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13251 if (!SWIG_IsOK(ecode2
)) {
13252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13254 arg2
= static_cast< wxFontFamily
>(val2
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 (arg1
)->SetFamily(arg2
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
= 0;
13270 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13271 wxFontEncoding arg2
;
13276 PyObject
* obj0
= 0 ;
13277 PyObject
* obj1
= 0 ;
13278 char * kwnames
[] = {
13279 (char *) "self",(char *) "encoding", NULL
13282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13284 if (!SWIG_IsOK(res1
)) {
13285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13287 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13289 if (!SWIG_IsOK(ecode2
)) {
13290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13292 arg2
= static_cast< wxFontEncoding
>(val2
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 (arg1
)->SetEncoding(arg2
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_Py_Void();
13306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13309 wxString
*arg2
= 0 ;
13313 bool temp2
= false ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char * kwnames
[] = {
13317 (char *) "self",(char *) "s", NULL
13320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13322 if (!SWIG_IsOK(res1
)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13325 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13327 arg2
= wxString_in_helper(obj1
);
13328 if (arg2
== NULL
) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13354 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13355 PyObject
*resultobj
= 0;
13356 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13360 PyObject
*swig_obj
[1] ;
13362 if (!args
) SWIG_fail
;
13363 swig_obj
[0] = args
;
13364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13365 if (!SWIG_IsOK(res1
)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13368 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13388 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 PyObject
*resultobj
= 0;
13390 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13394 PyObject
*swig_obj
[1] ;
13396 if (!args
) SWIG_fail
;
13397 swig_obj
[0] = args
;
13398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13399 if (!SWIG_IsOK(res1
)) {
13400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13402 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= wxNativeFontInfo___str__(arg1
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13422 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
= 0;
13424 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13425 wxString
*arg2
= 0 ;
13429 bool temp2
= false ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char * kwnames
[] = {
13433 (char *) "self",(char *) "s", NULL
13436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13438 if (!SWIG_IsOK(res1
)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13441 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13443 arg2
= wxString_in_helper(obj1
);
13444 if (arg2
== NULL
) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13470 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13471 PyObject
*resultobj
= 0;
13472 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13476 PyObject
*swig_obj
[1] ;
13478 if (!args
) SWIG_fail
;
13479 swig_obj
[0] = args
;
13480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13481 if (!SWIG_IsOK(res1
)) {
13482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13484 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13504 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13507 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13508 return SWIG_Py_Void();
13511 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 return SWIG_Python_InitShadowInstance(args
);
13515 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 PyObject
*resultobj
= 0;
13517 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13518 wxString
*arg2
= (wxString
*) 0 ;
13521 bool temp2
= false ;
13522 PyObject
*swig_obj
[2] ;
13524 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13526 if (!SWIG_IsOK(res1
)) {
13527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13529 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13531 arg2
= wxString_in_helper(swig_obj
[1]);
13532 if (arg2
== NULL
) SWIG_fail
;
13535 if (arg1
) (arg1
)->facename
= *arg2
;
13537 resultobj
= SWIG_Py_Void();
13552 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13553 PyObject
*resultobj
= 0;
13554 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13555 wxString
*result
= 0 ;
13558 PyObject
*swig_obj
[1] ;
13560 if (!args
) SWIG_fail
;
13561 swig_obj
[0] = args
;
13562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13566 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13567 result
= (wxString
*)& ((arg1
)->facename
);
13570 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13572 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13581 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13582 PyObject
*resultobj
= 0;
13583 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13584 wxFontEncoding arg2
;
13589 PyObject
*swig_obj
[2] ;
13591 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13593 if (!SWIG_IsOK(res1
)) {
13594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13596 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13597 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13598 if (!SWIG_IsOK(ecode2
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13601 arg2
= static_cast< wxFontEncoding
>(val2
);
13602 if (arg1
) (arg1
)->encoding
= arg2
;
13604 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13612 PyObject
*resultobj
= 0;
13613 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13614 wxFontEncoding result
;
13617 PyObject
*swig_obj
[1] ;
13619 if (!args
) SWIG_fail
;
13620 swig_obj
[0] = args
;
13621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13622 if (!SWIG_IsOK(res1
)) {
13623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13625 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13626 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13627 resultobj
= SWIG_From_int(static_cast< int >(result
));
13634 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13635 PyObject
*resultobj
= 0;
13636 wxNativeEncodingInfo
*result
= 0 ;
13638 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13652 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13653 PyObject
*resultobj
= 0;
13654 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13657 PyObject
*swig_obj
[1] ;
13659 if (!args
) SWIG_fail
;
13660 swig_obj
[0] = args
;
13661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13662 if (!SWIG_IsOK(res1
)) {
13663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13665 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= SWIG_Py_Void();
13680 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
= 0;
13682 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13683 wxString
*arg2
= 0 ;
13687 bool temp2
= false ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "self",(char *) "s", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13699 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13701 arg2
= wxString_in_helper(obj1
);
13702 if (arg2
== NULL
) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13728 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13729 PyObject
*resultobj
= 0;
13730 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13734 PyObject
*swig_obj
[1] ;
13736 if (!args
) SWIG_fail
;
13737 swig_obj
[0] = args
;
13738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13739 if (!SWIG_IsOK(res1
)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13742 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13762 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13765 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13766 return SWIG_Py_Void();
13769 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13770 return SWIG_Python_InitShadowInstance(args
);
13773 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13775 wxFontEncoding arg1
;
13776 wxNativeEncodingInfo
*result
= 0 ;
13779 PyObject
* obj0
= 0 ;
13780 char * kwnames
[] = {
13781 (char *) "encoding", NULL
13784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13785 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13786 if (!SWIG_IsOK(ecode1
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13789 arg1
= static_cast< wxFontEncoding
>(val1
);
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13803 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
= 0;
13805 wxNativeEncodingInfo
*arg1
= 0 ;
13809 PyObject
* obj0
= 0 ;
13810 char * kwnames
[] = {
13811 (char *) "info", NULL
13814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13815 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13816 if (!SWIG_IsOK(res1
)) {
13817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13822 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13838 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13839 PyObject
*resultobj
= 0;
13840 wxFontMapper
*result
= 0 ;
13842 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (wxFontMapper
*)new wxFontMapper();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13856 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13857 PyObject
*resultobj
= 0;
13858 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13861 PyObject
*swig_obj
[1] ;
13863 if (!args
) SWIG_fail
;
13864 swig_obj
[0] = args
;
13865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13866 if (!SWIG_IsOK(res1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13869 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_Py_Void();
13884 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13885 PyObject
*resultobj
= 0;
13886 wxFontMapper
*result
= 0 ;
13888 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (wxFontMapper
*)wxFontMapper::Get();
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13902 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= 0;
13904 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13905 wxFontMapper
*result
= 0 ;
13908 PyObject
* obj0
= 0 ;
13909 char * kwnames
[] = {
13910 (char *) "mapper", NULL
13913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13915 if (!SWIG_IsOK(res1
)) {
13916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13918 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13932 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
= 0;
13934 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13935 wxString
*arg2
= 0 ;
13936 bool arg3
= (bool) true ;
13937 wxFontEncoding result
;
13940 bool temp2
= false ;
13943 PyObject
* obj0
= 0 ;
13944 PyObject
* obj1
= 0 ;
13945 PyObject
* obj2
= 0 ;
13946 char * kwnames
[] = {
13947 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13955 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13957 arg2
= wxString_in_helper(obj1
);
13958 if (arg2
== NULL
) SWIG_fail
;
13962 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13963 if (!SWIG_IsOK(ecode3
)) {
13964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13966 arg3
= static_cast< bool >(val3
);
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_From_int(static_cast< int >(result
));
13989 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 PyObject
*resultobj
= 0;
13993 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14007 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
= 0;
14010 wxFontEncoding result
;
14013 PyObject
* obj0
= 0 ;
14014 char * kwnames
[] = {
14018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14019 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14020 if (!SWIG_IsOK(ecode1
)) {
14021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14023 arg1
= static_cast< size_t >(val1
);
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_From_int(static_cast< int >(result
));
14037 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
= 0;
14039 wxFontEncoding arg1
;
14043 PyObject
* obj0
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "encoding", NULL
14048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14049 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14050 if (!SWIG_IsOK(ecode1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14053 arg1
= static_cast< wxFontEncoding
>(val1
);
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 result
= wxFontMapper::GetEncodingName(arg1
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14073 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
= 0;
14075 wxFontEncoding arg1
;
14079 PyObject
* obj0
= 0 ;
14080 char * kwnames
[] = {
14081 (char *) "encoding", NULL
14084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14085 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14086 if (!SWIG_IsOK(ecode1
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14089 arg1
= static_cast< wxFontEncoding
>(val1
);
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= wxFontMapper::GetEncodingDescription(arg1
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14109 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
= 0;
14111 wxString
*arg1
= 0 ;
14112 wxFontEncoding result
;
14113 bool temp1
= false ;
14114 PyObject
* obj0
= 0 ;
14115 char * kwnames
[] = {
14116 (char *) "name", NULL
14119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14121 arg1
= wxString_in_helper(obj0
);
14122 if (arg1
== NULL
) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= SWIG_From_int(static_cast< int >(result
));
14146 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
= 0;
14148 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14149 wxString
*arg2
= 0 ;
14152 bool temp2
= false ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char * kwnames
[] = {
14156 (char *) "self",(char *) "prefix", NULL
14159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14161 if (!SWIG_IsOK(res1
)) {
14162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14164 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14166 arg2
= wxString_in_helper(obj1
);
14167 if (arg2
== NULL
) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_Py_Void();
14191 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14195 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= wxFontMapper::GetDefaultConfigPath();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14215 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
= 0;
14217 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14218 wxFontEncoding arg2
;
14219 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14220 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14221 bool arg4
= (bool) true ;
14222 PyObject
*result
= 0 ;
14227 bool temp3
= false ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 PyObject
* obj2
= 0 ;
14233 PyObject
* obj3
= 0 ;
14234 char * kwnames
[] = {
14235 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14240 if (!SWIG_IsOK(res1
)) {
14241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14243 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14245 if (!SWIG_IsOK(ecode2
)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14248 arg2
= static_cast< wxFontEncoding
>(val2
);
14251 arg3
= wxString_in_helper(obj2
);
14252 if (arg3
== NULL
) SWIG_fail
;
14257 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14258 if (!SWIG_IsOK(ecode4
)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14261 arg4
= static_cast< bool >(val4
);
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= result
;
14284 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
= 0;
14286 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14287 wxFontEncoding arg2
;
14288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14295 bool temp3
= false ;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 PyObject
* obj2
= 0 ;
14299 char * kwnames
[] = {
14300 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14305 if (!SWIG_IsOK(res1
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14308 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14310 if (!SWIG_IsOK(ecode2
)) {
14311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14313 arg2
= static_cast< wxFontEncoding
>(val2
);
14316 arg3
= wxString_in_helper(obj2
);
14317 if (arg3
== NULL
) SWIG_fail
;
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14344 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
= 0;
14346 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14347 wxWindow
*arg2
= (wxWindow
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 char * kwnames
[] = {
14355 (char *) "self",(char *) "parent", NULL
14358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14360 if (!SWIG_IsOK(res1
)) {
14361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14363 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14365 if (!SWIG_IsOK(res2
)) {
14366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14368 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->SetDialogParent(arg2
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_Py_Void();
14382 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
= 0;
14384 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14385 wxString
*arg2
= 0 ;
14388 bool temp2
= false ;
14389 PyObject
* obj0
= 0 ;
14390 PyObject
* obj1
= 0 ;
14391 char * kwnames
[] = {
14392 (char *) "self",(char *) "title", NULL
14395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14400 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14402 arg2
= wxString_in_helper(obj1
);
14403 if (arg2
== NULL
) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_Py_Void();
14427 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14430 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14431 return SWIG_Py_Void();
14434 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14435 return SWIG_Python_InitShadowInstance(args
);
14438 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
= 0;
14444 bool arg5
= (bool) false ;
14445 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14447 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14448 wxFont
*result
= 0 ;
14459 bool temp6
= false ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 PyObject
* obj2
= 0 ;
14465 PyObject
* obj3
= 0 ;
14466 PyObject
* obj4
= 0 ;
14467 PyObject
* obj5
= 0 ;
14468 PyObject
* obj6
= 0 ;
14469 char * kwnames
[] = {
14470 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14475 if (!SWIG_IsOK(ecode1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14478 arg1
= static_cast< int >(val1
);
14479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14480 if (!SWIG_IsOK(ecode2
)) {
14481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14483 arg2
= static_cast< int >(val2
);
14484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14485 if (!SWIG_IsOK(ecode3
)) {
14486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14488 arg3
= static_cast< int >(val3
);
14489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14490 if (!SWIG_IsOK(ecode4
)) {
14491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14493 arg4
= static_cast< int >(val4
);
14495 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14496 if (!SWIG_IsOK(ecode5
)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14499 arg5
= static_cast< bool >(val5
);
14503 arg6
= wxString_in_helper(obj5
);
14504 if (arg6
== NULL
) SWIG_fail
;
14509 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14510 if (!SWIG_IsOK(ecode7
)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14513 arg7
= static_cast< wxFontEncoding
>(val7
);
14516 if (!wxPyCheckForApp()) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14537 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14538 PyObject
*resultobj
= 0;
14539 wxFont
*arg1
= (wxFont
*) 0 ;
14542 PyObject
*swig_obj
[1] ;
14544 if (!args
) SWIG_fail
;
14545 swig_obj
[0] = args
;
14546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14550 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_Py_Void();
14565 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
= 0;
14567 wxNativeFontInfo
*arg1
= 0 ;
14568 wxFont
*result
= 0 ;
14571 PyObject
* obj0
= 0 ;
14572 char * kwnames
[] = {
14573 (char *) "info", NULL
14576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14577 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14584 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14586 if (!wxPyCheckForApp()) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14599 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
= 0;
14601 wxString
*arg1
= 0 ;
14602 wxFont
*result
= 0 ;
14603 bool temp1
= false ;
14604 PyObject
* obj0
= 0 ;
14605 char * kwnames
[] = {
14606 (char *) "info", NULL
14609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14611 arg1
= wxString_in_helper(obj0
);
14612 if (arg1
== NULL
) SWIG_fail
;
14616 if (!wxPyCheckForApp()) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14637 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
= 0;
14640 wxFontFamily arg2
;
14641 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14642 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14644 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14645 wxFont
*result
= 0 ;
14652 bool temp4
= false ;
14655 PyObject
* obj0
= 0 ;
14656 PyObject
* obj1
= 0 ;
14657 PyObject
* obj2
= 0 ;
14658 PyObject
* obj3
= 0 ;
14659 PyObject
* obj4
= 0 ;
14660 char * kwnames
[] = {
14661 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14666 if (!SWIG_IsOK(ecode1
)) {
14667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14669 arg1
= static_cast< int >(val1
);
14670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14671 if (!SWIG_IsOK(ecode2
)) {
14672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14674 arg2
= static_cast< wxFontFamily
>(val2
);
14676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14677 if (!SWIG_IsOK(ecode3
)) {
14678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14680 arg3
= static_cast< int >(val3
);
14684 arg4
= wxString_in_helper(obj3
);
14685 if (arg4
== NULL
) SWIG_fail
;
14690 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14691 if (!SWIG_IsOK(ecode5
)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14694 arg5
= static_cast< wxFontEncoding
>(val5
);
14697 if (!wxPyCheckForApp()) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14718 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
= 0;
14724 bool arg5
= (bool) false ;
14725 wxString
const &arg6_defvalue
= wxEmptyString
;
14726 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14727 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14728 wxFont
*result
= 0 ;
14738 bool temp6
= false ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 PyObject
* obj2
= 0 ;
14744 PyObject
* obj3
= 0 ;
14745 PyObject
* obj4
= 0 ;
14746 PyObject
* obj5
= 0 ;
14747 PyObject
* obj6
= 0 ;
14748 char * kwnames
[] = {
14749 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14755 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14758 if (!SWIG_IsOK(ecode2
)) {
14759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14761 arg2
= static_cast< int >(val2
);
14762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14763 if (!SWIG_IsOK(ecode3
)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14766 arg3
= static_cast< int >(val3
);
14767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14768 if (!SWIG_IsOK(ecode4
)) {
14769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14771 arg4
= static_cast< int >(val4
);
14773 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14774 if (!SWIG_IsOK(ecode5
)) {
14775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14777 arg5
= static_cast< bool >(val5
);
14781 arg6
= wxString_in_helper(obj5
);
14782 if (arg6
== NULL
) SWIG_fail
;
14787 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14788 if (!SWIG_IsOK(ecode7
)) {
14789 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14791 arg7
= static_cast< wxFontEncoding
>(val7
);
14794 if (!wxPyCheckForApp()) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14815 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
= 0;
14818 wxFontFamily arg2
;
14819 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14820 wxString
const &arg4_defvalue
= wxEmptyString
;
14821 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14822 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14823 wxFont
*result
= 0 ;
14829 bool temp4
= false ;
14832 PyObject
* obj0
= 0 ;
14833 PyObject
* obj1
= 0 ;
14834 PyObject
* obj2
= 0 ;
14835 PyObject
* obj3
= 0 ;
14836 PyObject
* obj4
= 0 ;
14837 char * kwnames
[] = {
14838 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14844 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14847 if (!SWIG_IsOK(ecode2
)) {
14848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14850 arg2
= static_cast< wxFontFamily
>(val2
);
14852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14853 if (!SWIG_IsOK(ecode3
)) {
14854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14856 arg3
= static_cast< int >(val3
);
14860 arg4
= wxString_in_helper(obj3
);
14861 if (arg4
== NULL
) SWIG_fail
;
14866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14867 if (!SWIG_IsOK(ecode5
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14870 arg5
= static_cast< wxFontEncoding
>(val5
);
14873 if (!wxPyCheckForApp()) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14894 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14895 PyObject
*resultobj
= 0;
14896 wxFont
*arg1
= (wxFont
*) 0 ;
14900 PyObject
*swig_obj
[1] ;
14902 if (!args
) SWIG_fail
;
14903 swig_obj
[0] = args
;
14904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14908 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14924 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
= 0;
14926 wxFont
*arg1
= (wxFont
*) 0 ;
14927 wxFont
*arg2
= (wxFont
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 PyObject
* obj1
= 0 ;
14935 char * kwnames
[] = {
14936 (char *) "self",(char *) "other", NULL
14939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14944 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14946 if (!SWIG_IsOK(res2
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14949 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14965 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= 0;
14967 wxFont
*arg1
= (wxFont
*) 0 ;
14968 wxFont
*arg2
= (wxFont
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char * kwnames
[] = {
14977 (char *) "self",(char *) "other", NULL
14980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14985 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14987 if (!SWIG_IsOK(res2
)) {
14988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14990 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15006 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15007 PyObject
*resultobj
= 0;
15008 wxFont
*arg1
= (wxFont
*) 0 ;
15012 PyObject
*swig_obj
[1] ;
15014 if (!args
) SWIG_fail
;
15015 swig_obj
[0] = args
;
15016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15017 if (!SWIG_IsOK(res1
)) {
15018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15020 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= SWIG_From_int(static_cast< int >(result
));
15034 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15035 PyObject
*resultobj
= 0;
15036 wxFont
*arg1
= (wxFont
*) 0 ;
15040 PyObject
*swig_obj
[1] ;
15042 if (!args
) SWIG_fail
;
15043 swig_obj
[0] = args
;
15044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15045 if (!SWIG_IsOK(res1
)) {
15046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15048 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15062 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15063 PyObject
*resultobj
= 0;
15064 wxFont
*arg1
= (wxFont
*) 0 ;
15068 PyObject
*swig_obj
[1] ;
15070 if (!args
) SWIG_fail
;
15071 swig_obj
[0] = args
;
15072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15073 if (!SWIG_IsOK(res1
)) {
15074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15076 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15092 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15093 PyObject
*resultobj
= 0;
15094 wxFont
*arg1
= (wxFont
*) 0 ;
15098 PyObject
*swig_obj
[1] ;
15100 if (!args
) SWIG_fail
;
15101 swig_obj
[0] = args
;
15102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15103 if (!SWIG_IsOK(res1
)) {
15104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15106 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_From_int(static_cast< int >(result
));
15120 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15121 PyObject
*resultobj
= 0;
15122 wxFont
*arg1
= (wxFont
*) 0 ;
15126 PyObject
*swig_obj
[1] ;
15128 if (!args
) SWIG_fail
;
15129 swig_obj
[0] = args
;
15130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15131 if (!SWIG_IsOK(res1
)) {
15132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15134 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_From_int(static_cast< int >(result
));
15148 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15149 PyObject
*resultobj
= 0;
15150 wxFont
*arg1
= (wxFont
*) 0 ;
15154 PyObject
*swig_obj
[1] ;
15156 if (!args
) SWIG_fail
;
15157 swig_obj
[0] = args
;
15158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15162 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_From_int(static_cast< int >(result
));
15176 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15177 PyObject
*resultobj
= 0;
15178 wxFont
*arg1
= (wxFont
*) 0 ;
15182 PyObject
*swig_obj
[1] ;
15184 if (!args
) SWIG_fail
;
15185 swig_obj
[0] = args
;
15186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15190 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15206 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15207 PyObject
*resultobj
= 0;
15208 wxFont
*arg1
= (wxFont
*) 0 ;
15212 PyObject
*swig_obj
[1] ;
15214 if (!args
) SWIG_fail
;
15215 swig_obj
[0] = args
;
15216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15217 if (!SWIG_IsOK(res1
)) {
15218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15220 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= ((wxFont
const *)arg1
)->GetFaceName();
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15240 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15241 PyObject
*resultobj
= 0;
15242 wxFont
*arg1
= (wxFont
*) 0 ;
15243 wxFontEncoding result
;
15246 PyObject
*swig_obj
[1] ;
15248 if (!args
) SWIG_fail
;
15249 swig_obj
[0] = args
;
15250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15251 if (!SWIG_IsOK(res1
)) {
15252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15254 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_From_int(static_cast< int >(result
));
15268 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15269 PyObject
*resultobj
= 0;
15270 wxFont
*arg1
= (wxFont
*) 0 ;
15271 wxNativeFontInfo
*result
= 0 ;
15274 PyObject
*swig_obj
[1] ;
15276 if (!args
) SWIG_fail
;
15277 swig_obj
[0] = args
;
15278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15279 if (!SWIG_IsOK(res1
)) {
15280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15282 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15296 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15297 PyObject
*resultobj
= 0;
15298 wxFont
*arg1
= (wxFont
*) 0 ;
15302 PyObject
*swig_obj
[1] ;
15304 if (!args
) SWIG_fail
;
15305 swig_obj
[0] = args
;
15306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15307 if (!SWIG_IsOK(res1
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15310 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15326 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 PyObject
*resultobj
= 0;
15328 wxFont
*arg1
= (wxFont
*) 0 ;
15332 PyObject
*swig_obj
[1] ;
15334 if (!args
) SWIG_fail
;
15335 swig_obj
[0] = args
;
15336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15337 if (!SWIG_IsOK(res1
)) {
15338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15340 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15360 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15361 PyObject
*resultobj
= 0;
15362 wxFont
*arg1
= (wxFont
*) 0 ;
15366 PyObject
*swig_obj
[1] ;
15368 if (!args
) SWIG_fail
;
15369 swig_obj
[0] = args
;
15370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15371 if (!SWIG_IsOK(res1
)) {
15372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15374 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15394 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
= 0;
15396 wxFont
*arg1
= (wxFont
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 char * kwnames
[] = {
15405 (char *) "self",(char *) "pointSize", NULL
15408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15410 if (!SWIG_IsOK(res1
)) {
15411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15413 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15415 if (!SWIG_IsOK(ecode2
)) {
15416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15418 arg2
= static_cast< int >(val2
);
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 (arg1
)->SetPointSize(arg2
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_Py_Void();
15432 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
= 0;
15434 wxFont
*arg1
= (wxFont
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 PyObject
* obj1
= 0 ;
15441 char * kwnames
[] = {
15442 (char *) "self",(char *) "pixelSize", NULL
15445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15450 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_Py_Void();
15468 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
= 0;
15470 wxFont
*arg1
= (wxFont
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 char * kwnames
[] = {
15479 (char *) "self",(char *) "family", NULL
15482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15484 if (!SWIG_IsOK(res1
)) {
15485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15487 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15489 if (!SWIG_IsOK(ecode2
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15492 arg2
= static_cast< int >(val2
);
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 (arg1
)->SetFamily(arg2
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_Py_Void();
15506 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
= 0;
15508 wxFont
*arg1
= (wxFont
*) 0 ;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 char * kwnames
[] = {
15517 (char *) "self",(char *) "style", NULL
15520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15522 if (!SWIG_IsOK(res1
)) {
15523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15525 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15527 if (!SWIG_IsOK(ecode2
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15530 arg2
= static_cast< int >(val2
);
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 (arg1
)->SetStyle(arg2
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_Py_Void();
15544 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
= 0;
15546 wxFont
*arg1
= (wxFont
*) 0 ;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char * kwnames
[] = {
15555 (char *) "self",(char *) "weight", NULL
15558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15563 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15565 if (!SWIG_IsOK(ecode2
)) {
15566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15568 arg2
= static_cast< int >(val2
);
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 (arg1
)->SetWeight(arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_Py_Void();
15582 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
= 0;
15584 wxFont
*arg1
= (wxFont
*) 0 ;
15585 wxString
*arg2
= 0 ;
15589 bool temp2
= false ;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 char * kwnames
[] = {
15593 (char *) "self",(char *) "faceName", NULL
15596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15598 if (!SWIG_IsOK(res1
)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15601 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15603 arg2
= wxString_in_helper(obj1
);
15604 if (arg2
== NULL
) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15630 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
= 0;
15632 wxFont
*arg1
= (wxFont
*) 0 ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 char * kwnames
[] = {
15641 (char *) "self",(char *) "underlined", NULL
15644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15646 if (!SWIG_IsOK(res1
)) {
15647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15650 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15651 if (!SWIG_IsOK(ecode2
)) {
15652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15654 arg2
= static_cast< bool >(val2
);
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->SetUnderlined(arg2
);
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_Py_Void();
15668 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
= 0;
15670 wxFont
*arg1
= (wxFont
*) 0 ;
15671 wxFontEncoding arg2
;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 char * kwnames
[] = {
15679 (char *) "self",(char *) "encoding", NULL
15682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15684 if (!SWIG_IsOK(res1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15687 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15689 if (!SWIG_IsOK(ecode2
)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15692 arg2
= static_cast< wxFontEncoding
>(val2
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->SetEncoding(arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxFont
*arg1
= (wxFont
*) 0 ;
15709 wxNativeFontInfo
*arg2
= 0 ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 char * kwnames
[] = {
15717 (char *) "self",(char *) "info", NULL
15720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15725 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15727 if (!SWIG_IsOK(res2
)) {
15728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15733 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_Py_Void();
15747 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
= 0;
15749 wxFont
*arg1
= (wxFont
*) 0 ;
15750 wxString
*arg2
= 0 ;
15754 bool temp2
= false ;
15755 PyObject
* obj0
= 0 ;
15756 PyObject
* obj1
= 0 ;
15757 char * kwnames
[] = {
15758 (char *) "self",(char *) "info", NULL
15761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15763 if (!SWIG_IsOK(res1
)) {
15764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15766 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15768 arg2
= wxString_in_helper(obj1
);
15769 if (arg2
== NULL
) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
= 0;
15797 wxFont
*arg1
= (wxFont
*) 0 ;
15798 wxString
*arg2
= 0 ;
15802 bool temp2
= false ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 char * kwnames
[] = {
15806 (char *) "self",(char *) "info", NULL
15809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15811 if (!SWIG_IsOK(res1
)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15814 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15816 arg2
= wxString_in_helper(obj1
);
15817 if (arg2
== NULL
) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15843 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15844 PyObject
*resultobj
= 0;
15845 wxFont
*arg1
= (wxFont
*) 0 ;
15849 PyObject
*swig_obj
[1] ;
15851 if (!args
) SWIG_fail
;
15852 swig_obj
[0] = args
;
15853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15854 if (!SWIG_IsOK(res1
)) {
15855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15857 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15877 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15878 PyObject
*resultobj
= 0;
15879 wxFont
*arg1
= (wxFont
*) 0 ;
15883 PyObject
*swig_obj
[1] ;
15885 if (!args
) SWIG_fail
;
15886 swig_obj
[0] = args
;
15887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15891 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= ((wxFont
const *)arg1
)->GetStyleString();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15911 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15912 PyObject
*resultobj
= 0;
15913 wxFont
*arg1
= (wxFont
*) 0 ;
15917 PyObject
*swig_obj
[1] ;
15919 if (!args
) SWIG_fail
;
15920 swig_obj
[0] = args
;
15921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15922 if (!SWIG_IsOK(res1
)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15925 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= ((wxFont
const *)arg1
)->GetWeightString();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15945 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
= 0;
15947 wxFont
*arg1
= (wxFont
*) 0 ;
15948 bool arg2
= (bool) true ;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 char * kwnames
[] = {
15956 (char *) "self",(char *) "no", NULL
15959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15961 if (!SWIG_IsOK(res1
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15964 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15966 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15967 if (!SWIG_IsOK(ecode2
)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15970 arg2
= static_cast< bool >(val2
);
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 (arg1
)->SetNoAntiAliasing(arg2
);
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15978 resultobj
= SWIG_Py_Void();
15985 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15986 PyObject
*resultobj
= 0;
15987 wxFont
*arg1
= (wxFont
*) 0 ;
15991 PyObject
*swig_obj
[1] ;
15993 if (!args
) SWIG_fail
;
15994 swig_obj
[0] = args
;
15995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15996 if (!SWIG_IsOK(res1
)) {
15997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15999 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16015 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16016 PyObject
*resultobj
= 0;
16017 wxFontEncoding result
;
16019 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16021 if (!wxPyCheckForApp()) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_From_int(static_cast< int >(result
));
16034 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
= 0;
16036 wxFontEncoding arg1
;
16039 PyObject
* obj0
= 0 ;
16040 char * kwnames
[] = {
16041 (char *) "encoding", NULL
16044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16046 if (!SWIG_IsOK(ecode1
)) {
16047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16049 arg1
= static_cast< wxFontEncoding
>(val1
);
16051 if (!wxPyCheckForApp()) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 wxFont::SetDefaultEncoding(arg1
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_Py_Void();
16064 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16067 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16068 return SWIG_Py_Void();
16071 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16072 return SWIG_Python_InitShadowInstance(args
);
16075 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16076 PyObject
*resultobj
= 0;
16077 wxPyFontEnumerator
*result
= 0 ;
16079 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16081 if (!wxPyCheckForApp()) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16094 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 PyObject
*resultobj
= 0;
16096 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16099 PyObject
*swig_obj
[1] ;
16101 if (!args
) SWIG_fail
;
16102 swig_obj
[0] = args
;
16103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16104 if (!SWIG_IsOK(res1
)) {
16105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16107 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_Py_Void();
16122 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
= 0;
16124 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16125 PyObject
*arg2
= (PyObject
*) 0 ;
16126 PyObject
*arg3
= (PyObject
*) 0 ;
16127 int arg4
= (int) 0 ;
16132 PyObject
* obj0
= 0 ;
16133 PyObject
* obj1
= 0 ;
16134 PyObject
* obj2
= 0 ;
16135 PyObject
* obj3
= 0 ;
16136 char * kwnames
[] = {
16137 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16142 if (!SWIG_IsOK(res1
)) {
16143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16145 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16150 if (!SWIG_IsOK(ecode4
)) {
16151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16153 arg4
= static_cast< int >(val4
);
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_Py_Void();
16168 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
= 0;
16170 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16171 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16172 bool arg3
= (bool) false ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 PyObject
* obj2
= 0 ;
16183 char * kwnames
[] = {
16184 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16189 if (!SWIG_IsOK(res1
)) {
16190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16192 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16195 if (!SWIG_IsOK(ecode2
)) {
16196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16198 arg2
= static_cast< wxFontEncoding
>(val2
);
16201 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16202 if (!SWIG_IsOK(ecode3
)) {
16203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16205 arg3
= static_cast< bool >(val3
);
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16222 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
= 0;
16224 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16225 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16226 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16230 bool temp2
= false ;
16231 PyObject
* obj0
= 0 ;
16232 PyObject
* obj1
= 0 ;
16233 char * kwnames
[] = {
16234 (char *) "self",(char *) "facename", NULL
16237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16239 if (!SWIG_IsOK(res1
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16242 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16245 arg2
= wxString_in_helper(obj1
);
16246 if (arg2
== NULL
) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16273 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16274 PyObject
*resultobj
= 0;
16275 PyObject
*result
= 0 ;
16277 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= result
;
16291 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 PyObject
*resultobj
= 0;
16293 PyObject
*result
= 0 ;
16295 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= result
;
16309 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
= 0;
16311 wxString
*arg1
= 0 ;
16313 bool temp1
= false ;
16314 PyObject
* obj0
= 0 ;
16315 char * kwnames
[] = {
16316 (char *) "str", NULL
16319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16321 arg1
= wxString_in_helper(obj0
);
16322 if (arg1
== NULL
) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16348 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16352 return SWIG_Py_Void();
16355 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16356 return SWIG_Python_InitShadowInstance(args
);
16359 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16360 PyObject
*resultobj
= 0;
16361 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16367 PyObject
*swig_obj
[2] ;
16369 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16371 if (!SWIG_IsOK(res1
)) {
16372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16374 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16375 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16376 if (!SWIG_IsOK(ecode2
)) {
16377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16379 arg2
= static_cast< int >(val2
);
16380 if (arg1
) (arg1
)->Language
= arg2
;
16382 resultobj
= SWIG_Py_Void();
16389 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16390 PyObject
*resultobj
= 0;
16391 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16395 PyObject
*swig_obj
[1] ;
16397 if (!args
) SWIG_fail
;
16398 swig_obj
[0] = args
;
16399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16400 if (!SWIG_IsOK(res1
)) {
16401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16403 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16404 result
= (int) ((arg1
)->Language
);
16405 resultobj
= SWIG_From_int(static_cast< int >(result
));
16412 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16413 PyObject
*resultobj
= 0;
16414 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16415 wxString
*arg2
= (wxString
*) 0 ;
16418 bool temp2
= false ;
16419 PyObject
*swig_obj
[2] ;
16421 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16423 if (!SWIG_IsOK(res1
)) {
16424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16426 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16428 arg2
= wxString_in_helper(swig_obj
[1]);
16429 if (arg2
== NULL
) SWIG_fail
;
16432 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16434 resultobj
= SWIG_Py_Void();
16449 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16450 PyObject
*resultobj
= 0;
16451 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16452 wxString
*result
= 0 ;
16455 PyObject
*swig_obj
[1] ;
16457 if (!args
) SWIG_fail
;
16458 swig_obj
[0] = args
;
16459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16463 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16464 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16467 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16469 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16478 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16479 PyObject
*resultobj
= 0;
16480 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16481 wxString
*arg2
= (wxString
*) 0 ;
16484 bool temp2
= false ;
16485 PyObject
*swig_obj
[2] ;
16487 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16492 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16494 arg2
= wxString_in_helper(swig_obj
[1]);
16495 if (arg2
== NULL
) SWIG_fail
;
16498 if (arg1
) (arg1
)->Description
= *arg2
;
16500 resultobj
= SWIG_Py_Void();
16515 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16516 PyObject
*resultobj
= 0;
16517 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16518 wxString
*result
= 0 ;
16521 PyObject
*swig_obj
[1] ;
16523 if (!args
) SWIG_fail
;
16524 swig_obj
[0] = args
;
16525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16526 if (!SWIG_IsOK(res1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16529 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16530 result
= (wxString
*)& ((arg1
)->Description
);
16533 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16535 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16544 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16547 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16548 return SWIG_Py_Void();
16551 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
= 0;
16553 int arg1
= (int) -1 ;
16554 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16555 wxLocale
*result
= 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char * kwnames
[] = {
16563 (char *) "language",(char *) "flags", NULL
16566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16569 if (!SWIG_IsOK(ecode1
)) {
16570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16572 arg1
= static_cast< int >(val1
);
16575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16576 if (!SWIG_IsOK(ecode2
)) {
16577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16579 arg2
= static_cast< int >(val2
);
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16594 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16595 PyObject
*resultobj
= 0;
16596 wxLocale
*arg1
= (wxLocale
*) 0 ;
16599 PyObject
*swig_obj
[1] ;
16601 if (!args
) SWIG_fail
;
16602 swig_obj
[0] = args
;
16603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16604 if (!SWIG_IsOK(res1
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16607 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_Py_Void();
16622 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
= 0;
16624 wxLocale
*arg1
= (wxLocale
*) 0 ;
16625 wxString
*arg2
= 0 ;
16626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16628 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16629 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16630 bool arg5
= (bool) true ;
16631 bool arg6
= (bool) false ;
16635 bool temp2
= false ;
16636 bool temp3
= false ;
16637 bool temp4
= false ;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 PyObject
* obj2
= 0 ;
16645 PyObject
* obj3
= 0 ;
16646 PyObject
* obj4
= 0 ;
16647 PyObject
* obj5
= 0 ;
16648 char * kwnames
[] = {
16649 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16654 if (!SWIG_IsOK(res1
)) {
16655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16657 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16659 arg2
= wxString_in_helper(obj1
);
16660 if (arg2
== NULL
) SWIG_fail
;
16665 arg3
= wxString_in_helper(obj2
);
16666 if (arg3
== NULL
) SWIG_fail
;
16672 arg4
= wxString_in_helper(obj3
);
16673 if (arg4
== NULL
) SWIG_fail
;
16678 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16679 if (!SWIG_IsOK(ecode5
)) {
16680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16682 arg5
= static_cast< bool >(val5
);
16685 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16686 if (!SWIG_IsOK(ecode6
)) {
16687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16689 arg6
= static_cast< bool >(val6
);
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16730 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
= 0;
16732 wxLocale
*arg1
= (wxLocale
*) 0 ;
16733 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16734 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 PyObject
* obj2
= 0 ;
16745 char * kwnames
[] = {
16746 (char *) "self",(char *) "language",(char *) "flags", NULL
16749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16751 if (!SWIG_IsOK(res1
)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16754 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16757 if (!SWIG_IsOK(ecode2
)) {
16758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16760 arg2
= static_cast< int >(val2
);
16763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16764 if (!SWIG_IsOK(ecode3
)) {
16765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16767 arg3
= static_cast< int >(val3
);
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16784 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16785 PyObject
*resultobj
= 0;
16788 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (int)wxLocale::GetSystemLanguage();
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_From_int(static_cast< int >(result
));
16802 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16803 PyObject
*resultobj
= 0;
16804 wxFontEncoding result
;
16806 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_From_int(static_cast< int >(result
));
16820 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16821 PyObject
*resultobj
= 0;
16824 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= wxLocale::GetSystemEncodingName();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16844 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16845 PyObject
*resultobj
= 0;
16846 wxLocale
*arg1
= (wxLocale
*) 0 ;
16850 PyObject
*swig_obj
[1] ;
16852 if (!args
) SWIG_fail
;
16853 swig_obj
[0] = args
;
16854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16858 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16874 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16875 PyObject
*resultobj
= 0;
16876 wxLocale
*arg1
= (wxLocale
*) 0 ;
16880 PyObject
*swig_obj
[1] ;
16882 if (!args
) SWIG_fail
;
16883 swig_obj
[0] = args
;
16884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16885 if (!SWIG_IsOK(res1
)) {
16886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16888 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= ((wxLocale
const *)arg1
)->GetLocale();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16908 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16909 PyObject
*resultobj
= 0;
16910 wxLocale
*arg1
= (wxLocale
*) 0 ;
16914 PyObject
*swig_obj
[1] ;
16916 if (!args
) SWIG_fail
;
16917 swig_obj
[0] = args
;
16918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16922 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_From_int(static_cast< int >(result
));
16936 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16937 PyObject
*resultobj
= 0;
16938 wxLocale
*arg1
= (wxLocale
*) 0 ;
16942 PyObject
*swig_obj
[1] ;
16944 if (!args
) SWIG_fail
;
16945 swig_obj
[0] = args
;
16946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16947 if (!SWIG_IsOK(res1
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16950 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= ((wxLocale
const *)arg1
)->GetSysName();
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16970 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16971 PyObject
*resultobj
= 0;
16972 wxLocale
*arg1
= (wxLocale
*) 0 ;
16976 PyObject
*swig_obj
[1] ;
16978 if (!args
) SWIG_fail
;
16979 swig_obj
[0] = args
;
16980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16981 if (!SWIG_IsOK(res1
)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16984 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17004 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= 0;
17006 wxString
*arg1
= 0 ;
17007 bool temp1
= false ;
17008 PyObject
* obj0
= 0 ;
17009 char * kwnames
[] = {
17010 (char *) "prefix", NULL
17013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17015 arg1
= wxString_in_helper(obj0
);
17016 if (arg1
== NULL
) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_Py_Void();
17040 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
= 0;
17042 wxLocale
*arg1
= (wxLocale
*) 0 ;
17043 wxString
*arg2
= 0 ;
17047 bool temp2
= false ;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 char * kwnames
[] = {
17051 (char *) "self",(char *) "szDomain", NULL
17054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17059 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17061 arg2
= wxString_in_helper(obj1
);
17062 if (arg2
== NULL
) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17088 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
= 0;
17094 PyObject
* obj0
= 0 ;
17095 char * kwnames
[] = {
17096 (char *) "lang", NULL
17099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17101 if (!SWIG_IsOK(ecode1
)) {
17102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17104 arg1
= static_cast< int >(val1
);
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (bool)wxLocale::IsAvailable(arg1
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17120 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
= 0;
17122 wxLocale
*arg1
= (wxLocale
*) 0 ;
17123 wxString
*arg2
= 0 ;
17127 bool temp2
= false ;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 char * kwnames
[] = {
17131 (char *) "self",(char *) "szDomain", NULL
17134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17136 if (!SWIG_IsOK(res1
)) {
17137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17139 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17141 arg2
= wxString_in_helper(obj1
);
17142 if (arg2
== NULL
) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17168 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
= 0;
17171 wxLanguageInfo
*result
= 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char * kwnames
[] = {
17176 (char *) "lang", NULL
17179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17180 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17181 if (!SWIG_IsOK(ecode1
)) {
17182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17184 arg1
= static_cast< int >(val1
);
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17198 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
= 0;
17204 PyObject
* obj0
= 0 ;
17205 char * kwnames
[] = {
17206 (char *) "lang", NULL
17209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17210 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17211 if (!SWIG_IsOK(ecode1
)) {
17212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17214 arg1
= static_cast< int >(val1
);
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= wxLocale::GetLanguageName(arg1
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17234 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
= 0;
17236 wxString
*arg1
= 0 ;
17237 wxLanguageInfo
*result
= 0 ;
17238 bool temp1
= false ;
17239 PyObject
* obj0
= 0 ;
17240 char * kwnames
[] = {
17241 (char *) "locale", NULL
17244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17246 arg1
= wxString_in_helper(obj0
);
17247 if (arg1
== NULL
) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17271 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
= 0;
17273 wxLanguageInfo
*arg1
= 0 ;
17276 PyObject
* obj0
= 0 ;
17277 char * kwnames
[] = {
17278 (char *) "info", NULL
17281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17283 if (!SWIG_IsOK(res1
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17289 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= SWIG_Py_Void();
17303 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= 0;
17305 wxLocale
*arg1
= (wxLocale
*) 0 ;
17306 wxString
*arg2
= 0 ;
17307 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17308 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17312 bool temp2
= false ;
17313 bool temp3
= false ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 PyObject
* obj2
= 0 ;
17317 char * kwnames
[] = {
17318 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17323 if (!SWIG_IsOK(res1
)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17326 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17328 arg2
= wxString_in_helper(obj1
);
17329 if (arg2
== NULL
) SWIG_fail
;
17334 arg3
= wxString_in_helper(obj2
);
17335 if (arg3
== NULL
) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17374 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17375 PyObject
*resultobj
= 0;
17376 wxLocale
*arg1
= (wxLocale
*) 0 ;
17377 wxString
*result
= 0 ;
17380 PyObject
*swig_obj
[1] ;
17382 if (!args
) SWIG_fail
;
17383 swig_obj
[0] = args
;
17384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17385 if (!SWIG_IsOK(res1
)) {
17386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17388 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17393 result
= (wxString
*) &_result_ref
;
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17402 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17411 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17414 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17415 return SWIG_Py_Void();
17418 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17419 return SWIG_Python_InitShadowInstance(args
);
17422 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
= 0;
17424 int arg1
= (int) -1 ;
17425 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17426 wxPyLocale
*result
= 0 ;
17431 PyObject
* obj0
= 0 ;
17432 PyObject
* obj1
= 0 ;
17433 char * kwnames
[] = {
17434 (char *) "language",(char *) "flags", NULL
17437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17440 if (!SWIG_IsOK(ecode1
)) {
17441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17443 arg1
= static_cast< int >(val1
);
17446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17447 if (!SWIG_IsOK(ecode2
)) {
17448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17450 arg2
= static_cast< int >(val2
);
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17465 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17466 PyObject
*resultobj
= 0;
17467 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17470 PyObject
*swig_obj
[1] ;
17472 if (!args
) SWIG_fail
;
17473 swig_obj
[0] = args
;
17474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17475 if (!SWIG_IsOK(res1
)) {
17476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17478 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= SWIG_Py_Void();
17493 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
= 0;
17495 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17496 PyObject
*arg2
= (PyObject
*) 0 ;
17497 PyObject
*arg3
= (PyObject
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 char * kwnames
[] = {
17504 (char *) "self",(char *) "self",(char *) "_class", NULL
17507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17509 if (!SWIG_IsOK(res1
)) {
17510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17512 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_Py_Void();
17528 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
= 0;
17530 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17531 wxChar
*arg2
= (wxChar
*) 0 ;
17532 wxChar
*arg3
= (wxChar
*) NULL
;
17533 wxChar
*result
= 0 ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 PyObject
* obj2
= 0 ;
17543 char * kwnames
[] = {
17544 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17549 if (!SWIG_IsOK(res1
)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17552 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17554 if (!SWIG_IsOK(res2
)) {
17555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17557 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17559 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17560 if (!SWIG_IsOK(res3
)) {
17561 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17563 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17578 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
= 0;
17580 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17581 wxChar
*arg2
= (wxChar
*) 0 ;
17582 wxChar
*arg3
= (wxChar
*) 0 ;
17584 wxChar
*arg5
= (wxChar
*) NULL
;
17585 wxChar
*result
= 0 ;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 PyObject
* obj2
= 0 ;
17599 PyObject
* obj3
= 0 ;
17600 PyObject
* obj4
= 0 ;
17601 char * kwnames
[] = {
17602 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17607 if (!SWIG_IsOK(res1
)) {
17608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17610 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17612 if (!SWIG_IsOK(res2
)) {
17613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17615 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17616 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17617 if (!SWIG_IsOK(res3
)) {
17618 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17620 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17621 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17622 if (!SWIG_IsOK(ecode4
)) {
17623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17625 arg4
= static_cast< size_t >(val4
);
17627 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17628 if (!SWIG_IsOK(res5
)) {
17629 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17631 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17646 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17650 return SWIG_Py_Void();
17653 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 return SWIG_Python_InitShadowInstance(args
);
17657 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17658 PyObject
*resultobj
= 0;
17659 wxLocale
*result
= 0 ;
17661 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (wxLocale
*)wxGetLocale();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17675 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17676 PyObject
*resultobj
= 0;
17677 wxString
*arg1
= 0 ;
17679 bool temp1
= false ;
17681 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17683 arg1
= wxString_in_helper(swig_obj
[0]);
17684 if (arg1
== NULL
) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= wxGetTranslation((wxString
const &)*arg1
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17714 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17715 PyObject
*resultobj
= 0;
17716 wxString
*arg1
= 0 ;
17717 wxString
*arg2
= 0 ;
17719 bool temp1
= false ;
17720 bool temp2
= false ;
17722 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17724 arg1
= wxString_in_helper(swig_obj
[0]);
17725 if (arg1
== NULL
) SWIG_fail
;
17729 arg2
= wxString_in_helper(swig_obj
[1]);
17730 if (arg2
== NULL
) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17768 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17769 PyObject
*resultobj
= 0;
17770 wxString
*arg1
= 0 ;
17771 wxString
*arg2
= 0 ;
17774 bool temp1
= false ;
17775 bool temp2
= false ;
17779 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17781 arg1
= wxString_in_helper(swig_obj
[0]);
17782 if (arg1
== NULL
) SWIG_fail
;
17786 arg2
= wxString_in_helper(swig_obj
[1]);
17787 if (arg2
== NULL
) SWIG_fail
;
17790 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17791 if (!SWIG_IsOK(ecode3
)) {
17792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17794 arg3
= static_cast< size_t >(val3
);
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17830 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17831 PyObject
*resultobj
= 0;
17832 wxString
*arg1
= 0 ;
17833 wxString
*arg2
= 0 ;
17835 wxString
*arg4
= 0 ;
17837 bool temp1
= false ;
17838 bool temp2
= false ;
17841 bool temp4
= false ;
17843 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17845 arg1
= wxString_in_helper(swig_obj
[0]);
17846 if (arg1
== NULL
) SWIG_fail
;
17850 arg2
= wxString_in_helper(swig_obj
[1]);
17851 if (arg2
== NULL
) SWIG_fail
;
17854 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17855 if (!SWIG_IsOK(ecode3
)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17858 arg3
= static_cast< size_t >(val3
);
17860 arg4
= wxString_in_helper(swig_obj
[3]);
17861 if (arg4
== NULL
) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17907 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17911 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17914 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17917 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17920 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17923 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17927 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17932 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17933 PyObject
*resultobj
= 0;
17934 wxEncodingConverter
*result
= 0 ;
17936 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17950 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17951 PyObject
*resultobj
= 0;
17952 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17955 PyObject
*swig_obj
[1] ;
17957 if (!args
) SWIG_fail
;
17958 swig_obj
[0] = args
;
17959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17960 if (!SWIG_IsOK(res1
)) {
17961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17963 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_Py_Void();
17978 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
= 0;
17980 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17981 wxFontEncoding arg2
;
17982 wxFontEncoding arg3
;
17983 int arg4
= (int) wxCONVERT_STRICT
;
17993 PyObject
* obj0
= 0 ;
17994 PyObject
* obj1
= 0 ;
17995 PyObject
* obj2
= 0 ;
17996 PyObject
* obj3
= 0 ;
17997 char * kwnames
[] = {
17998 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
18001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18003 if (!SWIG_IsOK(res1
)) {
18004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18006 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18008 if (!SWIG_IsOK(ecode2
)) {
18009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18011 arg2
= static_cast< wxFontEncoding
>(val2
);
18012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18013 if (!SWIG_IsOK(ecode3
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18016 arg3
= static_cast< wxFontEncoding
>(val3
);
18018 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18019 if (!SWIG_IsOK(ecode4
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18022 arg4
= static_cast< int >(val4
);
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18039 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
= 0;
18041 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18042 wxString
*arg2
= 0 ;
18046 bool temp2
= false ;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 char * kwnames
[] = {
18050 (char *) "self",(char *) "input", NULL
18053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18055 if (!SWIG_IsOK(res1
)) {
18056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18058 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18060 arg2
= wxString_in_helper(obj1
);
18061 if (arg2
== NULL
) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18091 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
= 0;
18093 wxFontEncoding arg1
;
18094 int arg2
= (int) wxPLATFORM_CURRENT
;
18095 wxFontEncodingArray result
;
18100 PyObject
* obj0
= 0 ;
18101 PyObject
* obj1
= 0 ;
18102 char * kwnames
[] = {
18103 (char *) "enc",(char *) "platform", NULL
18106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18108 if (!SWIG_IsOK(ecode1
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18111 arg1
= static_cast< wxFontEncoding
>(val1
);
18113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18114 if (!SWIG_IsOK(ecode2
)) {
18115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18117 arg2
= static_cast< int >(val2
);
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= PyList_New(0);
18127 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18128 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18129 PyList_Append(resultobj
, number
);
18139 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
= 0;
18141 wxFontEncoding arg1
;
18142 wxFontEncodingArray result
;
18145 PyObject
* obj0
= 0 ;
18146 char * kwnames
[] = {
18147 (char *) "enc", NULL
18150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18152 if (!SWIG_IsOK(ecode1
)) {
18153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18155 arg1
= static_cast< wxFontEncoding
>(val1
);
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= PyList_New(0);
18164 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18165 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18166 PyList_Append(resultobj
, number
);
18176 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
= 0;
18178 wxFontEncoding arg1
;
18179 wxFontEncoding arg2
;
18185 PyObject
* obj0
= 0 ;
18186 PyObject
* obj1
= 0 ;
18187 char * kwnames
[] = {
18188 (char *) "encIn",(char *) "encOut", NULL
18191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18193 if (!SWIG_IsOK(ecode1
)) {
18194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18196 arg1
= static_cast< wxFontEncoding
>(val1
);
18197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18198 if (!SWIG_IsOK(ecode2
)) {
18199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18201 arg2
= static_cast< wxFontEncoding
>(val2
);
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18220 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18221 return SWIG_Py_Void();
18224 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18225 return SWIG_Python_InitShadowInstance(args
);
18228 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18229 PyObject
*resultobj
= 0;
18230 wxDC
*arg1
= (wxDC
*) 0 ;
18233 PyObject
*swig_obj
[1] ;
18235 if (!args
) SWIG_fail
;
18236 swig_obj
[0] = args
;
18237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18238 if (!SWIG_IsOK(res1
)) {
18239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_Py_Void();
18256 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
= 0;
18258 wxDC
*arg1
= (wxDC
*) 0 ;
18261 wxColour
*arg4
= 0 ;
18262 int arg5
= (int) wxFLOOD_SURFACE
;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 PyObject
* obj2
= 0 ;
18276 PyObject
* obj3
= 0 ;
18277 PyObject
* obj4
= 0 ;
18278 char * kwnames
[] = {
18279 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18284 if (!SWIG_IsOK(res1
)) {
18285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18289 if (!SWIG_IsOK(ecode2
)) {
18290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18292 arg2
= static_cast< int >(val2
);
18293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18294 if (!SWIG_IsOK(ecode3
)) {
18295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18297 arg3
= static_cast< int >(val3
);
18300 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18303 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18304 if (!SWIG_IsOK(ecode5
)) {
18305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18307 arg5
= static_cast< int >(val5
);
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18324 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
= 0;
18326 wxDC
*arg1
= (wxDC
*) 0 ;
18327 wxPoint
*arg2
= 0 ;
18328 wxColour
*arg3
= 0 ;
18329 int arg4
= (int) wxFLOOD_SURFACE
;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18339 PyObject
* obj2
= 0 ;
18340 PyObject
* obj3
= 0 ;
18341 char * kwnames
[] = {
18342 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18347 if (!SWIG_IsOK(res1
)) {
18348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18357 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18360 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18361 if (!SWIG_IsOK(ecode4
)) {
18362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18364 arg4
= static_cast< int >(val4
);
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18381 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
= 0;
18383 wxDC
*arg1
= (wxDC
*) 0 ;
18385 wxColour
*arg3
= 0 ;
18386 wxColour
*arg4
= 0 ;
18387 wxPoint
*arg5
= 0 ;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 PyObject
* obj2
= 0 ;
18397 PyObject
* obj3
= 0 ;
18398 PyObject
* obj4
= 0 ;
18399 char * kwnames
[] = {
18400 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18405 if (!SWIG_IsOK(res1
)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18411 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18415 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18419 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18423 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= SWIG_Py_Void();
18438 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
= 0;
18440 wxDC
*arg1
= (wxDC
*) 0 ;
18442 wxColour
*arg3
= 0 ;
18443 wxColour
*arg4
= 0 ;
18444 wxDirection arg5
= (wxDirection
) wxEAST
;
18452 PyObject
* obj0
= 0 ;
18453 PyObject
* obj1
= 0 ;
18454 PyObject
* obj2
= 0 ;
18455 PyObject
* obj3
= 0 ;
18456 PyObject
* obj4
= 0 ;
18457 char * kwnames
[] = {
18458 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18469 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18473 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18477 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18480 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18481 if (!SWIG_IsOK(ecode5
)) {
18482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18484 arg5
= static_cast< wxDirection
>(val5
);
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 resultobj
= SWIG_Py_Void();
18499 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
= 0;
18501 wxDC
*arg1
= (wxDC
*) 0 ;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 PyObject
* obj2
= 0 ;
18514 char * kwnames
[] = {
18515 (char *) "self",(char *) "x",(char *) "y", NULL
18518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18520 if (!SWIG_IsOK(res1
)) {
18521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18525 if (!SWIG_IsOK(ecode2
)) {
18526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18528 arg2
= static_cast< int >(val2
);
18529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18530 if (!SWIG_IsOK(ecode3
)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18533 arg3
= static_cast< int >(val3
);
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18547 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
= 0;
18549 wxDC
*arg1
= (wxDC
*) 0 ;
18550 wxPoint
*arg2
= 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char * kwnames
[] = {
18558 (char *) "self",(char *) "pt", NULL
18561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18584 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
= 0;
18586 wxDC
*arg1
= (wxDC
*) 0 ;
18601 PyObject
* obj0
= 0 ;
18602 PyObject
* obj1
= 0 ;
18603 PyObject
* obj2
= 0 ;
18604 PyObject
* obj3
= 0 ;
18605 PyObject
* obj4
= 0 ;
18606 char * kwnames
[] = {
18607 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18612 if (!SWIG_IsOK(res1
)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18617 if (!SWIG_IsOK(ecode2
)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18620 arg2
= static_cast< int >(val2
);
18621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18622 if (!SWIG_IsOK(ecode3
)) {
18623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18625 arg3
= static_cast< int >(val3
);
18626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18627 if (!SWIG_IsOK(ecode4
)) {
18628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18630 arg4
= static_cast< int >(val4
);
18631 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18632 if (!SWIG_IsOK(ecode5
)) {
18633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18635 arg5
= static_cast< int >(val5
);
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_Py_Void();
18649 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
= 0;
18651 wxDC
*arg1
= (wxDC
*) 0 ;
18652 wxPoint
*arg2
= 0 ;
18653 wxPoint
*arg3
= 0 ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 PyObject
* obj2
= 0 ;
18661 char * kwnames
[] = {
18662 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18667 if (!SWIG_IsOK(res1
)) {
18668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_Py_Void();
18692 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
= 0;
18694 wxDC
*arg1
= (wxDC
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 PyObject
* obj2
= 0 ;
18706 char * kwnames
[] = {
18707 (char *) "self",(char *) "x",(char *) "y", NULL
18710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18712 if (!SWIG_IsOK(res1
)) {
18713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18717 if (!SWIG_IsOK(ecode2
)) {
18718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18720 arg2
= static_cast< int >(val2
);
18721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18722 if (!SWIG_IsOK(ecode3
)) {
18723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18725 arg3
= static_cast< int >(val3
);
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 (arg1
)->CrossHair(arg2
,arg3
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 resultobj
= SWIG_Py_Void();
18739 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
= 0;
18741 wxDC
*arg1
= (wxDC
*) 0 ;
18742 wxPoint
*arg2
= 0 ;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 char * kwnames
[] = {
18749 (char *) "self",(char *) "pt", NULL
18752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18754 if (!SWIG_IsOK(res1
)) {
18755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_Py_Void();
18775 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= 0;
18777 wxDC
*arg1
= (wxDC
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 PyObject
* obj2
= 0 ;
18801 PyObject
* obj3
= 0 ;
18802 PyObject
* obj4
= 0 ;
18803 PyObject
* obj5
= 0 ;
18804 PyObject
* obj6
= 0 ;
18805 char * kwnames
[] = {
18806 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18811 if (!SWIG_IsOK(res1
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18816 if (!SWIG_IsOK(ecode2
)) {
18817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18819 arg2
= static_cast< int >(val2
);
18820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18821 if (!SWIG_IsOK(ecode3
)) {
18822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18824 arg3
= static_cast< int >(val3
);
18825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18826 if (!SWIG_IsOK(ecode4
)) {
18827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18829 arg4
= static_cast< int >(val4
);
18830 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18831 if (!SWIG_IsOK(ecode5
)) {
18832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18834 arg5
= static_cast< int >(val5
);
18835 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18836 if (!SWIG_IsOK(ecode6
)) {
18837 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18839 arg6
= static_cast< int >(val6
);
18840 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18841 if (!SWIG_IsOK(ecode7
)) {
18842 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18844 arg7
= static_cast< int >(val7
);
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= SWIG_Py_Void();
18858 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
= 0;
18860 wxDC
*arg1
= (wxDC
*) 0 ;
18861 wxPoint
*arg2
= 0 ;
18862 wxPoint
*arg3
= 0 ;
18863 wxPoint
*arg4
= 0 ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 PyObject
* obj2
= 0 ;
18872 PyObject
* obj3
= 0 ;
18873 char * kwnames
[] = {
18874 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18879 if (!SWIG_IsOK(res1
)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_Py_Void();
18908 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
= 0;
18910 wxDC
*arg1
= (wxDC
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 PyObject
* obj2
= 0 ;
18928 PyObject
* obj3
= 0 ;
18929 PyObject
* obj4
= 0 ;
18930 char * kwnames
[] = {
18931 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18936 if (!SWIG_IsOK(res1
)) {
18937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18941 if (!SWIG_IsOK(ecode2
)) {
18942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18944 arg2
= static_cast< int >(val2
);
18945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18946 if (!SWIG_IsOK(ecode3
)) {
18947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18949 arg3
= static_cast< int >(val3
);
18950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18951 if (!SWIG_IsOK(ecode4
)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18954 arg4
= static_cast< int >(val4
);
18955 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18956 if (!SWIG_IsOK(ecode5
)) {
18957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18959 arg5
= static_cast< int >(val5
);
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_Py_Void();
18973 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxDC
*arg1
= (wxDC
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char * kwnames
[] = {
18983 (char *) "self",(char *) "rect", NULL
18986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18988 if (!SWIG_IsOK(res1
)) {
18989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18994 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_Py_Void();
19009 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
= 0;
19011 wxDC
*arg1
= (wxDC
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 PyObject
* obj2
= 0 ;
19035 PyObject
* obj3
= 0 ;
19036 PyObject
* obj4
= 0 ;
19037 PyObject
* obj5
= 0 ;
19038 PyObject
* obj6
= 0 ;
19039 char * kwnames
[] = {
19040 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19045 if (!SWIG_IsOK(res1
)) {
19046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19050 if (!SWIG_IsOK(ecode2
)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19053 arg2
= static_cast< int >(val2
);
19054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19055 if (!SWIG_IsOK(ecode3
)) {
19056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19058 arg3
= static_cast< int >(val3
);
19059 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19060 if (!SWIG_IsOK(ecode4
)) {
19061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19063 arg4
= static_cast< int >(val4
);
19064 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19065 if (!SWIG_IsOK(ecode5
)) {
19066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19068 arg5
= static_cast< int >(val5
);
19069 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19070 if (!SWIG_IsOK(ecode6
)) {
19071 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19073 arg6
= static_cast< double >(val6
);
19074 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19075 if (!SWIG_IsOK(ecode7
)) {
19076 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19078 arg7
= static_cast< double >(val7
);
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_Py_Void();
19092 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
= 0;
19094 wxDC
*arg1
= (wxDC
*) 0 ;
19095 wxPoint
*arg2
= 0 ;
19107 PyObject
* obj0
= 0 ;
19108 PyObject
* obj1
= 0 ;
19109 PyObject
* obj2
= 0 ;
19110 PyObject
* obj3
= 0 ;
19111 PyObject
* obj4
= 0 ;
19112 char * kwnames
[] = {
19113 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19118 if (!SWIG_IsOK(res1
)) {
19119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19128 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19130 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19131 if (!SWIG_IsOK(ecode4
)) {
19132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19134 arg4
= static_cast< double >(val4
);
19135 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19136 if (!SWIG_IsOK(ecode5
)) {
19137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19139 arg5
= static_cast< double >(val5
);
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 resultobj
= SWIG_Py_Void();
19153 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
= 0;
19155 wxDC
*arg1
= (wxDC
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 PyObject
* obj2
= 0 ;
19167 char * kwnames
[] = {
19168 (char *) "self",(char *) "x",(char *) "y", NULL
19171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19178 if (!SWIG_IsOK(ecode2
)) {
19179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19181 arg2
= static_cast< int >(val2
);
19182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19183 if (!SWIG_IsOK(ecode3
)) {
19184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19186 arg3
= static_cast< int >(val3
);
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->DrawPoint(arg2
,arg3
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_Py_Void();
19200 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
= 0;
19202 wxDC
*arg1
= (wxDC
*) 0 ;
19203 wxPoint
*arg2
= 0 ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char * kwnames
[] = {
19210 (char *) "self",(char *) "pt", NULL
19213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19215 if (!SWIG_IsOK(res1
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_Py_Void();
19236 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
= 0;
19238 wxDC
*arg1
= (wxDC
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 PyObject
* obj2
= 0 ;
19256 PyObject
* obj3
= 0 ;
19257 PyObject
* obj4
= 0 ;
19258 char * kwnames
[] = {
19259 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19264 if (!SWIG_IsOK(res1
)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19269 if (!SWIG_IsOK(ecode2
)) {
19270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19272 arg2
= static_cast< int >(val2
);
19273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19274 if (!SWIG_IsOK(ecode3
)) {
19275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19277 arg3
= static_cast< int >(val3
);
19278 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19279 if (!SWIG_IsOK(ecode4
)) {
19280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19282 arg4
= static_cast< int >(val4
);
19283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19284 if (!SWIG_IsOK(ecode5
)) {
19285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19287 arg5
= static_cast< int >(val5
);
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_Py_Void();
19301 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
= 0;
19303 wxDC
*arg1
= (wxDC
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char * kwnames
[] = {
19311 (char *) "self",(char *) "rect", NULL
19314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19316 if (!SWIG_IsOK(res1
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19322 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_Py_Void();
19337 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
= 0;
19339 wxDC
*arg1
= (wxDC
*) 0 ;
19340 wxPoint
*arg2
= 0 ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 PyObject
* obj2
= 0 ;
19349 char * kwnames
[] = {
19350 (char *) "self",(char *) "pt",(char *) "sz", NULL
19353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19355 if (!SWIG_IsOK(res1
)) {
19356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19365 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= SWIG_Py_Void();
19380 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
= 0;
19382 wxDC
*arg1
= (wxDC
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 PyObject
* obj2
= 0 ;
19403 PyObject
* obj3
= 0 ;
19404 PyObject
* obj4
= 0 ;
19405 PyObject
* obj5
= 0 ;
19406 char * kwnames
[] = {
19407 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19417 if (!SWIG_IsOK(ecode2
)) {
19418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19420 arg2
= static_cast< int >(val2
);
19421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19422 if (!SWIG_IsOK(ecode3
)) {
19423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19425 arg3
= static_cast< int >(val3
);
19426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19427 if (!SWIG_IsOK(ecode4
)) {
19428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19430 arg4
= static_cast< int >(val4
);
19431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19432 if (!SWIG_IsOK(ecode5
)) {
19433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19435 arg5
= static_cast< int >(val5
);
19436 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19437 if (!SWIG_IsOK(ecode6
)) {
19438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19440 arg6
= static_cast< double >(val6
);
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= SWIG_Py_Void();
19454 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
= 0;
19456 wxDC
*arg1
= (wxDC
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 PyObject
* obj2
= 0 ;
19467 char * kwnames
[] = {
19468 (char *) "self",(char *) "r",(char *) "radius", NULL
19471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19476 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19479 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19481 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19482 if (!SWIG_IsOK(ecode3
)) {
19483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19485 arg3
= static_cast< double >(val3
);
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= SWIG_Py_Void();
19499 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
= 0;
19501 wxDC
*arg1
= (wxDC
*) 0 ;
19502 wxPoint
*arg2
= 0 ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 PyObject
* obj2
= 0 ;
19514 PyObject
* obj3
= 0 ;
19515 char * kwnames
[] = {
19516 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19521 if (!SWIG_IsOK(res1
)) {
19522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19531 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19533 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19534 if (!SWIG_IsOK(ecode4
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19537 arg4
= static_cast< double >(val4
);
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_Py_Void();
19551 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
= 0;
19553 wxDC
*arg1
= (wxDC
*) 0 ;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 PyObject
* obj2
= 0 ;
19568 PyObject
* obj3
= 0 ;
19569 char * kwnames
[] = {
19570 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19575 if (!SWIG_IsOK(res1
)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19580 if (!SWIG_IsOK(ecode2
)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19583 arg2
= static_cast< int >(val2
);
19584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19585 if (!SWIG_IsOK(ecode3
)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19588 arg3
= static_cast< int >(val3
);
19589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19590 if (!SWIG_IsOK(ecode4
)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19593 arg4
= static_cast< int >(val4
);
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= SWIG_Py_Void();
19607 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
= 0;
19609 wxDC
*arg1
= (wxDC
*) 0 ;
19610 wxPoint
*arg2
= 0 ;
19617 PyObject
* obj0
= 0 ;
19618 PyObject
* obj1
= 0 ;
19619 PyObject
* obj2
= 0 ;
19620 char * kwnames
[] = {
19621 (char *) "self",(char *) "pt",(char *) "radius", NULL
19624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19626 if (!SWIG_IsOK(res1
)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19629 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19635 if (!SWIG_IsOK(ecode3
)) {
19636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19638 arg3
= static_cast< int >(val3
);
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= SWIG_Py_Void();
19652 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
= 0;
19654 wxDC
*arg1
= (wxDC
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 PyObject
* obj2
= 0 ;
19672 PyObject
* obj3
= 0 ;
19673 PyObject
* obj4
= 0 ;
19674 char * kwnames
[] = {
19675 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19680 if (!SWIG_IsOK(res1
)) {
19681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19685 if (!SWIG_IsOK(ecode2
)) {
19686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19688 arg2
= static_cast< int >(val2
);
19689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19690 if (!SWIG_IsOK(ecode3
)) {
19691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19693 arg3
= static_cast< int >(val3
);
19694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19695 if (!SWIG_IsOK(ecode4
)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19698 arg4
= static_cast< int >(val4
);
19699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19700 if (!SWIG_IsOK(ecode5
)) {
19701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19703 arg5
= static_cast< int >(val5
);
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= SWIG_Py_Void();
19717 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
= 0;
19719 wxDC
*arg1
= (wxDC
*) 0 ;
19724 PyObject
* obj0
= 0 ;
19725 PyObject
* obj1
= 0 ;
19726 char * kwnames
[] = {
19727 (char *) "self",(char *) "rect", NULL
19730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19732 if (!SWIG_IsOK(res1
)) {
19733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19738 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_Py_Void();
19753 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxDC
*arg1
= (wxDC
*) 0 ;
19756 wxPoint
*arg2
= 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 PyObject
* obj2
= 0 ;
19765 char * kwnames
[] = {
19766 (char *) "self",(char *) "pt",(char *) "sz", NULL
19769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19771 if (!SWIG_IsOK(res1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19781 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_Py_Void();
19796 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
= 0;
19798 wxDC
*arg1
= (wxDC
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 PyObject
* obj2
= 0 ;
19813 PyObject
* obj3
= 0 ;
19814 char * kwnames
[] = {
19815 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19820 if (!SWIG_IsOK(res1
)) {
19821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19825 if (!SWIG_IsOK(res2
)) {
19826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19831 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19833 if (!SWIG_IsOK(ecode3
)) {
19834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19836 arg3
= static_cast< int >(val3
);
19837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19838 if (!SWIG_IsOK(ecode4
)) {
19839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19841 arg4
= static_cast< int >(val4
);
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= SWIG_Py_Void();
19855 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
= 0;
19857 wxDC
*arg1
= (wxDC
*) 0 ;
19859 wxPoint
*arg3
= 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 PyObject
* obj2
= 0 ;
19868 char * kwnames
[] = {
19869 (char *) "self",(char *) "icon",(char *) "pt", NULL
19872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19874 if (!SWIG_IsOK(res1
)) {
19875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19879 if (!SWIG_IsOK(res2
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19885 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_Py_Void();
19903 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
= 0;
19905 wxDC
*arg1
= (wxDC
*) 0 ;
19906 wxBitmap
*arg2
= 0 ;
19909 bool arg5
= (bool) false ;
19920 PyObject
* obj0
= 0 ;
19921 PyObject
* obj1
= 0 ;
19922 PyObject
* obj2
= 0 ;
19923 PyObject
* obj3
= 0 ;
19924 PyObject
* obj4
= 0 ;
19925 char * kwnames
[] = {
19926 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19931 if (!SWIG_IsOK(res1
)) {
19932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19936 if (!SWIG_IsOK(res2
)) {
19937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19942 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19944 if (!SWIG_IsOK(ecode3
)) {
19945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19947 arg3
= static_cast< int >(val3
);
19948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19949 if (!SWIG_IsOK(ecode4
)) {
19950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19952 arg4
= static_cast< int >(val4
);
19954 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19955 if (!SWIG_IsOK(ecode5
)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19958 arg5
= static_cast< bool >(val5
);
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= SWIG_Py_Void();
19973 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
= 0;
19975 wxDC
*arg1
= (wxDC
*) 0 ;
19976 wxBitmap
*arg2
= 0 ;
19977 wxPoint
*arg3
= 0 ;
19978 bool arg4
= (bool) false ;
19986 PyObject
* obj0
= 0 ;
19987 PyObject
* obj1
= 0 ;
19988 PyObject
* obj2
= 0 ;
19989 PyObject
* obj3
= 0 ;
19990 char * kwnames
[] = {
19991 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19996 if (!SWIG_IsOK(res1
)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20001 if (!SWIG_IsOK(res2
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20007 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20013 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20014 if (!SWIG_IsOK(ecode4
)) {
20015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20017 arg4
= static_cast< bool >(val4
);
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= SWIG_Py_Void();
20032 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
= 0;
20034 wxDC
*arg1
= (wxDC
*) 0 ;
20035 wxString
*arg2
= 0 ;
20040 bool temp2
= false ;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 PyObject
* obj2
= 0 ;
20048 PyObject
* obj3
= 0 ;
20049 char * kwnames
[] = {
20050 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20060 arg2
= wxString_in_helper(obj1
);
20061 if (arg2
== NULL
) SWIG_fail
;
20064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20065 if (!SWIG_IsOK(ecode3
)) {
20066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20068 arg3
= static_cast< int >(val3
);
20069 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20070 if (!SWIG_IsOK(ecode4
)) {
20071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20073 arg4
= static_cast< int >(val4
);
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= SWIG_Py_Void();
20095 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
= 0;
20097 wxDC
*arg1
= (wxDC
*) 0 ;
20098 wxString
*arg2
= 0 ;
20099 wxPoint
*arg3
= 0 ;
20102 bool temp2
= false ;
20104 PyObject
* obj0
= 0 ;
20105 PyObject
* obj1
= 0 ;
20106 PyObject
* obj2
= 0 ;
20107 char * kwnames
[] = {
20108 (char *) "self",(char *) "text",(char *) "pt", NULL
20111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20113 if (!SWIG_IsOK(res1
)) {
20114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20118 arg2
= wxString_in_helper(obj1
);
20119 if (arg2
== NULL
) SWIG_fail
;
20124 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= SWIG_Py_Void();
20147 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
= 0;
20149 wxDC
*arg1
= (wxDC
*) 0 ;
20150 wxString
*arg2
= 0 ;
20156 bool temp2
= false ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 PyObject
* obj2
= 0 ;
20166 PyObject
* obj3
= 0 ;
20167 PyObject
* obj4
= 0 ;
20168 char * kwnames
[] = {
20169 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20174 if (!SWIG_IsOK(res1
)) {
20175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20179 arg2
= wxString_in_helper(obj1
);
20180 if (arg2
== NULL
) SWIG_fail
;
20183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20184 if (!SWIG_IsOK(ecode3
)) {
20185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20187 arg3
= static_cast< int >(val3
);
20188 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20189 if (!SWIG_IsOK(ecode4
)) {
20190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20192 arg4
= static_cast< int >(val4
);
20193 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20194 if (!SWIG_IsOK(ecode5
)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20197 arg5
= static_cast< double >(val5
);
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_Py_Void();
20219 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
= 0;
20221 wxDC
*arg1
= (wxDC
*) 0 ;
20222 wxString
*arg2
= 0 ;
20223 wxPoint
*arg3
= 0 ;
20227 bool temp2
= false ;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 PyObject
* obj2
= 0 ;
20234 PyObject
* obj3
= 0 ;
20235 char * kwnames
[] = {
20236 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20241 if (!SWIG_IsOK(res1
)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20246 arg2
= wxString_in_helper(obj1
);
20247 if (arg2
== NULL
) SWIG_fail
;
20252 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20254 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20255 if (!SWIG_IsOK(ecode4
)) {
20256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20258 arg4
= static_cast< double >(val4
);
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= SWIG_Py_Void();
20280 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
= 0;
20282 wxDC
*arg1
= (wxDC
*) 0 ;
20287 wxDC
*arg6
= (wxDC
*) 0 ;
20290 int arg9
= (int) wxCOPY
;
20291 bool arg10
= (bool) false ;
20292 int arg11
= (int) -1 ;
20293 int arg12
= (int) -1 ;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 PyObject
* obj2
= 0 ;
20322 PyObject
* obj3
= 0 ;
20323 PyObject
* obj4
= 0 ;
20324 PyObject
* obj5
= 0 ;
20325 PyObject
* obj6
= 0 ;
20326 PyObject
* obj7
= 0 ;
20327 PyObject
* obj8
= 0 ;
20328 PyObject
* obj9
= 0 ;
20329 PyObject
* obj10
= 0 ;
20330 PyObject
* obj11
= 0 ;
20331 char * kwnames
[] = {
20332 (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
20335 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
;
20336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20337 if (!SWIG_IsOK(res1
)) {
20338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20342 if (!SWIG_IsOK(ecode2
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20345 arg2
= static_cast< int >(val2
);
20346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20347 if (!SWIG_IsOK(ecode3
)) {
20348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20350 arg3
= static_cast< int >(val3
);
20351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20352 if (!SWIG_IsOK(ecode4
)) {
20353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20355 arg4
= static_cast< int >(val4
);
20356 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20357 if (!SWIG_IsOK(ecode5
)) {
20358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20360 arg5
= static_cast< int >(val5
);
20361 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20362 if (!SWIG_IsOK(res6
)) {
20363 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20365 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20366 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20367 if (!SWIG_IsOK(ecode7
)) {
20368 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20370 arg7
= static_cast< int >(val7
);
20371 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20372 if (!SWIG_IsOK(ecode8
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20375 arg8
= static_cast< int >(val8
);
20377 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20378 if (!SWIG_IsOK(ecode9
)) {
20379 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20381 arg9
= static_cast< int >(val9
);
20384 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20385 if (!SWIG_IsOK(ecode10
)) {
20386 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20388 arg10
= static_cast< bool >(val10
);
20391 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20392 if (!SWIG_IsOK(ecode11
)) {
20393 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20395 arg11
= static_cast< int >(val11
);
20398 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20399 if (!SWIG_IsOK(ecode12
)) {
20400 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20402 arg12
= static_cast< int >(val12
);
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20419 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
= 0;
20421 wxDC
*arg1
= (wxDC
*) 0 ;
20422 wxPoint
*arg2
= 0 ;
20424 wxDC
*arg4
= (wxDC
*) 0 ;
20425 wxPoint
*arg5
= 0 ;
20426 int arg6
= (int) wxCOPY
;
20427 bool arg7
= (bool) false ;
20428 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20429 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20445 PyObject
* obj2
= 0 ;
20446 PyObject
* obj3
= 0 ;
20447 PyObject
* obj4
= 0 ;
20448 PyObject
* obj5
= 0 ;
20449 PyObject
* obj6
= 0 ;
20450 PyObject
* obj7
= 0 ;
20451 char * kwnames
[] = {
20452 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20457 if (!SWIG_IsOK(res1
)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20467 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20469 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20470 if (!SWIG_IsOK(res4
)) {
20471 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20473 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20476 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20479 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20480 if (!SWIG_IsOK(ecode6
)) {
20481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20483 arg6
= static_cast< int >(val6
);
20486 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20487 if (!SWIG_IsOK(ecode7
)) {
20488 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20490 arg7
= static_cast< bool >(val7
);
20495 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20513 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
= 0;
20515 wxDC
*arg1
= (wxDC
*) 0 ;
20516 wxRect
*arg2
= (wxRect
*) NULL
;
20517 SwigValueWrapper
<wxBitmap
> result
;
20522 PyObject
* obj0
= 0 ;
20523 PyObject
* obj1
= 0 ;
20524 char * kwnames
[] = {
20525 (char *) "self",(char *) "subrect", NULL
20528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20530 if (!SWIG_IsOK(res1
)) {
20531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20533 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20536 if (!SWIG_IsOK(res2
)) {
20537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20539 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20554 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
= 0;
20556 wxDC
*arg1
= (wxDC
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 PyObject
* obj2
= 0 ;
20574 PyObject
* obj3
= 0 ;
20575 PyObject
* obj4
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20587 if (!SWIG_IsOK(ecode2
)) {
20588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20590 arg2
= static_cast< int >(val2
);
20591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20592 if (!SWIG_IsOK(ecode3
)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20595 arg3
= static_cast< int >(val3
);
20596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20597 if (!SWIG_IsOK(ecode4
)) {
20598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20600 arg4
= static_cast< int >(val4
);
20601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20602 if (!SWIG_IsOK(ecode5
)) {
20603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20605 arg5
= static_cast< int >(val5
);
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= SWIG_Py_Void();
20619 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
= 0;
20621 wxDC
*arg1
= (wxDC
*) 0 ;
20622 wxPoint
*arg2
= 0 ;
20628 PyObject
* obj0
= 0 ;
20629 PyObject
* obj1
= 0 ;
20630 PyObject
* obj2
= 0 ;
20631 char * kwnames
[] = {
20632 (char *) "self",(char *) "pt",(char *) "sz", NULL
20635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20637 if (!SWIG_IsOK(res1
)) {
20638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20647 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= SWIG_Py_Void();
20662 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
= 0;
20664 wxDC
*arg1
= (wxDC
*) 0 ;
20665 wxRegion
*arg2
= 0 ;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20672 char * kwnames
[] = {
20673 (char *) "self",(char *) "region", NULL
20676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20678 if (!SWIG_IsOK(res1
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20683 if (!SWIG_IsOK(res2
)) {
20684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20689 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_Py_Void();
20703 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
= 0;
20705 wxDC
*arg1
= (wxDC
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "rect", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= SWIG_Py_Void();
20739 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
= 0;
20741 wxDC
*arg1
= (wxDC
*) 0 ;
20743 wxPoint
*arg3
= (wxPoint
*) 0 ;
20744 int arg4
= (int) 0 ;
20745 int arg5
= (int) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 PyObject
* obj1
= 0 ;
20754 PyObject
* obj2
= 0 ;
20755 PyObject
* obj3
= 0 ;
20756 char * kwnames
[] = {
20757 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20762 if (!SWIG_IsOK(res1
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20767 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20768 if (arg3
== NULL
) SWIG_fail
;
20771 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20772 if (!SWIG_IsOK(ecode4
)) {
20773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20775 arg4
= static_cast< int >(val4
);
20778 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20779 if (!SWIG_IsOK(ecode5
)) {
20780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20782 arg5
= static_cast< int >(val5
);
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_Py_Void();
20792 if (arg3
) delete [] arg3
;
20797 if (arg3
) delete [] arg3
;
20803 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
= 0;
20805 wxDC
*arg1
= (wxDC
*) 0 ;
20807 wxPoint
*arg3
= (wxPoint
*) 0 ;
20808 int arg4
= (int) 0 ;
20809 int arg5
= (int) 0 ;
20810 int arg6
= (int) wxODDEVEN_RULE
;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 PyObject
* obj2
= 0 ;
20822 PyObject
* obj3
= 0 ;
20823 PyObject
* obj4
= 0 ;
20824 char * kwnames
[] = {
20825 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20830 if (!SWIG_IsOK(res1
)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20835 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20836 if (arg3
== NULL
) SWIG_fail
;
20839 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20840 if (!SWIG_IsOK(ecode4
)) {
20841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20843 arg4
= static_cast< int >(val4
);
20846 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20847 if (!SWIG_IsOK(ecode5
)) {
20848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20850 arg5
= static_cast< int >(val5
);
20853 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20854 if (!SWIG_IsOK(ecode6
)) {
20855 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20857 arg6
= static_cast< int >(val6
);
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_Py_Void();
20867 if (arg3
) delete [] arg3
;
20872 if (arg3
) delete [] arg3
;
20878 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
= 0;
20880 wxDC
*arg1
= (wxDC
*) 0 ;
20881 wxString
*arg2
= 0 ;
20883 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20884 int arg5
= (int) -1 ;
20887 bool temp2
= false ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 PyObject
* obj2
= 0 ;
20896 PyObject
* obj3
= 0 ;
20897 PyObject
* obj4
= 0 ;
20898 char * kwnames
[] = {
20899 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20907 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20909 arg2
= wxString_in_helper(obj1
);
20910 if (arg2
== NULL
) SWIG_fail
;
20915 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20919 if (!SWIG_IsOK(ecode4
)) {
20920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20922 arg4
= static_cast< int >(val4
);
20925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20926 if (!SWIG_IsOK(ecode5
)) {
20927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20929 arg5
= static_cast< int >(val5
);
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_Py_Void();
20952 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
= 0;
20954 wxDC
*arg1
= (wxDC
*) 0 ;
20955 wxString
*arg2
= 0 ;
20956 wxBitmap
*arg3
= 0 ;
20958 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20959 int arg6
= (int) -1 ;
20963 bool temp2
= false ;
20971 PyObject
* obj0
= 0 ;
20972 PyObject
* obj1
= 0 ;
20973 PyObject
* obj2
= 0 ;
20974 PyObject
* obj3
= 0 ;
20975 PyObject
* obj4
= 0 ;
20976 PyObject
* obj5
= 0 ;
20977 char * kwnames
[] = {
20978 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20983 if (!SWIG_IsOK(res1
)) {
20984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20988 arg2
= wxString_in_helper(obj1
);
20989 if (arg2
== NULL
) SWIG_fail
;
20992 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20993 if (!SWIG_IsOK(res3
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20999 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21002 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21006 if (!SWIG_IsOK(ecode5
)) {
21007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21009 arg5
= static_cast< int >(val5
);
21012 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21013 if (!SWIG_IsOK(ecode6
)) {
21014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21016 arg6
= static_cast< int >(val6
);
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21039 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
= 0;
21041 wxDC
*arg1
= (wxDC
*) 0 ;
21043 wxPoint
*arg3
= (wxPoint
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 char * kwnames
[] = {
21049 (char *) "self",(char *) "points", NULL
21052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21059 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21060 if (arg3
== NULL
) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->DrawSpline(arg2
,arg3
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= SWIG_Py_Void();
21070 if (arg3
) delete [] arg3
;
21075 if (arg3
) delete [] arg3
;
21081 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21082 PyObject
*resultobj
= 0;
21083 wxDC
*arg1
= (wxDC
*) 0 ;
21086 PyObject
*swig_obj
[1] ;
21088 if (!args
) SWIG_fail
;
21089 swig_obj
[0] = args
;
21090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21091 if (!SWIG_IsOK(res1
)) {
21092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_Py_Void();
21108 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
= 0;
21110 wxDC
*arg1
= (wxDC
*) 0 ;
21111 wxString
*arg2
= 0 ;
21115 bool temp2
= false ;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 char * kwnames
[] = {
21119 (char *) "self",(char *) "message", NULL
21122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21124 if (!SWIG_IsOK(res1
)) {
21125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21129 arg2
= wxString_in_helper(obj1
);
21130 if (arg2
== NULL
) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21156 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 PyObject
*resultobj
= 0;
21158 wxDC
*arg1
= (wxDC
*) 0 ;
21161 PyObject
*swig_obj
[1] ;
21163 if (!args
) SWIG_fail
;
21164 swig_obj
[0] = args
;
21165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21166 if (!SWIG_IsOK(res1
)) {
21167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= SWIG_Py_Void();
21183 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 PyObject
*resultobj
= 0;
21185 wxDC
*arg1
= (wxDC
*) 0 ;
21188 PyObject
*swig_obj
[1] ;
21190 if (!args
) SWIG_fail
;
21191 swig_obj
[0] = args
;
21192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 (arg1
)->StartPage();
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= SWIG_Py_Void();
21210 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21211 PyObject
*resultobj
= 0;
21212 wxDC
*arg1
= (wxDC
*) 0 ;
21215 PyObject
*swig_obj
[1] ;
21217 if (!args
) SWIG_fail
;
21218 swig_obj
[0] = args
;
21219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21220 if (!SWIG_IsOK(res1
)) {
21221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_Py_Void();
21237 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
= 0;
21239 wxDC
*arg1
= (wxDC
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 char * kwnames
[] = {
21248 (char *) "self",(char *) "font", NULL
21251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21253 if (!SWIG_IsOK(res1
)) {
21254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21258 if (!SWIG_IsOK(res2
)) {
21259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21264 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->SetFont((wxFont
const &)*arg2
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_Py_Void();
21278 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
= 0;
21280 wxDC
*arg1
= (wxDC
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char * kwnames
[] = {
21289 (char *) "self",(char *) "pen", NULL
21292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21294 if (!SWIG_IsOK(res1
)) {
21295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21299 if (!SWIG_IsOK(res2
)) {
21300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21305 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 (arg1
)->SetPen((wxPen
const &)*arg2
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 resultobj
= SWIG_Py_Void();
21319 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
= 0;
21321 wxDC
*arg1
= (wxDC
*) 0 ;
21322 wxBrush
*arg2
= 0 ;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 char * kwnames
[] = {
21330 (char *) "self",(char *) "brush", NULL
21333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21335 if (!SWIG_IsOK(res1
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21340 if (!SWIG_IsOK(res2
)) {
21341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21346 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= SWIG_Py_Void();
21360 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
= 0;
21362 wxDC
*arg1
= (wxDC
*) 0 ;
21363 wxBrush
*arg2
= 0 ;
21368 PyObject
* obj0
= 0 ;
21369 PyObject
* obj1
= 0 ;
21370 char * kwnames
[] = {
21371 (char *) "self",(char *) "brush", NULL
21374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21376 if (!SWIG_IsOK(res1
)) {
21377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21381 if (!SWIG_IsOK(res2
)) {
21382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21387 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_Py_Void();
21401 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
= 0;
21403 wxDC
*arg1
= (wxDC
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char * kwnames
[] = {
21412 (char *) "self",(char *) "mode", NULL
21415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21422 if (!SWIG_IsOK(ecode2
)) {
21423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21425 arg2
= static_cast< int >(val2
);
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 (arg1
)->SetBackgroundMode(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_Py_Void();
21439 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= 0;
21441 wxDC
*arg1
= (wxDC
*) 0 ;
21442 wxPalette
*arg2
= 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char * kwnames
[] = {
21450 (char *) "self",(char *) "palette", NULL
21453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21455 if (!SWIG_IsOK(res1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21460 if (!SWIG_IsOK(res2
)) {
21461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21466 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= SWIG_Py_Void();
21480 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 PyObject
*resultobj
= 0;
21482 wxDC
*arg1
= (wxDC
*) 0 ;
21485 PyObject
*swig_obj
[1] ;
21487 if (!args
) SWIG_fail
;
21488 swig_obj
[0] = args
;
21489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21490 if (!SWIG_IsOK(res1
)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 (arg1
)->DestroyClippingRegion();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_Py_Void();
21507 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21508 PyObject
*resultobj
= 0;
21509 wxDC
*arg1
= (wxDC
*) 0 ;
21510 int *arg2
= (int *) 0 ;
21511 int *arg3
= (int *) 0 ;
21512 int *arg4
= (int *) 0 ;
21513 int *arg5
= (int *) 0 ;
21517 int res2
= SWIG_TMPOBJ
;
21519 int res3
= SWIG_TMPOBJ
;
21521 int res4
= SWIG_TMPOBJ
;
21523 int res5
= SWIG_TMPOBJ
;
21524 PyObject
*swig_obj
[1] ;
21530 if (!args
) SWIG_fail
;
21531 swig_obj
[0] = args
;
21532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_Py_Void();
21544 if (SWIG_IsTmpObj(res2
)) {
21545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21547 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21550 if (SWIG_IsTmpObj(res3
)) {
21551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21553 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21556 if (SWIG_IsTmpObj(res4
)) {
21557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21559 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21562 if (SWIG_IsTmpObj(res5
)) {
21563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21565 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21574 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21575 PyObject
*resultobj
= 0;
21576 wxDC
*arg1
= (wxDC
*) 0 ;
21580 PyObject
*swig_obj
[1] ;
21582 if (!args
) SWIG_fail
;
21583 swig_obj
[0] = args
;
21584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21585 if (!SWIG_IsOK(res1
)) {
21586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= wxDC_GetClippingRect(arg1
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21602 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21603 PyObject
*resultobj
= 0;
21604 wxDC
*arg1
= (wxDC
*) 0 ;
21608 PyObject
*swig_obj
[1] ;
21610 if (!args
) SWIG_fail
;
21611 swig_obj
[0] = args
;
21612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21613 if (!SWIG_IsOK(res1
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= SWIG_From_int(static_cast< int >(result
));
21630 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21631 PyObject
*resultobj
= 0;
21632 wxDC
*arg1
= (wxDC
*) 0 ;
21636 PyObject
*swig_obj
[1] ;
21638 if (!args
) SWIG_fail
;
21639 swig_obj
[0] = args
;
21640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21641 if (!SWIG_IsOK(res1
)) {
21642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_From_int(static_cast< int >(result
));
21658 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
= 0;
21660 wxDC
*arg1
= (wxDC
*) 0 ;
21661 wxString
*arg2
= 0 ;
21662 int *arg3
= (int *) 0 ;
21663 int *arg4
= (int *) 0 ;
21666 bool temp2
= false ;
21668 int res3
= SWIG_TMPOBJ
;
21670 int res4
= SWIG_TMPOBJ
;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char * kwnames
[] = {
21674 (char *) "self",(char *) "string", NULL
21679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21681 if (!SWIG_IsOK(res1
)) {
21682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21686 arg2
= wxString_in_helper(obj1
);
21687 if (arg2
== NULL
) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 resultobj
= SWIG_Py_Void();
21697 if (SWIG_IsTmpObj(res3
)) {
21698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21700 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21703 if (SWIG_IsTmpObj(res4
)) {
21704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21706 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21723 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
= 0;
21725 wxDC
*arg1
= (wxDC
*) 0 ;
21726 wxString
*arg2
= 0 ;
21727 int *arg3
= (int *) 0 ;
21728 int *arg4
= (int *) 0 ;
21729 int *arg5
= (int *) 0 ;
21730 int *arg6
= (int *) 0 ;
21731 wxFont
*arg7
= (wxFont
*) NULL
;
21734 bool temp2
= false ;
21736 int res3
= SWIG_TMPOBJ
;
21738 int res4
= SWIG_TMPOBJ
;
21740 int res5
= SWIG_TMPOBJ
;
21742 int res6
= SWIG_TMPOBJ
;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 PyObject
* obj2
= 0 ;
21748 char * kwnames
[] = {
21749 (char *) "self",(char *) "string",(char *) "font", NULL
21756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21758 if (!SWIG_IsOK(res1
)) {
21759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21763 arg2
= wxString_in_helper(obj1
);
21764 if (arg2
== NULL
) SWIG_fail
;
21768 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21769 if (!SWIG_IsOK(res7
)) {
21770 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21772 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= SWIG_Py_Void();
21781 if (SWIG_IsTmpObj(res3
)) {
21782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21784 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21787 if (SWIG_IsTmpObj(res4
)) {
21788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21790 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21793 if (SWIG_IsTmpObj(res5
)) {
21794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21796 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21799 if (SWIG_IsTmpObj(res6
)) {
21800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21802 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21819 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
= 0;
21821 wxDC
*arg1
= (wxDC
*) 0 ;
21822 wxString
*arg2
= 0 ;
21823 int *arg3
= (int *) 0 ;
21824 int *arg4
= (int *) 0 ;
21825 int *arg5
= (int *) 0 ;
21826 wxFont
*arg6
= (wxFont
*) NULL
;
21829 bool temp2
= false ;
21831 int res3
= SWIG_TMPOBJ
;
21833 int res4
= SWIG_TMPOBJ
;
21835 int res5
= SWIG_TMPOBJ
;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 PyObject
* obj2
= 0 ;
21841 char * kwnames
[] = {
21842 (char *) "self",(char *) "text",(char *) "font", NULL
21848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21850 if (!SWIG_IsOK(res1
)) {
21851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21855 arg2
= wxString_in_helper(obj1
);
21856 if (arg2
== NULL
) SWIG_fail
;
21860 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21861 if (!SWIG_IsOK(res6
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21864 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= SWIG_Py_Void();
21873 if (SWIG_IsTmpObj(res3
)) {
21874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21876 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21879 if (SWIG_IsTmpObj(res4
)) {
21880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21882 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21885 if (SWIG_IsTmpObj(res5
)) {
21886 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21888 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21889 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21905 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
= 0;
21907 wxDC
*arg1
= (wxDC
*) 0 ;
21908 wxString
*arg2
= 0 ;
21912 bool temp2
= false ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 char * kwnames
[] = {
21916 (char *) "self",(char *) "text", NULL
21919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21921 if (!SWIG_IsOK(res1
)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21926 arg2
= wxString_in_helper(obj1
);
21927 if (arg2
== NULL
) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= wxArrayInt2PyList_helper(result
);
21953 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21954 PyObject
*resultobj
= 0;
21955 wxDC
*arg1
= (wxDC
*) 0 ;
21959 PyObject
*swig_obj
[1] ;
21961 if (!args
) SWIG_fail
;
21962 swig_obj
[0] = args
;
21963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 result
= (arg1
)->GetSize();
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21981 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21982 PyObject
*resultobj
= 0;
21983 wxDC
*arg1
= (wxDC
*) 0 ;
21984 int *arg2
= (int *) 0 ;
21985 int *arg3
= (int *) 0 ;
21989 int res2
= SWIG_TMPOBJ
;
21991 int res3
= SWIG_TMPOBJ
;
21992 PyObject
*swig_obj
[1] ;
21996 if (!args
) SWIG_fail
;
21997 swig_obj
[0] = args
;
21998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21999 if (!SWIG_IsOK(res1
)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
22002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 (arg1
)->GetSize(arg2
,arg3
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= SWIG_Py_Void();
22010 if (SWIG_IsTmpObj(res2
)) {
22011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22013 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22016 if (SWIG_IsTmpObj(res3
)) {
22017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22019 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22028 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22029 PyObject
*resultobj
= 0;
22030 wxDC
*arg1
= (wxDC
*) 0 ;
22034 PyObject
*swig_obj
[1] ;
22036 if (!args
) SWIG_fail
;
22037 swig_obj
[0] = args
;
22038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22039 if (!SWIG_IsOK(res1
)) {
22040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22056 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22057 PyObject
*resultobj
= 0;
22058 wxDC
*arg1
= (wxDC
*) 0 ;
22059 int *arg2
= (int *) 0 ;
22060 int *arg3
= (int *) 0 ;
22064 int res2
= SWIG_TMPOBJ
;
22066 int res3
= SWIG_TMPOBJ
;
22067 PyObject
*swig_obj
[1] ;
22071 if (!args
) SWIG_fail
;
22072 swig_obj
[0] = args
;
22073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22074 if (!SWIG_IsOK(res1
)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= SWIG_Py_Void();
22085 if (SWIG_IsTmpObj(res2
)) {
22086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22088 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22091 if (SWIG_IsTmpObj(res3
)) {
22092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22094 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22103 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
= 0;
22105 wxDC
*arg1
= (wxDC
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 char * kwnames
[] = {
22115 (char *) "self",(char *) "x", NULL
22118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22120 if (!SWIG_IsOK(res1
)) {
22121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22125 if (!SWIG_IsOK(ecode2
)) {
22126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22128 arg2
= static_cast< int >(val2
);
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 resultobj
= SWIG_From_int(static_cast< int >(result
));
22142 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
= 0;
22144 wxDC
*arg1
= (wxDC
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char * kwnames
[] = {
22154 (char *) "self",(char *) "y", NULL
22157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22159 if (!SWIG_IsOK(res1
)) {
22160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22164 if (!SWIG_IsOK(ecode2
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22167 arg2
= static_cast< int >(val2
);
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= SWIG_From_int(static_cast< int >(result
));
22181 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
= 0;
22183 wxDC
*arg1
= (wxDC
*) 0 ;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 char * kwnames
[] = {
22193 (char *) "self",(char *) "x", NULL
22196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22198 if (!SWIG_IsOK(res1
)) {
22199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22203 if (!SWIG_IsOK(ecode2
)) {
22204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22206 arg2
= static_cast< int >(val2
);
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_From_int(static_cast< int >(result
));
22220 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
= 0;
22222 wxDC
*arg1
= (wxDC
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 char * kwnames
[] = {
22232 (char *) "self",(char *) "y", NULL
22235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22237 if (!SWIG_IsOK(res1
)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22242 if (!SWIG_IsOK(ecode2
)) {
22243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22245 arg2
= static_cast< int >(val2
);
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_From_int(static_cast< int >(result
));
22259 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
= 0;
22261 wxDC
*arg1
= (wxDC
*) 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char * kwnames
[] = {
22271 (char *) "self",(char *) "x", NULL
22274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22276 if (!SWIG_IsOK(res1
)) {
22277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22281 if (!SWIG_IsOK(ecode2
)) {
22282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22284 arg2
= static_cast< int >(val2
);
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= SWIG_From_int(static_cast< int >(result
));
22298 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
= 0;
22300 wxDC
*arg1
= (wxDC
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 PyObject
* obj1
= 0 ;
22309 char * kwnames
[] = {
22310 (char *) "self",(char *) "y", NULL
22313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22315 if (!SWIG_IsOK(res1
)) {
22316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22320 if (!SWIG_IsOK(ecode2
)) {
22321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22323 arg2
= static_cast< int >(val2
);
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= SWIG_From_int(static_cast< int >(result
));
22337 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
= 0;
22339 wxDC
*arg1
= (wxDC
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 char * kwnames
[] = {
22349 (char *) "self",(char *) "x", NULL
22352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22354 if (!SWIG_IsOK(res1
)) {
22355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22359 if (!SWIG_IsOK(ecode2
)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22362 arg2
= static_cast< int >(val2
);
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= SWIG_From_int(static_cast< int >(result
));
22376 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
= 0;
22378 wxDC
*arg1
= (wxDC
*) 0 ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 char * kwnames
[] = {
22388 (char *) "self",(char *) "y", NULL
22391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22393 if (!SWIG_IsOK(res1
)) {
22394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22398 if (!SWIG_IsOK(ecode2
)) {
22399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22401 arg2
= static_cast< int >(val2
);
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= SWIG_From_int(static_cast< int >(result
));
22415 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 PyObject
*resultobj
= 0;
22417 wxDC
*arg1
= (wxDC
*) 0 ;
22421 PyObject
*swig_obj
[1] ;
22423 if (!args
) SWIG_fail
;
22424 swig_obj
[0] = args
;
22425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22445 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22446 PyObject
*resultobj
= 0;
22447 wxDC
*arg1
= (wxDC
*) 0 ;
22451 PyObject
*swig_obj
[1] ;
22453 if (!args
) SWIG_fail
;
22454 swig_obj
[0] = args
;
22455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22456 if (!SWIG_IsOK(res1
)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22475 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22476 PyObject
*resultobj
= 0;
22477 wxDC
*arg1
= (wxDC
*) 0 ;
22481 PyObject
*swig_obj
[1] ;
22483 if (!args
) SWIG_fail
;
22484 swig_obj
[0] = args
;
22485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22486 if (!SWIG_IsOK(res1
)) {
22487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_From_int(static_cast< int >(result
));
22503 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22504 PyObject
*resultobj
= 0;
22505 wxDC
*arg1
= (wxDC
*) 0 ;
22509 PyObject
*swig_obj
[1] ;
22511 if (!args
) SWIG_fail
;
22512 swig_obj
[0] = args
;
22513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22514 if (!SWIG_IsOK(res1
)) {
22515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= ((wxDC
const *)arg1
)->GetPPI();
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22531 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22532 PyObject
*resultobj
= 0;
22533 wxDC
*arg1
= (wxDC
*) 0 ;
22537 PyObject
*swig_obj
[1] ;
22539 if (!args
) SWIG_fail
;
22540 swig_obj
[0] = args
;
22541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22542 if (!SWIG_IsOK(res1
)) {
22543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22561 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22562 PyObject
*resultobj
= 0;
22563 wxDC
*arg1
= (wxDC
*) 0 ;
22567 PyObject
*swig_obj
[1] ;
22569 if (!args
) SWIG_fail
;
22570 swig_obj
[0] = args
;
22571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_From_int(static_cast< int >(result
));
22589 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22590 PyObject
*resultobj
= 0;
22591 wxDC
*arg1
= (wxDC
*) 0 ;
22592 wxBrush
*result
= 0 ;
22595 PyObject
*swig_obj
[1] ;
22597 if (!args
) SWIG_fail
;
22598 swig_obj
[0] = args
;
22599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22600 if (!SWIG_IsOK(res1
)) {
22601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22608 result
= (wxBrush
*) &_result_ref
;
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 wxBrush
* resultptr
= new wxBrush(*result
);
22615 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22623 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 PyObject
*resultobj
= 0;
22625 wxDC
*arg1
= (wxDC
*) 0 ;
22626 wxBrush
*result
= 0 ;
22629 PyObject
*swig_obj
[1] ;
22631 if (!args
) SWIG_fail
;
22632 swig_obj
[0] = args
;
22633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22634 if (!SWIG_IsOK(res1
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22642 result
= (wxBrush
*) &_result_ref
;
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 wxBrush
* resultptr
= new wxBrush(*result
);
22649 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22657 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22658 PyObject
*resultobj
= 0;
22659 wxDC
*arg1
= (wxDC
*) 0 ;
22660 wxFont
*result
= 0 ;
22663 PyObject
*swig_obj
[1] ;
22665 if (!args
) SWIG_fail
;
22666 swig_obj
[0] = args
;
22667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22668 if (!SWIG_IsOK(res1
)) {
22669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22676 result
= (wxFont
*) &_result_ref
;
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22682 wxFont
* resultptr
= new wxFont(*result
);
22683 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22691 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22692 PyObject
*resultobj
= 0;
22693 wxDC
*arg1
= (wxDC
*) 0 ;
22694 wxPen
*result
= 0 ;
22697 PyObject
*swig_obj
[1] ;
22699 if (!args
) SWIG_fail
;
22700 swig_obj
[0] = args
;
22701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22702 if (!SWIG_IsOK(res1
)) {
22703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22710 result
= (wxPen
*) &_result_ref
;
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 wxPen
* resultptr
= new wxPen(*result
);
22717 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22725 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22726 PyObject
*resultobj
= 0;
22727 wxDC
*arg1
= (wxDC
*) 0 ;
22728 wxColour
*result
= 0 ;
22731 PyObject
*swig_obj
[1] ;
22733 if (!args
) SWIG_fail
;
22734 swig_obj
[0] = args
;
22735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22736 if (!SWIG_IsOK(res1
)) {
22737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22744 result
= (wxColour
*) &_result_ref
;
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22756 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22757 PyObject
*resultobj
= 0;
22758 wxDC
*arg1
= (wxDC
*) 0 ;
22759 wxColour
*result
= 0 ;
22762 PyObject
*swig_obj
[1] ;
22764 if (!args
) SWIG_fail
;
22765 swig_obj
[0] = args
;
22766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22767 if (!SWIG_IsOK(res1
)) {
22768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22775 result
= (wxColour
*) &_result_ref
;
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22787 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
= 0;
22789 wxDC
*arg1
= (wxDC
*) 0 ;
22790 wxColour
*arg2
= 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char * kwnames
[] = {
22797 (char *) "self",(char *) "colour", NULL
22800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22802 if (!SWIG_IsOK(res1
)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_Py_Void();
22823 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
= 0;
22825 wxDC
*arg1
= (wxDC
*) 0 ;
22826 wxColour
*arg2
= 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char * kwnames
[] = {
22833 (char *) "self",(char *) "colour", NULL
22836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22838 if (!SWIG_IsOK(res1
)) {
22839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_Py_Void();
22859 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22860 PyObject
*resultobj
= 0;
22861 wxDC
*arg1
= (wxDC
*) 0 ;
22865 PyObject
*swig_obj
[1] ;
22867 if (!args
) SWIG_fail
;
22868 swig_obj
[0] = args
;
22869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_From_int(static_cast< int >(result
));
22887 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
= 0;
22889 wxDC
*arg1
= (wxDC
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 PyObject
* obj1
= 0 ;
22897 char * kwnames
[] = {
22898 (char *) "self",(char *) "mode", NULL
22901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22908 if (!SWIG_IsOK(ecode2
)) {
22909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22911 arg2
= static_cast< int >(val2
);
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 (arg1
)->SetMapMode(arg2
);
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= SWIG_Py_Void();
22925 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22926 PyObject
*resultobj
= 0;
22927 wxDC
*arg1
= (wxDC
*) 0 ;
22928 double *arg2
= (double *) 0 ;
22929 double *arg3
= (double *) 0 ;
22933 int res2
= SWIG_TMPOBJ
;
22935 int res3
= SWIG_TMPOBJ
;
22936 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_Py_Void();
22954 if (SWIG_IsTmpObj(res2
)) {
22955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22957 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22960 if (SWIG_IsTmpObj(res3
)) {
22961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22963 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22972 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
= 0;
22974 wxDC
*arg1
= (wxDC
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 PyObject
* obj2
= 0 ;
22986 char * kwnames
[] = {
22987 (char *) "self",(char *) "x",(char *) "y", NULL
22990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22992 if (!SWIG_IsOK(res1
)) {
22993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22996 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22997 if (!SWIG_IsOK(ecode2
)) {
22998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
23000 arg2
= static_cast< double >(val2
);
23001 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23002 if (!SWIG_IsOK(ecode3
)) {
23003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23005 arg3
= static_cast< double >(val3
);
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 (arg1
)->SetUserScale(arg2
,arg3
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_Py_Void();
23019 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23020 PyObject
*resultobj
= 0;
23021 wxDC
*arg1
= (wxDC
*) 0 ;
23022 double *arg2
= (double *) 0 ;
23023 double *arg3
= (double *) 0 ;
23027 int res2
= SWIG_TMPOBJ
;
23029 int res3
= SWIG_TMPOBJ
;
23030 PyObject
*swig_obj
[1] ;
23034 if (!args
) SWIG_fail
;
23035 swig_obj
[0] = args
;
23036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23037 if (!SWIG_IsOK(res1
)) {
23038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 (arg1
)->GetLogicalScale(arg2
,arg3
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_Py_Void();
23048 if (SWIG_IsTmpObj(res2
)) {
23049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23051 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23054 if (SWIG_IsTmpObj(res3
)) {
23055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23057 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23066 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
= 0;
23068 wxDC
*arg1
= (wxDC
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 PyObject
* obj2
= 0 ;
23080 char * kwnames
[] = {
23081 (char *) "self",(char *) "x",(char *) "y", NULL
23084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23086 if (!SWIG_IsOK(res1
)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23090 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23091 if (!SWIG_IsOK(ecode2
)) {
23092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23094 arg2
= static_cast< double >(val2
);
23095 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23096 if (!SWIG_IsOK(ecode3
)) {
23097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23099 arg3
= static_cast< double >(val3
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 (arg1
)->SetLogicalScale(arg2
,arg3
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_Py_Void();
23113 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23114 PyObject
*resultobj
= 0;
23115 wxDC
*arg1
= (wxDC
*) 0 ;
23119 PyObject
*swig_obj
[1] ;
23121 if (!args
) SWIG_fail
;
23122 swig_obj
[0] = args
;
23123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23124 if (!SWIG_IsOK(res1
)) {
23125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23141 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23142 PyObject
*resultobj
= 0;
23143 wxDC
*arg1
= (wxDC
*) 0 ;
23144 int *arg2
= (int *) 0 ;
23145 int *arg3
= (int *) 0 ;
23149 int res2
= SWIG_TMPOBJ
;
23151 int res3
= SWIG_TMPOBJ
;
23152 PyObject
*swig_obj
[1] ;
23156 if (!args
) SWIG_fail
;
23157 swig_obj
[0] = args
;
23158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23159 if (!SWIG_IsOK(res1
)) {
23160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= SWIG_Py_Void();
23170 if (SWIG_IsTmpObj(res2
)) {
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23173 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23176 if (SWIG_IsTmpObj(res3
)) {
23177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23188 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
= 0;
23190 wxDC
*arg1
= (wxDC
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 PyObject
* obj2
= 0 ;
23202 char * kwnames
[] = {
23203 (char *) "self",(char *) "x",(char *) "y", NULL
23206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23213 if (!SWIG_IsOK(ecode2
)) {
23214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23216 arg2
= static_cast< int >(val2
);
23217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23218 if (!SWIG_IsOK(ecode3
)) {
23219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23221 arg3
= static_cast< int >(val3
);
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 resultobj
= SWIG_Py_Void();
23235 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
= 0;
23237 wxDC
*arg1
= (wxDC
*) 0 ;
23238 wxPoint
*arg2
= 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 char * kwnames
[] = {
23245 (char *) "self",(char *) "point", NULL
23248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23250 if (!SWIG_IsOK(res1
)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23256 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= SWIG_Py_Void();
23271 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23272 PyObject
*resultobj
= 0;
23273 wxDC
*arg1
= (wxDC
*) 0 ;
23277 PyObject
*swig_obj
[1] ;
23279 if (!args
) SWIG_fail
;
23280 swig_obj
[0] = args
;
23281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23282 if (!SWIG_IsOK(res1
)) {
23283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23299 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23300 PyObject
*resultobj
= 0;
23301 wxDC
*arg1
= (wxDC
*) 0 ;
23302 int *arg2
= (int *) 0 ;
23303 int *arg3
= (int *) 0 ;
23307 int res2
= SWIG_TMPOBJ
;
23309 int res3
= SWIG_TMPOBJ
;
23310 PyObject
*swig_obj
[1] ;
23314 if (!args
) SWIG_fail
;
23315 swig_obj
[0] = args
;
23316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23317 if (!SWIG_IsOK(res1
)) {
23318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_Py_Void();
23328 if (SWIG_IsTmpObj(res2
)) {
23329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23331 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23334 if (SWIG_IsTmpObj(res3
)) {
23335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23337 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23346 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
= 0;
23348 wxDC
*arg1
= (wxDC
*) 0 ;
23357 PyObject
* obj0
= 0 ;
23358 PyObject
* obj1
= 0 ;
23359 PyObject
* obj2
= 0 ;
23360 char * kwnames
[] = {
23361 (char *) "self",(char *) "x",(char *) "y", NULL
23364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23366 if (!SWIG_IsOK(res1
)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23371 if (!SWIG_IsOK(ecode2
)) {
23372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23374 arg2
= static_cast< int >(val2
);
23375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23376 if (!SWIG_IsOK(ecode3
)) {
23377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23379 arg3
= static_cast< int >(val3
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_Py_Void();
23393 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
= 0;
23395 wxDC
*arg1
= (wxDC
*) 0 ;
23396 wxPoint
*arg2
= 0 ;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 char * kwnames
[] = {
23403 (char *) "self",(char *) "point", NULL
23406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23408 if (!SWIG_IsOK(res1
)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23414 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_Py_Void();
23429 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
= 0;
23431 wxDC
*arg1
= (wxDC
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 PyObject
* obj2
= 0 ;
23443 char * kwnames
[] = {
23444 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23449 if (!SWIG_IsOK(res1
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23453 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23454 if (!SWIG_IsOK(ecode2
)) {
23455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23457 arg2
= static_cast< bool >(val2
);
23458 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23459 if (!SWIG_IsOK(ecode3
)) {
23460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23462 arg3
= static_cast< bool >(val3
);
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= SWIG_Py_Void();
23476 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23477 PyObject
*resultobj
= 0;
23478 wxDC
*arg1
= (wxDC
*) 0 ;
23482 PyObject
*swig_obj
[1] ;
23484 if (!args
) SWIG_fail
;
23485 swig_obj
[0] = args
;
23486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23487 if (!SWIG_IsOK(res1
)) {
23488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_From_int(static_cast< int >(result
));
23504 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
= 0;
23506 wxDC
*arg1
= (wxDC
*) 0 ;
23512 PyObject
* obj0
= 0 ;
23513 PyObject
* obj1
= 0 ;
23514 char * kwnames
[] = {
23515 (char *) "self",(char *) "function", NULL
23518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23520 if (!SWIG_IsOK(res1
)) {
23521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23525 if (!SWIG_IsOK(ecode2
)) {
23526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23528 arg2
= static_cast< int >(val2
);
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 (arg1
)->SetLogicalFunction(arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_Py_Void();
23542 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23543 PyObject
*resultobj
= 0;
23544 wxDC
*arg1
= (wxDC
*) 0 ;
23547 PyObject
*swig_obj
[1] ;
23549 if (!args
) SWIG_fail
;
23550 swig_obj
[0] = args
;
23551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 (arg1
)->ComputeScaleAndOrigin();
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_Py_Void();
23569 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
= 0;
23571 wxDC
*arg1
= (wxDC
*) 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 PyObject
* obj2
= 0 ;
23583 char * kwnames
[] = {
23584 (char *) "self",(char *) "x",(char *) "y", NULL
23587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23589 if (!SWIG_IsOK(res1
)) {
23590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23594 if (!SWIG_IsOK(ecode2
)) {
23595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23597 arg2
= static_cast< int >(val2
);
23598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23599 if (!SWIG_IsOK(ecode3
)) {
23600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23602 arg3
= static_cast< int >(val3
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_Py_Void();
23616 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
= 0;
23618 wxDC
*arg1
= (wxDC
*) 0 ;
23619 wxPoint
*arg2
= 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char * kwnames
[] = {
23626 (char *) "self",(char *) "point", NULL
23629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23631 if (!SWIG_IsOK(res1
)) {
23632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23637 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= SWIG_Py_Void();
23652 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23653 PyObject
*resultobj
= 0;
23654 wxDC
*arg1
= (wxDC
*) 0 ;
23657 PyObject
*swig_obj
[1] ;
23659 if (!args
) SWIG_fail
;
23660 swig_obj
[0] = args
;
23661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23662 if (!SWIG_IsOK(res1
)) {
23663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 (arg1
)->ResetBoundingBox();
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= SWIG_Py_Void();
23679 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23680 PyObject
*resultobj
= 0;
23681 wxDC
*arg1
= (wxDC
*) 0 ;
23685 PyObject
*swig_obj
[1] ;
23687 if (!args
) SWIG_fail
;
23688 swig_obj
[0] = args
;
23689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23690 if (!SWIG_IsOK(res1
)) {
23691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= (int)((wxDC
const *)arg1
)->MinX();
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23700 resultobj
= SWIG_From_int(static_cast< int >(result
));
23707 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23708 PyObject
*resultobj
= 0;
23709 wxDC
*arg1
= (wxDC
*) 0 ;
23713 PyObject
*swig_obj
[1] ;
23715 if (!args
) SWIG_fail
;
23716 swig_obj
[0] = args
;
23717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23718 if (!SWIG_IsOK(res1
)) {
23719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 result
= (int)((wxDC
const *)arg1
)->MaxX();
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= SWIG_From_int(static_cast< int >(result
));
23735 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 PyObject
*resultobj
= 0;
23737 wxDC
*arg1
= (wxDC
*) 0 ;
23741 PyObject
*swig_obj
[1] ;
23743 if (!args
) SWIG_fail
;
23744 swig_obj
[0] = args
;
23745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23746 if (!SWIG_IsOK(res1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= (int)((wxDC
const *)arg1
)->MinY();
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= SWIG_From_int(static_cast< int >(result
));
23763 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23764 PyObject
*resultobj
= 0;
23765 wxDC
*arg1
= (wxDC
*) 0 ;
23769 PyObject
*swig_obj
[1] ;
23771 if (!args
) SWIG_fail
;
23772 swig_obj
[0] = args
;
23773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23774 if (!SWIG_IsOK(res1
)) {
23775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (int)((wxDC
const *)arg1
)->MaxY();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_From_int(static_cast< int >(result
));
23791 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 PyObject
*resultobj
= 0;
23793 wxDC
*arg1
= (wxDC
*) 0 ;
23794 int *arg2
= (int *) 0 ;
23795 int *arg3
= (int *) 0 ;
23796 int *arg4
= (int *) 0 ;
23797 int *arg5
= (int *) 0 ;
23801 int res2
= SWIG_TMPOBJ
;
23803 int res3
= SWIG_TMPOBJ
;
23805 int res4
= SWIG_TMPOBJ
;
23807 int res5
= SWIG_TMPOBJ
;
23808 PyObject
*swig_obj
[1] ;
23814 if (!args
) SWIG_fail
;
23815 swig_obj
[0] = args
;
23816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23817 if (!SWIG_IsOK(res1
)) {
23818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= SWIG_Py_Void();
23828 if (SWIG_IsTmpObj(res2
)) {
23829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23831 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23834 if (SWIG_IsTmpObj(res3
)) {
23835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23837 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23840 if (SWIG_IsTmpObj(res4
)) {
23841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23843 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23846 if (SWIG_IsTmpObj(res5
)) {
23847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23849 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23858 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23859 PyObject
*resultobj
= 0;
23860 wxDC
*arg1
= (wxDC
*) 0 ;
23861 wxLayoutDirection result
;
23864 PyObject
*swig_obj
[1] ;
23866 if (!args
) SWIG_fail
;
23867 swig_obj
[0] = args
;
23868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23869 if (!SWIG_IsOK(res1
)) {
23870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_From_int(static_cast< int >(result
));
23886 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
= 0;
23888 wxDC
*arg1
= (wxDC
*) 0 ;
23889 wxLayoutDirection arg2
;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23896 char * kwnames
[] = {
23897 (char *) "self",(char *) "dir", NULL
23900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23907 if (!SWIG_IsOK(ecode2
)) {
23908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23910 arg2
= static_cast< wxLayoutDirection
>(val2
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 (arg1
)->SetLayoutDirection(arg2
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_Py_Void();
23924 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23925 PyObject
*resultobj
= 0;
23926 wxDC
*arg1
= (wxDC
*) 0 ;
23930 PyObject
*swig_obj
[1] ;
23932 if (!args
) SWIG_fail
;
23933 swig_obj
[0] = args
;
23934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23935 if (!SWIG_IsOK(res1
)) {
23936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (long)(arg1
)->GetHDC();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_From_long(static_cast< long >(result
));
23952 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
= 0;
23954 wxDC
*arg1
= (wxDC
*) 0 ;
23955 PyObject
*arg2
= (PyObject
*) 0 ;
23956 PyObject
*arg3
= (PyObject
*) 0 ;
23957 PyObject
*arg4
= (PyObject
*) 0 ;
23958 PyObject
*result
= 0 ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 PyObject
* obj2
= 0 ;
23964 PyObject
* obj3
= 0 ;
23965 char * kwnames
[] = {
23966 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23971 if (!SWIG_IsOK(res1
)) {
23972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= result
;
23991 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
= 0;
23993 wxDC
*arg1
= (wxDC
*) 0 ;
23994 PyObject
*arg2
= (PyObject
*) 0 ;
23995 PyObject
*arg3
= (PyObject
*) 0 ;
23996 PyObject
*arg4
= (PyObject
*) 0 ;
23997 PyObject
*result
= 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 PyObject
* obj2
= 0 ;
24003 PyObject
* obj3
= 0 ;
24004 char * kwnames
[] = {
24005 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24010 if (!SWIG_IsOK(res1
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= result
;
24030 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
= 0;
24032 wxDC
*arg1
= (wxDC
*) 0 ;
24033 PyObject
*arg2
= (PyObject
*) 0 ;
24034 PyObject
*arg3
= (PyObject
*) 0 ;
24035 PyObject
*arg4
= (PyObject
*) 0 ;
24036 PyObject
*result
= 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 PyObject
* obj2
= 0 ;
24042 PyObject
* obj3
= 0 ;
24043 char * kwnames
[] = {
24044 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24049 if (!SWIG_IsOK(res1
)) {
24050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= result
;
24069 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
= 0;
24071 wxDC
*arg1
= (wxDC
*) 0 ;
24072 PyObject
*arg2
= (PyObject
*) 0 ;
24073 PyObject
*arg3
= (PyObject
*) 0 ;
24074 PyObject
*arg4
= (PyObject
*) 0 ;
24075 PyObject
*result
= 0 ;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 PyObject
* obj2
= 0 ;
24081 PyObject
* obj3
= 0 ;
24082 char * kwnames
[] = {
24083 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24088 if (!SWIG_IsOK(res1
)) {
24089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= result
;
24108 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
= 0;
24110 wxDC
*arg1
= (wxDC
*) 0 ;
24111 PyObject
*arg2
= (PyObject
*) 0 ;
24112 PyObject
*arg3
= (PyObject
*) 0 ;
24113 PyObject
*arg4
= (PyObject
*) 0 ;
24114 PyObject
*result
= 0 ;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 PyObject
* obj2
= 0 ;
24120 PyObject
* obj3
= 0 ;
24121 char * kwnames
[] = {
24122 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24127 if (!SWIG_IsOK(res1
)) {
24128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= result
;
24147 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
= 0;
24149 wxDC
*arg1
= (wxDC
*) 0 ;
24150 PyObject
*arg2
= (PyObject
*) 0 ;
24151 PyObject
*arg3
= (PyObject
*) 0 ;
24152 PyObject
*arg4
= (PyObject
*) 0 ;
24153 PyObject
*arg5
= (PyObject
*) 0 ;
24154 PyObject
*result
= 0 ;
24157 PyObject
* obj0
= 0 ;
24158 PyObject
* obj1
= 0 ;
24159 PyObject
* obj2
= 0 ;
24160 PyObject
* obj3
= 0 ;
24161 PyObject
* obj4
= 0 ;
24162 char * kwnames
[] = {
24163 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24168 if (!SWIG_IsOK(res1
)) {
24169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= result
;
24189 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24192 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24193 return SWIG_Py_Void();
24196 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
= 0;
24199 wxColour
*arg2
= 0 ;
24200 wxDCTextColourChanger
*result
= 0 ;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 char * kwnames
[] = {
24207 (char *) "dc",(char *) "col", NULL
24210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24211 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24212 if (!SWIG_IsOK(res1
)) {
24213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24236 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24237 PyObject
*resultobj
= 0;
24238 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24241 PyObject
*swig_obj
[1] ;
24243 if (!args
) SWIG_fail
;
24244 swig_obj
[0] = args
;
24245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24249 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_Py_Void();
24264 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24267 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24268 return SWIG_Py_Void();
24271 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24272 return SWIG_Python_InitShadowInstance(args
);
24275 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
= 0;
24279 wxDCPenChanger
*result
= 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 char * kwnames
[] = {
24287 (char *) "dc",(char *) "pen", NULL
24290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24291 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24292 if (!SWIG_IsOK(res1
)) {
24293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24300 if (!SWIG_IsOK(res2
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24306 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24320 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24321 PyObject
*resultobj
= 0;
24322 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24325 PyObject
*swig_obj
[1] ;
24327 if (!args
) SWIG_fail
;
24328 swig_obj
[0] = args
;
24329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24333 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= SWIG_Py_Void();
24348 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24351 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24352 return SWIG_Py_Void();
24355 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24356 return SWIG_Python_InitShadowInstance(args
);
24359 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
= 0;
24362 wxBrush
*arg2
= 0 ;
24363 wxDCBrushChanger
*result
= 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char * kwnames
[] = {
24371 (char *) "dc",(char *) "brush", NULL
24374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24375 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24376 if (!SWIG_IsOK(res1
)) {
24377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24384 if (!SWIG_IsOK(res2
)) {
24385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24390 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24404 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24405 PyObject
*resultobj
= 0;
24406 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24409 PyObject
*swig_obj
[1] ;
24411 if (!args
) SWIG_fail
;
24412 swig_obj
[0] = args
;
24413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24414 if (!SWIG_IsOK(res1
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24417 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_Py_Void();
24432 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24435 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24436 return SWIG_Py_Void();
24439 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24440 return SWIG_Python_InitShadowInstance(args
);
24443 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24444 PyObject
*resultobj
= 0;
24446 wxRegion
*arg2
= 0 ;
24447 wxDCClipper
*result
= 0 ;
24453 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24462 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24463 if (!SWIG_IsOK(res2
)) {
24464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24469 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24483 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24484 PyObject
*resultobj
= 0;
24487 wxDCClipper
*result
= 0 ;
24492 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24503 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24518 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24519 PyObject
*resultobj
= 0;
24525 wxDCClipper
*result
= 0 ;
24537 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24539 if (!SWIG_IsOK(res1
)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24546 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24547 if (!SWIG_IsOK(ecode2
)) {
24548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24550 arg2
= static_cast< int >(val2
);
24551 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24552 if (!SWIG_IsOK(ecode3
)) {
24553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24555 arg3
= static_cast< int >(val3
);
24556 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24557 if (!SWIG_IsOK(ecode4
)) {
24558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24560 arg4
= static_cast< int >(val4
);
24561 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24562 if (!SWIG_IsOK(ecode5
)) {
24563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24565 arg5
= static_cast< int >(val5
);
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24579 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24583 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24588 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24589 _v
= SWIG_CheckState(res
);
24591 if (!_v
) goto check_1
;
24592 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24597 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24600 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24604 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24609 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24610 PyObject
*resultobj
= 0;
24611 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24614 PyObject
*swig_obj
[1] ;
24616 if (!args
) SWIG_fail
;
24617 swig_obj
[0] = args
;
24618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24619 if (!SWIG_IsOK(res1
)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24622 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= SWIG_Py_Void();
24637 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24640 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24641 return SWIG_Py_Void();
24644 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24645 return SWIG_Python_InitShadowInstance(args
);
24648 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24649 PyObject
*resultobj
= 0;
24650 wxScreenDC
*result
= 0 ;
24652 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24654 if (!wxPyCheckForApp()) SWIG_fail
;
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= (wxScreenDC
*)new wxScreenDC();
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24667 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
= 0;
24669 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24670 wxWindow
*arg2
= (wxWindow
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 char * kwnames
[] = {
24679 (char *) "self",(char *) "window", NULL
24682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24684 if (!SWIG_IsOK(res1
)) {
24685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24687 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24689 if (!SWIG_IsOK(res2
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24708 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
= 0;
24710 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24711 wxRect
*arg2
= (wxRect
*) NULL
;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 char * kwnames
[] = {
24720 (char *) "self",(char *) "rect", NULL
24723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24725 if (!SWIG_IsOK(res1
)) {
24726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24728 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24731 if (!SWIG_IsOK(res2
)) {
24732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24734 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24751 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24752 PyObject
*resultobj
= 0;
24753 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24757 PyObject
*swig_obj
[1] ;
24759 if (!args
) SWIG_fail
;
24760 swig_obj
[0] = args
;
24761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24762 if (!SWIG_IsOK(res1
)) {
24763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24765 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= (bool)(arg1
)->EndDrawingOnTop();
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24781 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24784 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24785 return SWIG_Py_Void();
24788 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24789 return SWIG_Python_InitShadowInstance(args
);
24792 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
= 0;
24794 wxWindow
*arg1
= (wxWindow
*) 0 ;
24795 wxWindowDC
*result
= 0 ;
24798 PyObject
* obj0
= 0 ;
24799 char * kwnames
[] = {
24800 (char *) "win", NULL
24803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24805 if (!SWIG_IsOK(res1
)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24810 if (!wxPyCheckForApp()) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24823 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24826 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24827 return SWIG_Py_Void();
24830 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24831 return SWIG_Python_InitShadowInstance(args
);
24834 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
= 0;
24836 wxWindow
*arg1
= (wxWindow
*) 0 ;
24837 wxClientDC
*result
= 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char * kwnames
[] = {
24842 (char *) "win", NULL
24845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24847 if (!SWIG_IsOK(res1
)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24852 if (!wxPyCheckForApp()) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (wxClientDC
*)new wxClientDC(arg1
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24865 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24867 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24868 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24869 return SWIG_Py_Void();
24872 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 return SWIG_Python_InitShadowInstance(args
);
24876 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
= 0;
24878 wxWindow
*arg1
= (wxWindow
*) 0 ;
24879 wxPaintDC
*result
= 0 ;
24882 PyObject
* obj0
= 0 ;
24883 char * kwnames
[] = {
24884 (char *) "win", NULL
24887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24889 if (!SWIG_IsOK(res1
)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24894 if (!wxPyCheckForApp()) SWIG_fail
;
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24907 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24910 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24911 return SWIG_Py_Void();
24914 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24915 return SWIG_Python_InitShadowInstance(args
);
24918 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
= 0;
24920 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24921 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24922 wxMemoryDC
*result
= 0 ;
24925 PyObject
* obj0
= 0 ;
24926 char * kwnames
[] = {
24927 (char *) "bitmap", NULL
24930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24932 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24933 if (!SWIG_IsOK(res1
)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24939 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24942 if (!wxPyCheckForApp()) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24955 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
= 0;
24957 wxDC
*arg1
= (wxDC
*) 0 ;
24958 wxMemoryDC
*result
= 0 ;
24961 PyObject
* obj0
= 0 ;
24962 char * kwnames
[] = {
24963 (char *) "oldDC", NULL
24966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24968 if (!SWIG_IsOK(res1
)) {
24969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24973 if (!wxPyCheckForApp()) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24986 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
= 0;
24988 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24989 wxBitmap
*arg2
= 0 ;
24994 PyObject
* obj0
= 0 ;
24995 PyObject
* obj1
= 0 ;
24996 char * kwnames
[] = {
24997 (char *) "self",(char *) "bitmap", NULL
25000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25005 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25007 if (!SWIG_IsOK(res2
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25013 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 (arg1
)->SelectObject(*arg2
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= SWIG_Py_Void();
25027 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
= 0;
25029 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25030 wxBitmap
*arg2
= 0 ;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 char * kwnames
[] = {
25038 (char *) "self",(char *) "bmp", NULL
25041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25043 if (!SWIG_IsOK(res1
)) {
25044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25046 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25048 if (!SWIG_IsOK(res2
)) {
25049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25054 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_Py_Void();
25068 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25071 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25072 return SWIG_Py_Void();
25075 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25076 return SWIG_Python_InitShadowInstance(args
);
25079 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25080 PyObject
*resultobj
= 0;
25081 wxDC
*arg1
= (wxDC
*) 0 ;
25082 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25083 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25084 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25085 wxBufferedDC
*result
= 0 ;
25093 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25095 if (!SWIG_IsOK(res1
)) {
25096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25100 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25101 if (!SWIG_IsOK(res2
)) {
25102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25107 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25110 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25111 if (!SWIG_IsOK(ecode3
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25114 arg3
= static_cast< int >(val3
);
25117 if (!wxPyCheckForApp()) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25130 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25131 PyObject
*resultobj
= 0;
25132 wxDC
*arg1
= (wxDC
*) 0 ;
25134 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25135 wxBufferedDC
*result
= 0 ;
25142 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25144 if (!SWIG_IsOK(res1
)) {
25145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25150 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25153 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25154 if (!SWIG_IsOK(ecode3
)) {
25155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25157 arg3
= static_cast< int >(val3
);
25160 if (!wxPyCheckForApp()) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25173 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25177 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25179 if ((argc
>= 1) && (argc
<= 3)) {
25184 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25185 _v
= SWIG_CheckState(res
);
25187 if (!_v
) goto check_1
;
25189 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25193 if ((argc
>= 2) && (argc
<= 3)) {
25194 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25198 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25203 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25204 PyObject
*resultobj
= 0;
25205 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25208 PyObject
*swig_obj
[1] ;
25210 if (!args
) SWIG_fail
;
25211 swig_obj
[0] = args
;
25212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25213 if (!SWIG_IsOK(res1
)) {
25214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25216 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_Py_Void();
25231 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25232 PyObject
*resultobj
= 0;
25233 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25236 PyObject
*swig_obj
[1] ;
25238 if (!args
) SWIG_fail
;
25239 swig_obj
[0] = args
;
25240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25244 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_Py_Void();
25258 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
= 0;
25260 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 char * kwnames
[] = {
25269 (char *) "self",(char *) "style", NULL
25272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25274 if (!SWIG_IsOK(res1
)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25277 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25279 if (!SWIG_IsOK(ecode2
)) {
25280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25282 arg2
= static_cast< int >(val2
);
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 (arg1
)->SetStyle(arg2
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 resultobj
= SWIG_Py_Void();
25296 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25297 PyObject
*resultobj
= 0;
25298 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25302 PyObject
*swig_obj
[1] ;
25304 if (!args
) SWIG_fail
;
25305 swig_obj
[0] = args
;
25306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25307 if (!SWIG_IsOK(res1
)) {
25308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25310 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= SWIG_From_int(static_cast< int >(result
));
25324 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25327 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25328 return SWIG_Py_Void();
25331 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25332 return SWIG_Python_InitShadowInstance(args
);
25335 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
= 0;
25337 wxWindow
*arg1
= (wxWindow
*) 0 ;
25338 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25339 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25340 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25341 wxBufferedPaintDC
*result
= 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 PyObject
* obj2
= 0 ;
25351 char * kwnames
[] = {
25352 (char *) "window",(char *) "buffer",(char *) "style", NULL
25355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25357 if (!SWIG_IsOK(res1
)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25360 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25363 if (!SWIG_IsOK(res2
)) {
25364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25369 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25373 if (!SWIG_IsOK(ecode3
)) {
25374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25376 arg3
= static_cast< int >(val3
);
25379 if (!wxPyCheckForApp()) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25392 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25395 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25396 return SWIG_Py_Void();
25399 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25400 return SWIG_Python_InitShadowInstance(args
);
25403 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
= 0;
25405 wxWindow
*arg1
= (wxWindow
*) 0 ;
25406 wxAutoBufferedPaintDC
*result
= 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char * kwnames
[] = {
25411 (char *) "win", NULL
25414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25416 if (!SWIG_IsOK(res1
)) {
25417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25433 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25436 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25437 return SWIG_Py_Void();
25440 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25441 return SWIG_Python_InitShadowInstance(args
);
25444 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
= 0;
25446 wxWindow
*arg1
= (wxWindow
*) 0 ;
25450 PyObject
* obj0
= 0 ;
25451 char * kwnames
[] = {
25452 (char *) "window", NULL
25455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25457 if (!SWIG_IsOK(res1
)) {
25458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25476 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
= 0;
25480 wxMirrorDC
*result
= 0 ;
25485 PyObject
* obj0
= 0 ;
25486 PyObject
* obj1
= 0 ;
25487 char * kwnames
[] = {
25488 (char *) "dc",(char *) "mirror", NULL
25491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25492 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25493 if (!SWIG_IsOK(res1
)) {
25494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25500 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25501 if (!SWIG_IsOK(ecode2
)) {
25502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25504 arg2
= static_cast< bool >(val2
);
25506 if (!wxPyCheckForApp()) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25519 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25522 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25523 return SWIG_Py_Void();
25526 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25527 return SWIG_Python_InitShadowInstance(args
);
25530 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
= 0;
25532 wxPrintData
*arg1
= 0 ;
25533 wxPostScriptDC
*result
= 0 ;
25536 PyObject
* obj0
= 0 ;
25537 char * kwnames
[] = {
25538 (char *) "printData", NULL
25541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25542 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25543 if (!SWIG_IsOK(res1
)) {
25544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25549 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25551 if (!wxPyCheckForApp()) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25564 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25565 PyObject
*resultobj
= 0;
25566 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25567 wxPrintData
*result
= 0 ;
25570 PyObject
*swig_obj
[1] ;
25572 if (!args
) SWIG_fail
;
25573 swig_obj
[0] = args
;
25574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25575 if (!SWIG_IsOK(res1
)) {
25576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25578 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25583 result
= (wxPrintData
*) &_result_ref
;
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25595 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
= 0;
25597 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25598 wxPrintData
*arg2
= 0 ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 char * kwnames
[] = {
25606 (char *) "self",(char *) "data", NULL
25609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25611 if (!SWIG_IsOK(res1
)) {
25612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25614 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25616 if (!SWIG_IsOK(res2
)) {
25617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25622 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_Py_Void();
25636 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
= 0;
25641 PyObject
* obj0
= 0 ;
25642 char * kwnames
[] = {
25643 (char *) "ppi", NULL
25646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25648 if (!SWIG_IsOK(ecode1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25651 arg1
= static_cast< int >(val1
);
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 wxPostScriptDC::SetResolution(arg1
);
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= SWIG_Py_Void();
25665 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25666 PyObject
*resultobj
= 0;
25669 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= (int)wxPostScriptDC::GetResolution();
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= SWIG_From_int(static_cast< int >(result
));
25683 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25686 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25687 return SWIG_Py_Void();
25690 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25691 return SWIG_Python_InitShadowInstance(args
);
25694 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
= 0;
25696 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25697 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25698 wxMetaFile
*result
= 0 ;
25699 bool temp1
= false ;
25700 PyObject
* obj0
= 0 ;
25701 char * kwnames
[] = {
25702 (char *) "filename", NULL
25705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25708 arg1
= wxString_in_helper(obj0
);
25709 if (arg1
== NULL
) SWIG_fail
;
25714 if (!wxPyCheckForApp()) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25735 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25736 PyObject
*resultobj
= 0;
25737 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25740 PyObject
*swig_obj
[1] ;
25742 if (!args
) SWIG_fail
;
25743 swig_obj
[0] = args
;
25744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25745 if (!SWIG_IsOK(res1
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25748 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= SWIG_Py_Void();
25763 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25764 PyObject
*resultobj
= 0;
25765 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25769 PyObject
*swig_obj
[1] ;
25771 if (!args
) SWIG_fail
;
25772 swig_obj
[0] = args
;
25773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25777 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 result
= (bool)(arg1
)->IsOk();
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25793 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
= 0;
25795 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25796 int arg2
= (int) 0 ;
25797 int arg3
= (int) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 PyObject
* obj2
= 0 ;
25808 char * kwnames
[] = {
25809 (char *) "self",(char *) "width",(char *) "height", NULL
25812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25814 if (!SWIG_IsOK(res1
)) {
25815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25817 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25820 if (!SWIG_IsOK(ecode2
)) {
25821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25823 arg2
= static_cast< int >(val2
);
25826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25827 if (!SWIG_IsOK(ecode3
)) {
25828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25830 arg3
= static_cast< int >(val3
);
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25847 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25848 PyObject
*resultobj
= 0;
25849 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25853 PyObject
*swig_obj
[1] ;
25855 if (!args
) SWIG_fail
;
25856 swig_obj
[0] = args
;
25857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25858 if (!SWIG_IsOK(res1
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25861 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= (arg1
)->GetSize();
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25875 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25876 PyObject
*resultobj
= 0;
25877 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25881 PyObject
*swig_obj
[1] ;
25883 if (!args
) SWIG_fail
;
25884 swig_obj
[0] = args
;
25885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25886 if (!SWIG_IsOK(res1
)) {
25887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25889 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (int)(arg1
)->GetWidth();
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= SWIG_From_int(static_cast< int >(result
));
25903 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25904 PyObject
*resultobj
= 0;
25905 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25909 PyObject
*swig_obj
[1] ;
25911 if (!args
) SWIG_fail
;
25912 swig_obj
[0] = args
;
25913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25914 if (!SWIG_IsOK(res1
)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25917 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= (int)(arg1
)->GetHeight();
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25924 resultobj
= SWIG_From_int(static_cast< int >(result
));
25931 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25932 PyObject
*resultobj
= 0;
25933 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25934 wxString
*result
= 0 ;
25937 PyObject
*swig_obj
[1] ;
25939 if (!args
) SWIG_fail
;
25940 swig_obj
[0] = args
;
25941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25942 if (!SWIG_IsOK(res1
)) {
25943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25945 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25950 result
= (wxString
*) &_result_ref
;
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25959 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25968 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25971 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25972 return SWIG_Py_Void();
25975 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25976 return SWIG_Python_InitShadowInstance(args
);
25979 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25980 PyObject
*resultobj
= 0;
25981 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25982 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25983 int arg2
= (int) 0 ;
25984 int arg3
= (int) 0 ;
25985 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25986 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25987 wxMetaFileDC
*result
= 0 ;
25988 bool temp1
= false ;
25993 bool temp4
= false ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 PyObject
* obj2
= 0 ;
25997 PyObject
* obj3
= 0 ;
25998 char * kwnames
[] = {
25999 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
26002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26005 arg1
= wxString_in_helper(obj0
);
26006 if (arg1
== NULL
) SWIG_fail
;
26011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26012 if (!SWIG_IsOK(ecode2
)) {
26013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26015 arg2
= static_cast< int >(val2
);
26018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26019 if (!SWIG_IsOK(ecode3
)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26022 arg3
= static_cast< int >(val3
);
26026 arg4
= wxString_in_helper(obj3
);
26027 if (arg4
== NULL
) SWIG_fail
;
26032 if (!wxPyCheckForApp()) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26061 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26062 PyObject
*resultobj
= 0;
26063 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26064 wxMetaFile
*result
= 0 ;
26067 PyObject
*swig_obj
[1] ;
26069 if (!args
) SWIG_fail
;
26070 swig_obj
[0] = args
;
26071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26072 if (!SWIG_IsOK(res1
)) {
26073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26075 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= (wxMetaFile
*)(arg1
)->Close();
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26089 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26092 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26093 return SWIG_Py_Void();
26096 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26097 return SWIG_Python_InitShadowInstance(args
);
26100 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
= 0;
26102 wxPrintData
*arg1
= 0 ;
26103 wxPrinterDC
*result
= 0 ;
26106 PyObject
* obj0
= 0 ;
26107 char * kwnames
[] = {
26108 (char *) "printData", NULL
26111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26112 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26113 if (!SWIG_IsOK(res1
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26119 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26121 if (!wxPyCheckForApp()) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26134 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26137 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26138 return SWIG_Py_Void();
26141 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26142 return SWIG_Python_InitShadowInstance(args
);
26145 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
= 0;
26147 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26148 wxGraphicsObject
*result
= 0 ;
26151 PyObject
* obj0
= 0 ;
26152 char * kwnames
[] = {
26153 (char *) "renderer", NULL
26156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26162 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26165 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26175 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26176 PyObject
*resultobj
= 0;
26177 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26180 PyObject
*swig_obj
[1] ;
26182 if (!args
) SWIG_fail
;
26183 swig_obj
[0] = args
;
26184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26188 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_Py_Void();
26201 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26202 PyObject
*resultobj
= 0;
26203 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26207 PyObject
*swig_obj
[1] ;
26209 if (!args
) SWIG_fail
;
26210 swig_obj
[0] = args
;
26211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26212 if (!SWIG_IsOK(res1
)) {
26213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26215 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26217 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26218 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26229 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26230 PyObject
*resultobj
= 0;
26231 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26232 wxGraphicsRenderer
*result
= 0 ;
26235 PyObject
*swig_obj
[1] ;
26237 if (!args
) SWIG_fail
;
26238 swig_obj
[0] = args
;
26239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26243 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26245 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26255 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26258 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26259 return SWIG_Py_Void();
26262 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26263 return SWIG_Python_InitShadowInstance(args
);
26266 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26267 PyObject
*resultobj
= 0;
26268 wxGraphicsPen
*result
= 0 ;
26270 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26272 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26282 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26283 PyObject
*resultobj
= 0;
26284 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26287 PyObject
*swig_obj
[1] ;
26289 if (!args
) SWIG_fail
;
26290 swig_obj
[0] = args
;
26291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26292 if (!SWIG_IsOK(res1
)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26295 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_Py_Void();
26308 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26311 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26312 return SWIG_Py_Void();
26315 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26316 return SWIG_Python_InitShadowInstance(args
);
26319 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26320 PyObject
*resultobj
= 0;
26321 wxGraphicsBrush
*result
= 0 ;
26323 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26325 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26335 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26336 PyObject
*resultobj
= 0;
26337 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26340 PyObject
*swig_obj
[1] ;
26342 if (!args
) SWIG_fail
;
26343 swig_obj
[0] = args
;
26344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26345 if (!SWIG_IsOK(res1
)) {
26346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26348 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= SWIG_Py_Void();
26361 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26364 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26365 return SWIG_Py_Void();
26368 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26369 return SWIG_Python_InitShadowInstance(args
);
26372 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26373 PyObject
*resultobj
= 0;
26374 wxGraphicsFont
*result
= 0 ;
26376 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26378 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26388 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26389 PyObject
*resultobj
= 0;
26390 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26393 PyObject
*swig_obj
[1] ;
26395 if (!args
) SWIG_fail
;
26396 swig_obj
[0] = args
;
26397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26398 if (!SWIG_IsOK(res1
)) {
26399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26401 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_Py_Void();
26414 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26417 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26418 return SWIG_Py_Void();
26421 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26422 return SWIG_Python_InitShadowInstance(args
);
26425 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26426 PyObject
*resultobj
= 0;
26427 wxGraphicsMatrix
*result
= 0 ;
26429 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26431 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26441 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26442 PyObject
*resultobj
= 0;
26443 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26446 PyObject
*swig_obj
[1] ;
26448 if (!args
) SWIG_fail
;
26449 swig_obj
[0] = args
;
26450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26451 if (!SWIG_IsOK(res1
)) {
26452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26454 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= SWIG_Py_Void();
26467 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
= 0;
26469 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26470 wxGraphicsMatrix
*arg2
= 0 ;
26475 PyObject
* obj0
= 0 ;
26476 PyObject
* obj1
= 0 ;
26477 char * kwnames
[] = {
26478 (char *) "self",(char *) "t", NULL
26481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26483 if (!SWIG_IsOK(res1
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26486 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26488 if (!SWIG_IsOK(res2
)) {
26489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26494 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26496 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= SWIG_Py_Void();
26506 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
= 0;
26508 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26509 wxDouble arg2
= (wxDouble
) 1.0 ;
26510 wxDouble arg3
= (wxDouble
) 0.0 ;
26511 wxDouble arg4
= (wxDouble
) 0.0 ;
26512 wxDouble arg5
= (wxDouble
) 1.0 ;
26513 wxDouble arg6
= (wxDouble
) 0.0 ;
26514 wxDouble arg7
= (wxDouble
) 0.0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 PyObject
* obj2
= 0 ;
26532 PyObject
* obj3
= 0 ;
26533 PyObject
* obj4
= 0 ;
26534 PyObject
* obj5
= 0 ;
26535 PyObject
* obj6
= 0 ;
26536 char * kwnames
[] = {
26537 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26542 if (!SWIG_IsOK(res1
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26545 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26547 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26548 if (!SWIG_IsOK(ecode2
)) {
26549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26551 arg2
= static_cast< wxDouble
>(val2
);
26554 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26555 if (!SWIG_IsOK(ecode3
)) {
26556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26558 arg3
= static_cast< wxDouble
>(val3
);
26561 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26562 if (!SWIG_IsOK(ecode4
)) {
26563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26565 arg4
= static_cast< wxDouble
>(val4
);
26568 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26569 if (!SWIG_IsOK(ecode5
)) {
26570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26572 arg5
= static_cast< wxDouble
>(val5
);
26575 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26576 if (!SWIG_IsOK(ecode6
)) {
26577 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26579 arg6
= static_cast< wxDouble
>(val6
);
26582 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26583 if (!SWIG_IsOK(ecode7
)) {
26584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26586 arg7
= static_cast< wxDouble
>(val7
);
26589 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= SWIG_Py_Void();
26599 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26600 PyObject
*resultobj
= 0;
26601 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26602 wxDouble
*arg2
= (wxDouble
*) 0 ;
26603 wxDouble
*arg3
= (wxDouble
*) 0 ;
26604 wxDouble
*arg4
= (wxDouble
*) 0 ;
26605 wxDouble
*arg5
= (wxDouble
*) 0 ;
26606 wxDouble
*arg6
= (wxDouble
*) 0 ;
26607 wxDouble
*arg7
= (wxDouble
*) 0 ;
26611 int res2
= SWIG_TMPOBJ
;
26613 int res3
= SWIG_TMPOBJ
;
26615 int res4
= SWIG_TMPOBJ
;
26617 int res5
= SWIG_TMPOBJ
;
26619 int res6
= SWIG_TMPOBJ
;
26621 int res7
= SWIG_TMPOBJ
;
26622 PyObject
*swig_obj
[1] ;
26630 if (!args
) SWIG_fail
;
26631 swig_obj
[0] = args
;
26632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26633 if (!SWIG_IsOK(res1
)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26636 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26638 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_Py_Void();
26642 if (SWIG_IsTmpObj(res2
)) {
26643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26645 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26648 if (SWIG_IsTmpObj(res3
)) {
26649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26651 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26654 if (SWIG_IsTmpObj(res4
)) {
26655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26657 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26660 if (SWIG_IsTmpObj(res5
)) {
26661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26663 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26666 if (SWIG_IsTmpObj(res6
)) {
26667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26669 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26672 if (SWIG_IsTmpObj(res7
)) {
26673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26675 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26684 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26685 PyObject
*resultobj
= 0;
26686 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26689 PyObject
*swig_obj
[1] ;
26691 if (!args
) SWIG_fail
;
26692 swig_obj
[0] = args
;
26693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26694 if (!SWIG_IsOK(res1
)) {
26695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26697 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_Py_Void();
26709 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
= 0;
26711 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26712 wxGraphicsMatrix
*arg2
= 0 ;
26718 PyObject
* obj0
= 0 ;
26719 PyObject
* obj1
= 0 ;
26720 char * kwnames
[] = {
26721 (char *) "self",(char *) "t", NULL
26724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26726 if (!SWIG_IsOK(res1
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26729 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26731 if (!SWIG_IsOK(res2
)) {
26732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26737 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26739 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26751 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26752 PyObject
*resultobj
= 0;
26753 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26757 PyObject
*swig_obj
[1] ;
26759 if (!args
) SWIG_fail
;
26760 swig_obj
[0] = args
;
26761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26762 if (!SWIG_IsOK(res1
)) {
26763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26765 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26767 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26779 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
= 0;
26781 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 PyObject
* obj2
= 0 ;
26793 char * kwnames
[] = {
26794 (char *) "self",(char *) "dx",(char *) "dy", NULL
26797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26799 if (!SWIG_IsOK(res1
)) {
26800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26802 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26803 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26804 if (!SWIG_IsOK(ecode2
)) {
26805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26807 arg2
= static_cast< wxDouble
>(val2
);
26808 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26809 if (!SWIG_IsOK(ecode3
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26812 arg3
= static_cast< wxDouble
>(val3
);
26814 (arg1
)->Translate(arg2
,arg3
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= SWIG_Py_Void();
26824 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26825 PyObject
*resultobj
= 0;
26826 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26835 PyObject
* obj0
= 0 ;
26836 PyObject
* obj1
= 0 ;
26837 PyObject
* obj2
= 0 ;
26838 char * kwnames
[] = {
26839 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26844 if (!SWIG_IsOK(res1
)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26847 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26848 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26849 if (!SWIG_IsOK(ecode2
)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26852 arg2
= static_cast< wxDouble
>(val2
);
26853 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26854 if (!SWIG_IsOK(ecode3
)) {
26855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26857 arg3
= static_cast< wxDouble
>(val3
);
26859 (arg1
)->Scale(arg2
,arg3
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_Py_Void();
26869 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
= 0;
26871 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26877 PyObject
* obj0
= 0 ;
26878 PyObject
* obj1
= 0 ;
26879 char * kwnames
[] = {
26880 (char *) "self",(char *) "angle", NULL
26883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26888 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26889 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26890 if (!SWIG_IsOK(ecode2
)) {
26891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26893 arg2
= static_cast< wxDouble
>(val2
);
26895 (arg1
)->Rotate(arg2
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26898 resultobj
= SWIG_Py_Void();
26905 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26906 PyObject
*resultobj
= 0;
26907 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26908 wxDouble
*arg2
= (wxDouble
*) 0 ;
26909 wxDouble
*arg3
= (wxDouble
*) 0 ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 PyObject
* obj2
= 0 ;
26919 char * kwnames
[] = {
26920 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26925 if (!SWIG_IsOK(res1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26928 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26929 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26931 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26932 if (!SWIG_IsOK(ecode
)) {
26933 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26935 temp2
= static_cast< wxDouble
>(val
);
26937 res2
= SWIG_AddTmpMask(ecode
);
26939 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26941 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26942 if (!SWIG_IsOK(ecode
)) {
26943 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26945 temp3
= static_cast< wxDouble
>(val
);
26947 res3
= SWIG_AddTmpMask(ecode
);
26950 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26953 resultobj
= SWIG_Py_Void();
26954 if (SWIG_IsTmpObj(res2
)) {
26955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26957 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26960 if (SWIG_IsTmpObj(res3
)) {
26961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26963 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26972 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
= 0;
26974 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26975 wxDouble
*arg2
= (wxDouble
*) 0 ;
26976 wxDouble
*arg3
= (wxDouble
*) 0 ;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 PyObject
* obj2
= 0 ;
26986 char * kwnames
[] = {
26987 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26992 if (!SWIG_IsOK(res1
)) {
26993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26995 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26996 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26998 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26999 if (!SWIG_IsOK(ecode
)) {
27000 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
27002 temp2
= static_cast< wxDouble
>(val
);
27004 res2
= SWIG_AddTmpMask(ecode
);
27006 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27008 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27009 if (!SWIG_IsOK(ecode
)) {
27010 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27012 temp3
= static_cast< wxDouble
>(val
);
27014 res3
= SWIG_AddTmpMask(ecode
);
27017 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27020 resultobj
= SWIG_Py_Void();
27021 if (SWIG_IsTmpObj(res2
)) {
27022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27024 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27027 if (SWIG_IsTmpObj(res3
)) {
27028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27030 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27039 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27040 PyObject
*resultobj
= 0;
27041 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27045 PyObject
*swig_obj
[1] ;
27047 if (!args
) SWIG_fail
;
27048 swig_obj
[0] = args
;
27049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27053 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27055 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27065 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27068 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27069 return SWIG_Py_Void();
27072 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27073 return SWIG_Python_InitShadowInstance(args
);
27076 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27077 PyObject
*resultobj
= 0;
27078 wxGraphicsPath
*result
= 0 ;
27080 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
27082 if (!wxPyCheckForApp()) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 result
= (wxGraphicsPath
*)new wxGraphicsPath();
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
27095 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27096 PyObject
*resultobj
= 0;
27097 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27100 PyObject
*swig_obj
[1] ;
27102 if (!args
) SWIG_fail
;
27103 swig_obj
[0] = args
;
27104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27108 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_Py_Void();
27121 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27122 PyObject
*resultobj
= 0;
27123 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27133 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27138 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27139 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27140 if (!SWIG_IsOK(ecode2
)) {
27141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27143 arg2
= static_cast< wxDouble
>(val2
);
27144 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27145 if (!SWIG_IsOK(ecode3
)) {
27146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27148 arg3
= static_cast< wxDouble
>(val3
);
27150 (arg1
)->MoveToPoint(arg2
,arg3
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_Py_Void();
27160 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27161 PyObject
*resultobj
= 0;
27162 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27163 wxPoint2D
*arg2
= 0 ;
27168 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27170 if (!SWIG_IsOK(res1
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27173 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27176 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27179 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 resultobj
= SWIG_Py_Void();
27189 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27193 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27196 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27199 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27203 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27208 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27209 PyObject
*resultobj
= 0;
27210 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27220 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27225 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27226 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27227 if (!SWIG_IsOK(ecode2
)) {
27228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27230 arg2
= static_cast< wxDouble
>(val2
);
27231 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27232 if (!SWIG_IsOK(ecode3
)) {
27233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27235 arg3
= static_cast< wxDouble
>(val3
);
27237 (arg1
)->AddLineToPoint(arg2
,arg3
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= SWIG_Py_Void();
27247 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27248 PyObject
*resultobj
= 0;
27249 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27250 wxPoint2D
*arg2
= 0 ;
27255 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27257 if (!SWIG_IsOK(res1
)) {
27258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27260 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27263 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27266 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 resultobj
= SWIG_Py_Void();
27276 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27280 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27283 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27286 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27290 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27295 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27296 PyObject
*resultobj
= 0;
27297 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27319 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27321 if (!SWIG_IsOK(res1
)) {
27322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27324 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27325 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27326 if (!SWIG_IsOK(ecode2
)) {
27327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27329 arg2
= static_cast< wxDouble
>(val2
);
27330 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27331 if (!SWIG_IsOK(ecode3
)) {
27332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27334 arg3
= static_cast< wxDouble
>(val3
);
27335 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27336 if (!SWIG_IsOK(ecode4
)) {
27337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27339 arg4
= static_cast< wxDouble
>(val4
);
27340 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27341 if (!SWIG_IsOK(ecode5
)) {
27342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27344 arg5
= static_cast< wxDouble
>(val5
);
27345 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27346 if (!SWIG_IsOK(ecode6
)) {
27347 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27349 arg6
= static_cast< wxDouble
>(val6
);
27350 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27351 if (!SWIG_IsOK(ecode7
)) {
27352 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27354 arg7
= static_cast< wxDouble
>(val7
);
27356 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_Py_Void();
27366 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27367 PyObject
*resultobj
= 0;
27368 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27369 wxPoint2D
*arg2
= 0 ;
27370 wxPoint2D
*arg3
= 0 ;
27371 wxPoint2D
*arg4
= 0 ;
27378 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27380 if (!SWIG_IsOK(res1
)) {
27381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27383 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27386 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27390 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27394 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27397 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27400 resultobj
= SWIG_Py_Void();
27407 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27411 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27414 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27417 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27421 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27426 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
= 0;
27428 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27429 wxGraphicsPath
*arg2
= 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 char * kwnames
[] = {
27437 (char *) "self",(char *) "path", NULL
27440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27445 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27447 if (!SWIG_IsOK(res2
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27453 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27455 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27458 resultobj
= SWIG_Py_Void();
27465 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27466 PyObject
*resultobj
= 0;
27467 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27470 PyObject
*swig_obj
[1] ;
27472 if (!args
) SWIG_fail
;
27473 swig_obj
[0] = args
;
27474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27475 if (!SWIG_IsOK(res1
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27478 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27480 (arg1
)->CloseSubpath();
27481 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= SWIG_Py_Void();
27490 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27491 PyObject
*resultobj
= 0;
27492 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27496 PyObject
*swig_obj
[1] ;
27498 if (!args
) SWIG_fail
;
27499 swig_obj
[0] = args
;
27500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27504 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27506 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27516 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27517 PyObject
*resultobj
= 0;
27518 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27540 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27542 if (!SWIG_IsOK(res1
)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27545 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27546 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27547 if (!SWIG_IsOK(ecode2
)) {
27548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27550 arg2
= static_cast< wxDouble
>(val2
);
27551 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27552 if (!SWIG_IsOK(ecode3
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27555 arg3
= static_cast< wxDouble
>(val3
);
27556 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27557 if (!SWIG_IsOK(ecode4
)) {
27558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27560 arg4
= static_cast< wxDouble
>(val4
);
27561 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27562 if (!SWIG_IsOK(ecode5
)) {
27563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27565 arg5
= static_cast< wxDouble
>(val5
);
27566 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27567 if (!SWIG_IsOK(ecode6
)) {
27568 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27570 arg6
= static_cast< wxDouble
>(val6
);
27571 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27572 if (!SWIG_IsOK(ecode7
)) {
27573 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27575 arg7
= static_cast< bool >(val7
);
27577 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_Py_Void();
27587 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27588 PyObject
*resultobj
= 0;
27589 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27590 wxPoint2D
*arg2
= 0 ;
27607 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27609 if (!SWIG_IsOK(res1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27612 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27615 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27617 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27618 if (!SWIG_IsOK(ecode3
)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27621 arg3
= static_cast< wxDouble
>(val3
);
27622 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27623 if (!SWIG_IsOK(ecode4
)) {
27624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27626 arg4
= static_cast< wxDouble
>(val4
);
27627 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27628 if (!SWIG_IsOK(ecode5
)) {
27629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27631 arg5
= static_cast< wxDouble
>(val5
);
27632 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27633 if (!SWIG_IsOK(ecode6
)) {
27634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27636 arg6
= static_cast< bool >(val6
);
27638 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_Py_Void();
27648 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27652 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27655 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27658 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27662 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27667 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
= 0;
27669 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27684 PyObject
* obj0
= 0 ;
27685 PyObject
* obj1
= 0 ;
27686 PyObject
* obj2
= 0 ;
27687 PyObject
* obj3
= 0 ;
27688 PyObject
* obj4
= 0 ;
27689 char * kwnames
[] = {
27690 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27698 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27699 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27700 if (!SWIG_IsOK(ecode2
)) {
27701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27703 arg2
= static_cast< wxDouble
>(val2
);
27704 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27705 if (!SWIG_IsOK(ecode3
)) {
27706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27708 arg3
= static_cast< wxDouble
>(val3
);
27709 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27710 if (!SWIG_IsOK(ecode4
)) {
27711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27713 arg4
= static_cast< wxDouble
>(val4
);
27714 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27715 if (!SWIG_IsOK(ecode5
)) {
27716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27718 arg5
= static_cast< wxDouble
>(val5
);
27720 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_Py_Void();
27730 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
= 0;
27732 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27747 PyObject
* obj0
= 0 ;
27748 PyObject
* obj1
= 0 ;
27749 PyObject
* obj2
= 0 ;
27750 PyObject
* obj3
= 0 ;
27751 PyObject
* obj4
= 0 ;
27752 char * kwnames
[] = {
27753 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27761 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27762 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27763 if (!SWIG_IsOK(ecode2
)) {
27764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27766 arg2
= static_cast< wxDouble
>(val2
);
27767 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27768 if (!SWIG_IsOK(ecode3
)) {
27769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27771 arg3
= static_cast< wxDouble
>(val3
);
27772 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27773 if (!SWIG_IsOK(ecode4
)) {
27774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27776 arg4
= static_cast< wxDouble
>(val4
);
27777 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27778 if (!SWIG_IsOK(ecode5
)) {
27779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27781 arg5
= static_cast< wxDouble
>(val5
);
27783 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_Py_Void();
27793 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
= 0;
27795 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27807 PyObject
* obj0
= 0 ;
27808 PyObject
* obj1
= 0 ;
27809 PyObject
* obj2
= 0 ;
27810 PyObject
* obj3
= 0 ;
27811 char * kwnames
[] = {
27812 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27817 if (!SWIG_IsOK(res1
)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27820 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27821 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27822 if (!SWIG_IsOK(ecode2
)) {
27823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27825 arg2
= static_cast< wxDouble
>(val2
);
27826 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27827 if (!SWIG_IsOK(ecode3
)) {
27828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27830 arg3
= static_cast< wxDouble
>(val3
);
27831 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27832 if (!SWIG_IsOK(ecode4
)) {
27833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27835 arg4
= static_cast< wxDouble
>(val4
);
27837 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_Py_Void();
27847 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
= 0;
27849 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27867 PyObject
* obj0
= 0 ;
27868 PyObject
* obj1
= 0 ;
27869 PyObject
* obj2
= 0 ;
27870 PyObject
* obj3
= 0 ;
27871 PyObject
* obj4
= 0 ;
27872 PyObject
* obj5
= 0 ;
27873 char * kwnames
[] = {
27874 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27879 if (!SWIG_IsOK(res1
)) {
27880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27882 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27883 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27884 if (!SWIG_IsOK(ecode2
)) {
27885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27887 arg2
= static_cast< wxDouble
>(val2
);
27888 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27889 if (!SWIG_IsOK(ecode3
)) {
27890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27892 arg3
= static_cast< wxDouble
>(val3
);
27893 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27894 if (!SWIG_IsOK(ecode4
)) {
27895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27897 arg4
= static_cast< wxDouble
>(val4
);
27898 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27899 if (!SWIG_IsOK(ecode5
)) {
27900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27902 arg5
= static_cast< wxDouble
>(val5
);
27903 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27904 if (!SWIG_IsOK(ecode6
)) {
27905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27907 arg6
= static_cast< wxDouble
>(val6
);
27909 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= SWIG_Py_Void();
27919 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27920 PyObject
*resultobj
= 0;
27921 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27936 PyObject
* obj0
= 0 ;
27937 PyObject
* obj1
= 0 ;
27938 PyObject
* obj2
= 0 ;
27939 PyObject
* obj3
= 0 ;
27940 PyObject
* obj4
= 0 ;
27941 char * kwnames
[] = {
27942 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27947 if (!SWIG_IsOK(res1
)) {
27948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27950 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27951 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27952 if (!SWIG_IsOK(ecode2
)) {
27953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27955 arg2
= static_cast< wxDouble
>(val2
);
27956 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27957 if (!SWIG_IsOK(ecode3
)) {
27958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27960 arg3
= static_cast< wxDouble
>(val3
);
27961 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27962 if (!SWIG_IsOK(ecode4
)) {
27963 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27965 arg4
= static_cast< wxDouble
>(val4
);
27966 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27967 if (!SWIG_IsOK(ecode5
)) {
27968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27970 arg5
= static_cast< wxDouble
>(val5
);
27972 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27975 resultobj
= SWIG_Py_Void();
27982 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27983 PyObject
*resultobj
= 0;
27984 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28002 PyObject
* obj0
= 0 ;
28003 PyObject
* obj1
= 0 ;
28004 PyObject
* obj2
= 0 ;
28005 PyObject
* obj3
= 0 ;
28006 PyObject
* obj4
= 0 ;
28007 PyObject
* obj5
= 0 ;
28008 char * kwnames
[] = {
28009 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
28012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28017 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28018 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28019 if (!SWIG_IsOK(ecode2
)) {
28020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28022 arg2
= static_cast< wxDouble
>(val2
);
28023 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28024 if (!SWIG_IsOK(ecode3
)) {
28025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28027 arg3
= static_cast< wxDouble
>(val3
);
28028 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28029 if (!SWIG_IsOK(ecode4
)) {
28030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28032 arg4
= static_cast< wxDouble
>(val4
);
28033 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28034 if (!SWIG_IsOK(ecode5
)) {
28035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28037 arg5
= static_cast< wxDouble
>(val5
);
28038 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28039 if (!SWIG_IsOK(ecode6
)) {
28040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
28042 arg6
= static_cast< wxDouble
>(val6
);
28044 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 resultobj
= SWIG_Py_Void();
28054 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28055 PyObject
*resultobj
= 0;
28056 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28060 PyObject
*swig_obj
[1] ;
28062 if (!args
) SWIG_fail
;
28063 swig_obj
[0] = args
;
28064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28065 if (!SWIG_IsOK(res1
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28068 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28070 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28080 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
= 0;
28082 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28083 void *arg2
= (void *) 0 ;
28087 PyObject
* obj0
= 0 ;
28088 PyObject
* obj1
= 0 ;
28089 char * kwnames
[] = {
28090 (char *) "self",(char *) "p", NULL
28093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28095 if (!SWIG_IsOK(res1
)) {
28096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28098 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28099 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28100 if (!SWIG_IsOK(res2
)) {
28101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28104 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_Py_Void();
28114 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
= 0;
28116 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28117 wxGraphicsMatrix
*arg2
= 0 ;
28122 PyObject
* obj0
= 0 ;
28123 PyObject
* obj1
= 0 ;
28124 char * kwnames
[] = {
28125 (char *) "self",(char *) "matrix", NULL
28128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28130 if (!SWIG_IsOK(res1
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28133 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28135 if (!SWIG_IsOK(res2
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28141 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28143 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_Py_Void();
28153 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28154 PyObject
*resultobj
= 0;
28155 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28156 wxRect2DDouble result
;
28159 PyObject
*swig_obj
[1] ;
28161 if (!args
) SWIG_fail
;
28162 swig_obj
[0] = args
;
28163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28164 if (!SWIG_IsOK(res1
)) {
28165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28167 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28169 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28179 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28180 PyObject
*resultobj
= 0;
28181 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28184 int arg4
= (int) wxODDEVEN_RULE
;
28195 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28197 if (!SWIG_IsOK(res1
)) {
28198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28200 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28201 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28202 if (!SWIG_IsOK(ecode2
)) {
28203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28205 arg2
= static_cast< wxDouble
>(val2
);
28206 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28207 if (!SWIG_IsOK(ecode3
)) {
28208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28210 arg3
= static_cast< wxDouble
>(val3
);
28212 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28213 if (!SWIG_IsOK(ecode4
)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28216 arg4
= static_cast< int >(val4
);
28219 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28231 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28232 PyObject
*resultobj
= 0;
28233 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28234 wxPoint2DDouble
*arg2
= 0 ;
28235 int arg3
= (int) wxODDEVEN_RULE
;
28244 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28246 if (!SWIG_IsOK(res1
)) {
28247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28249 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28250 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28251 if (!SWIG_IsOK(res2
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28257 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28259 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28260 if (!SWIG_IsOK(ecode3
)) {
28261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28263 arg3
= static_cast< int >(val3
);
28266 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28278 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28282 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28284 if ((argc
>= 2) && (argc
<= 3)) {
28287 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28288 _v
= SWIG_CheckState(res
);
28290 if (!_v
) goto check_1
;
28294 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28295 _v
= SWIG_CheckState(res
);
28298 if (!_v
) goto check_1
;
28300 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28304 if ((argc
>= 3) && (argc
<= 4)) {
28305 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28309 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28314 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28317 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28318 return SWIG_Py_Void();
28321 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28322 return SWIG_Python_InitShadowInstance(args
);
28325 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28326 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28331 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28332 PyObject
*pyobj
= 0;
28334 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28339 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28340 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28345 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28346 PyObject
*pyobj
= 0;
28348 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28353 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28354 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28359 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28360 PyObject
*pyobj
= 0;
28362 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28367 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28368 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28373 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28374 PyObject
*pyobj
= 0;
28376 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28381 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28382 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28387 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28388 PyObject
*pyobj
= 0;
28390 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28395 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28396 PyObject
*resultobj
= 0;
28397 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28400 PyObject
*swig_obj
[1] ;
28402 if (!args
) SWIG_fail
;
28403 swig_obj
[0] = args
;
28404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28405 if (!SWIG_IsOK(res1
)) {
28406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28408 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28414 resultobj
= SWIG_Py_Void();
28421 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28422 PyObject
*resultobj
= 0;
28423 wxWindowDC
*arg1
= 0 ;
28424 wxGraphicsContext
*result
= 0 ;
28428 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28430 if (!SWIG_IsOK(res1
)) {
28431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28436 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28438 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28448 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28449 PyObject
*resultobj
= 0;
28450 wxWindow
*arg1
= (wxWindow
*) 0 ;
28451 wxGraphicsContext
*result
= 0 ;
28455 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28457 if (!SWIG_IsOK(res1
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28462 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28472 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28476 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28481 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28482 _v
= SWIG_CheckState(res
);
28484 if (!_v
) goto check_1
;
28485 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28490 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28494 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28499 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28500 PyObject
*resultobj
= 0;
28501 wxGraphicsContext
*result
= 0 ;
28503 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28505 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28515 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
= 0;
28517 void *arg1
= (void *) 0 ;
28518 wxGraphicsContext
*result
= 0 ;
28520 PyObject
* obj0
= 0 ;
28521 char * kwnames
[] = {
28522 (char *) "context", NULL
28525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28526 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28527 if (!SWIG_IsOK(res1
)) {
28528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28531 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28541 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
= 0;
28543 void *arg1
= (void *) 0 ;
28544 wxGraphicsContext
*result
= 0 ;
28546 PyObject
* obj0
= 0 ;
28547 char * kwnames
[] = {
28548 (char *) "window", NULL
28551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28552 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28553 if (!SWIG_IsOK(res1
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28557 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28567 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28568 PyObject
*resultobj
= 0;
28569 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28570 wxGraphicsPath result
;
28573 PyObject
*swig_obj
[1] ;
28575 if (!args
) SWIG_fail
;
28576 swig_obj
[0] = args
;
28577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28578 if (!SWIG_IsOK(res1
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28581 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28583 result
= (arg1
)->CreatePath();
28584 if (PyErr_Occurred()) SWIG_fail
;
28586 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28593 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
= 0;
28595 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28597 wxGraphicsPen result
;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 char * kwnames
[] = {
28605 (char *) "self",(char *) "pen", NULL
28608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28613 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28615 if (!SWIG_IsOK(res2
)) {
28616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28621 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28623 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28633 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
= 0;
28635 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28636 wxBrush
*arg2
= 0 ;
28637 wxGraphicsBrush result
;
28642 PyObject
* obj0
= 0 ;
28643 PyObject
* obj1
= 0 ;
28644 char * kwnames
[] = {
28645 (char *) "self",(char *) "brush", NULL
28648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28650 if (!SWIG_IsOK(res1
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28653 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28655 if (!SWIG_IsOK(res2
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28661 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28663 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28673 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
= 0;
28675 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28680 wxColour
*arg6
= 0 ;
28681 wxColour
*arg7
= 0 ;
28682 wxGraphicsBrush result
;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 PyObject
* obj2
= 0 ;
28698 PyObject
* obj3
= 0 ;
28699 PyObject
* obj4
= 0 ;
28700 PyObject
* obj5
= 0 ;
28701 PyObject
* obj6
= 0 ;
28702 char * kwnames
[] = {
28703 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28708 if (!SWIG_IsOK(res1
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28711 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28712 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28713 if (!SWIG_IsOK(ecode2
)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28716 arg2
= static_cast< wxDouble
>(val2
);
28717 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28718 if (!SWIG_IsOK(ecode3
)) {
28719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28721 arg3
= static_cast< wxDouble
>(val3
);
28722 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28723 if (!SWIG_IsOK(ecode4
)) {
28724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28726 arg4
= static_cast< wxDouble
>(val4
);
28727 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28728 if (!SWIG_IsOK(ecode5
)) {
28729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28731 arg5
= static_cast< wxDouble
>(val5
);
28734 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28738 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28741 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28744 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28751 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28752 PyObject
*resultobj
= 0;
28753 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28759 wxColour
*arg7
= 0 ;
28760 wxColour
*arg8
= 0 ;
28761 wxGraphicsBrush result
;
28776 PyObject
* obj0
= 0 ;
28777 PyObject
* obj1
= 0 ;
28778 PyObject
* obj2
= 0 ;
28779 PyObject
* obj3
= 0 ;
28780 PyObject
* obj4
= 0 ;
28781 PyObject
* obj5
= 0 ;
28782 PyObject
* obj6
= 0 ;
28783 PyObject
* obj7
= 0 ;
28784 char * kwnames
[] = {
28785 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28790 if (!SWIG_IsOK(res1
)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28793 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28794 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28795 if (!SWIG_IsOK(ecode2
)) {
28796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28798 arg2
= static_cast< wxDouble
>(val2
);
28799 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28800 if (!SWIG_IsOK(ecode3
)) {
28801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28803 arg3
= static_cast< wxDouble
>(val3
);
28804 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28805 if (!SWIG_IsOK(ecode4
)) {
28806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28808 arg4
= static_cast< wxDouble
>(val4
);
28809 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28810 if (!SWIG_IsOK(ecode5
)) {
28811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28813 arg5
= static_cast< wxDouble
>(val5
);
28814 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28815 if (!SWIG_IsOK(ecode6
)) {
28816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28818 arg6
= static_cast< wxDouble
>(val6
);
28821 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28825 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28828 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28838 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
= 0;
28840 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28842 wxColour
const &arg3_defvalue
= *wxBLACK
;
28843 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28844 wxGraphicsFont result
;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 PyObject
* obj2
= 0 ;
28853 char * kwnames
[] = {
28854 (char *) "self",(char *) "font",(char *) "col", NULL
28857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28859 if (!SWIG_IsOK(res1
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28862 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28864 if (!SWIG_IsOK(res2
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28870 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28874 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28878 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28888 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
= 0;
28890 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28891 wxDouble arg2
= (wxDouble
) 1.0 ;
28892 wxDouble arg3
= (wxDouble
) 0.0 ;
28893 wxDouble arg4
= (wxDouble
) 0.0 ;
28894 wxDouble arg5
= (wxDouble
) 1.0 ;
28895 wxDouble arg6
= (wxDouble
) 0.0 ;
28896 wxDouble arg7
= (wxDouble
) 0.0 ;
28897 wxGraphicsMatrix result
;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 PyObject
* obj2
= 0 ;
28915 PyObject
* obj3
= 0 ;
28916 PyObject
* obj4
= 0 ;
28917 PyObject
* obj5
= 0 ;
28918 PyObject
* obj6
= 0 ;
28919 char * kwnames
[] = {
28920 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28928 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28930 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28931 if (!SWIG_IsOK(ecode2
)) {
28932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28934 arg2
= static_cast< wxDouble
>(val2
);
28937 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28938 if (!SWIG_IsOK(ecode3
)) {
28939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28941 arg3
= static_cast< wxDouble
>(val3
);
28944 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28945 if (!SWIG_IsOK(ecode4
)) {
28946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28948 arg4
= static_cast< wxDouble
>(val4
);
28951 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28952 if (!SWIG_IsOK(ecode5
)) {
28953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28955 arg5
= static_cast< wxDouble
>(val5
);
28958 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28959 if (!SWIG_IsOK(ecode6
)) {
28960 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28962 arg6
= static_cast< wxDouble
>(val6
);
28965 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28966 if (!SWIG_IsOK(ecode7
)) {
28967 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28969 arg7
= static_cast< wxDouble
>(val7
);
28972 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28982 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28983 PyObject
*resultobj
= 0;
28984 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28987 PyObject
*swig_obj
[1] ;
28989 if (!args
) SWIG_fail
;
28990 swig_obj
[0] = args
;
28991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28992 if (!SWIG_IsOK(res1
)) {
28993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28995 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28997 (arg1
)->PushState();
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_Py_Void();
29007 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29008 PyObject
*resultobj
= 0;
29009 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29012 PyObject
*swig_obj
[1] ;
29014 if (!args
) SWIG_fail
;
29015 swig_obj
[0] = args
;
29016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29017 if (!SWIG_IsOK(res1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29020 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29022 (arg1
)->PopState();
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= SWIG_Py_Void();
29032 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
= 0;
29034 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29035 wxRegion
*arg2
= 0 ;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 char * kwnames
[] = {
29043 (char *) "self",(char *) "region", NULL
29046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29048 if (!SWIG_IsOK(res1
)) {
29049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29051 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
29053 if (!SWIG_IsOK(res2
)) {
29054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29059 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
29061 (arg1
)->Clip((wxRegion
const &)*arg2
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 resultobj
= SWIG_Py_Void();
29071 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
= 0;
29073 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 PyObject
* obj3
= 0 ;
29092 PyObject
* obj4
= 0 ;
29093 char * kwnames
[] = {
29094 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29099 if (!SWIG_IsOK(res1
)) {
29100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29102 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29103 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29104 if (!SWIG_IsOK(ecode2
)) {
29105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29107 arg2
= static_cast< wxDouble
>(val2
);
29108 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29109 if (!SWIG_IsOK(ecode3
)) {
29110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29112 arg3
= static_cast< wxDouble
>(val3
);
29113 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29114 if (!SWIG_IsOK(ecode4
)) {
29115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29117 arg4
= static_cast< wxDouble
>(val4
);
29118 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29119 if (!SWIG_IsOK(ecode5
)) {
29120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29122 arg5
= static_cast< wxDouble
>(val5
);
29124 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_Py_Void();
29134 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29135 PyObject
*resultobj
= 0;
29136 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29139 PyObject
*swig_obj
[1] ;
29141 if (!args
) SWIG_fail
;
29142 swig_obj
[0] = args
;
29143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29144 if (!SWIG_IsOK(res1
)) {
29145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29147 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29149 (arg1
)->ResetClip();
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= SWIG_Py_Void();
29159 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29160 PyObject
*resultobj
= 0;
29161 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29165 PyObject
*swig_obj
[1] ;
29167 if (!args
) SWIG_fail
;
29168 swig_obj
[0] = args
;
29169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29170 if (!SWIG_IsOK(res1
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29173 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29175 result
= (void *)(arg1
)->GetNativeContext();
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29185 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29186 PyObject
*resultobj
= 0;
29187 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29191 PyObject
*swig_obj
[1] ;
29193 if (!args
) SWIG_fail
;
29194 swig_obj
[0] = args
;
29195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29199 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29201 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= SWIG_From_int(static_cast< int >(result
));
29211 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
= 0;
29213 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 char * kwnames
[] = {
29223 (char *) "self",(char *) "function", NULL
29226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29228 if (!SWIG_IsOK(res1
)) {
29229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29231 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29233 if (!SWIG_IsOK(ecode2
)) {
29234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
29236 arg2
= static_cast< int >(val2
);
29238 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29250 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29251 PyObject
*resultobj
= 0;
29252 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 PyObject
* obj2
= 0 ;
29264 char * kwnames
[] = {
29265 (char *) "self",(char *) "dx",(char *) "dy", NULL
29268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29270 if (!SWIG_IsOK(res1
)) {
29271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29273 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29274 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29275 if (!SWIG_IsOK(ecode2
)) {
29276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29278 arg2
= static_cast< wxDouble
>(val2
);
29279 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29280 if (!SWIG_IsOK(ecode3
)) {
29281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29283 arg3
= static_cast< wxDouble
>(val3
);
29285 (arg1
)->Translate(arg2
,arg3
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_Py_Void();
29295 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
= 0;
29297 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 PyObject
* obj2
= 0 ;
29309 char * kwnames
[] = {
29310 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29315 if (!SWIG_IsOK(res1
)) {
29316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29318 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29319 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29320 if (!SWIG_IsOK(ecode2
)) {
29321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29323 arg2
= static_cast< wxDouble
>(val2
);
29324 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29325 if (!SWIG_IsOK(ecode3
)) {
29326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29328 arg3
= static_cast< wxDouble
>(val3
);
29330 (arg1
)->Scale(arg2
,arg3
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= SWIG_Py_Void();
29340 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
= 0;
29342 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 char * kwnames
[] = {
29351 (char *) "self",(char *) "angle", NULL
29354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29359 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29360 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29361 if (!SWIG_IsOK(ecode2
)) {
29362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29364 arg2
= static_cast< wxDouble
>(val2
);
29366 (arg1
)->Rotate(arg2
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 resultobj
= SWIG_Py_Void();
29376 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
= 0;
29378 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29379 wxGraphicsMatrix
*arg2
= 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 char * kwnames
[] = {
29387 (char *) "self",(char *) "matrix", NULL
29390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29392 if (!SWIG_IsOK(res1
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29395 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29397 if (!SWIG_IsOK(res2
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29403 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29405 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29408 resultobj
= SWIG_Py_Void();
29415 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29416 PyObject
*resultobj
= 0;
29417 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29418 wxGraphicsMatrix
*arg2
= 0 ;
29423 PyObject
* obj0
= 0 ;
29424 PyObject
* obj1
= 0 ;
29425 char * kwnames
[] = {
29426 (char *) "self",(char *) "matrix", NULL
29429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29431 if (!SWIG_IsOK(res1
)) {
29432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29434 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29436 if (!SWIG_IsOK(res2
)) {
29437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29442 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29444 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= SWIG_Py_Void();
29454 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29455 PyObject
*resultobj
= 0;
29456 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29457 wxGraphicsMatrix result
;
29460 PyObject
*swig_obj
[1] ;
29462 if (!args
) SWIG_fail
;
29463 swig_obj
[0] = args
;
29464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29465 if (!SWIG_IsOK(res1
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29468 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29470 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29480 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29481 PyObject
*resultobj
= 0;
29482 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29483 wxGraphicsPen
*arg2
= 0 ;
29489 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29491 if (!SWIG_IsOK(res1
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29494 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29495 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29496 if (!SWIG_IsOK(res2
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29502 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29504 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_Py_Void();
29514 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29515 PyObject
*resultobj
= 0;
29516 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29523 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29528 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29529 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29530 if (!SWIG_IsOK(res2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29536 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29538 (arg1
)->SetPen((wxPen
const &)*arg2
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_Py_Void();
29548 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29552 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29557 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29558 _v
= SWIG_CheckState(res
);
29560 if (!_v
) goto check_1
;
29561 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29566 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29570 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29575 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29576 PyObject
*resultobj
= 0;
29577 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29578 wxGraphicsBrush
*arg2
= 0 ;
29584 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29586 if (!SWIG_IsOK(res1
)) {
29587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29589 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29590 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29591 if (!SWIG_IsOK(res2
)) {
29592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29597 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29599 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= SWIG_Py_Void();
29609 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29610 PyObject
*resultobj
= 0;
29611 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29612 wxBrush
*arg2
= 0 ;
29618 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29620 if (!SWIG_IsOK(res1
)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29623 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29624 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29625 if (!SWIG_IsOK(res2
)) {
29626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29631 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29633 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_Py_Void();
29643 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29647 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29652 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29653 _v
= SWIG_CheckState(res
);
29655 if (!_v
) goto check_1
;
29656 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29661 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29665 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29670 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29671 PyObject
*resultobj
= 0;
29672 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29673 wxGraphicsFont
*arg2
= 0 ;
29679 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29681 if (!SWIG_IsOK(res1
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29684 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29685 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29686 if (!SWIG_IsOK(res2
)) {
29687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29692 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29694 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= SWIG_Py_Void();
29704 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29705 PyObject
*resultobj
= 0;
29706 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29708 wxColour
const &arg3_defvalue
= *wxBLACK
;
29709 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29716 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29718 if (!SWIG_IsOK(res1
)) {
29719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29721 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29722 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29723 if (!SWIG_IsOK(res2
)) {
29724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29729 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29733 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29737 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= SWIG_Py_Void();
29747 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29751 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29756 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29757 _v
= SWIG_CheckState(res
);
29759 if (!_v
) goto check_1
;
29760 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29764 if ((argc
>= 2) && (argc
<= 3)) {
29765 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29769 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29774 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29775 PyObject
*resultobj
= 0;
29776 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29777 wxGraphicsPath
*arg2
= 0 ;
29782 PyObject
* obj0
= 0 ;
29783 PyObject
* obj1
= 0 ;
29784 char * kwnames
[] = {
29785 (char *) "self",(char *) "path", NULL
29788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29790 if (!SWIG_IsOK(res1
)) {
29791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29793 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29795 if (!SWIG_IsOK(res2
)) {
29796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29801 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29803 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= SWIG_Py_Void();
29813 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
= 0;
29815 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29816 wxGraphicsPath
*arg2
= 0 ;
29817 int arg3
= (int) wxODDEVEN_RULE
;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 PyObject
* obj2
= 0 ;
29827 char * kwnames
[] = {
29828 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29833 if (!SWIG_IsOK(res1
)) {
29834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29836 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29838 if (!SWIG_IsOK(res2
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29844 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29847 if (!SWIG_IsOK(ecode3
)) {
29848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29850 arg3
= static_cast< int >(val3
);
29853 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29856 resultobj
= SWIG_Py_Void();
29863 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29864 PyObject
*resultobj
= 0;
29865 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29866 wxGraphicsPath
*arg2
= 0 ;
29867 int arg3
= (int) wxODDEVEN_RULE
;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 PyObject
* obj2
= 0 ;
29877 char * kwnames
[] = {
29878 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29883 if (!SWIG_IsOK(res1
)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29886 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29888 if (!SWIG_IsOK(res2
)) {
29889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29894 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29897 if (!SWIG_IsOK(ecode3
)) {
29898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29900 arg3
= static_cast< int >(val3
);
29903 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29906 resultobj
= SWIG_Py_Void();
29913 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29914 PyObject
*resultobj
= 0;
29915 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29916 wxString
*arg2
= 0 ;
29919 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29920 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29923 bool temp2
= false ;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 PyObject
* obj2
= 0 ;
29933 PyObject
* obj3
= 0 ;
29934 PyObject
* obj4
= 0 ;
29935 char * kwnames
[] = {
29936 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29941 if (!SWIG_IsOK(res1
)) {
29942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29944 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29946 arg2
= wxString_in_helper(obj1
);
29947 if (arg2
== NULL
) SWIG_fail
;
29950 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29951 if (!SWIG_IsOK(ecode3
)) {
29952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29954 arg3
= static_cast< wxDouble
>(val3
);
29955 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29956 if (!SWIG_IsOK(ecode4
)) {
29957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29959 arg4
= static_cast< wxDouble
>(val4
);
29961 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29962 if (!SWIG_IsOK(res5
)) {
29963 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29968 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29971 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= SWIG_Py_Void();
29989 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
= 0;
29991 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29992 wxString
*arg2
= 0 ;
29996 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29997 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
30000 bool temp2
= false ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 PyObject
* obj2
= 0 ;
30012 PyObject
* obj3
= 0 ;
30013 PyObject
* obj4
= 0 ;
30014 PyObject
* obj5
= 0 ;
30015 char * kwnames
[] = {
30016 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
30019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30021 if (!SWIG_IsOK(res1
)) {
30022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30024 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30026 arg2
= wxString_in_helper(obj1
);
30027 if (arg2
== NULL
) SWIG_fail
;
30030 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30031 if (!SWIG_IsOK(ecode3
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
30034 arg3
= static_cast< wxDouble
>(val3
);
30035 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30036 if (!SWIG_IsOK(ecode4
)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
30039 arg4
= static_cast< wxDouble
>(val4
);
30040 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30041 if (!SWIG_IsOK(ecode5
)) {
30042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
30044 arg5
= static_cast< wxDouble
>(val5
);
30046 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30047 if (!SWIG_IsOK(res6
)) {
30048 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30053 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
30056 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30059 resultobj
= SWIG_Py_Void();
30074 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
= 0;
30076 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30077 wxString
*arg2
= 0 ;
30078 wxDouble
*arg3
= (wxDouble
*) 0 ;
30079 wxDouble
*arg4
= (wxDouble
*) 0 ;
30080 wxDouble
*arg5
= (wxDouble
*) 0 ;
30081 wxDouble
*arg6
= (wxDouble
*) 0 ;
30084 bool temp2
= false ;
30086 int res3
= SWIG_TMPOBJ
;
30088 int res4
= SWIG_TMPOBJ
;
30090 int res5
= SWIG_TMPOBJ
;
30092 int res6
= SWIG_TMPOBJ
;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 char * kwnames
[] = {
30096 (char *) "self",(char *) "text", NULL
30103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30105 if (!SWIG_IsOK(res1
)) {
30106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30108 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30110 arg2
= wxString_in_helper(obj1
);
30111 if (arg2
== NULL
) SWIG_fail
;
30115 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_Py_Void();
30119 if (SWIG_IsTmpObj(res3
)) {
30120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
30122 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
30125 if (SWIG_IsTmpObj(res4
)) {
30126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
30128 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
30131 if (SWIG_IsTmpObj(res5
)) {
30132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
30134 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
30137 if (SWIG_IsTmpObj(res6
)) {
30138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
30140 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30157 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30158 PyObject
*resultobj
= 0;
30159 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30160 wxString
*arg2
= 0 ;
30161 PyObject
*result
= 0 ;
30164 bool temp2
= false ;
30165 PyObject
* obj0
= 0 ;
30166 PyObject
* obj1
= 0 ;
30167 char * kwnames
[] = {
30168 (char *) "self",(char *) "text", NULL
30171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30173 if (!SWIG_IsOK(res1
)) {
30174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30176 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30178 arg2
= wxString_in_helper(obj1
);
30179 if (arg2
== NULL
) SWIG_fail
;
30183 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= result
;
30201 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
= 0;
30203 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30204 wxString
*arg2
= 0 ;
30205 wxArrayDouble result
;
30208 bool temp2
= false ;
30209 PyObject
* obj0
= 0 ;
30210 PyObject
* obj1
= 0 ;
30211 char * kwnames
[] = {
30212 (char *) "self",(char *) "text", NULL
30215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30217 if (!SWIG_IsOK(res1
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30220 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30222 arg2
= wxString_in_helper(obj1
);
30223 if (arg2
== NULL
) SWIG_fail
;
30227 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= wxArrayDouble2PyList_helper(result
);
30247 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
= 0;
30249 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30250 wxBitmap
*arg2
= 0 ;
30267 PyObject
* obj0
= 0 ;
30268 PyObject
* obj1
= 0 ;
30269 PyObject
* obj2
= 0 ;
30270 PyObject
* obj3
= 0 ;
30271 PyObject
* obj4
= 0 ;
30272 PyObject
* obj5
= 0 ;
30273 char * kwnames
[] = {
30274 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30279 if (!SWIG_IsOK(res1
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30282 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30284 if (!SWIG_IsOK(res2
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30291 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30292 if (!SWIG_IsOK(ecode3
)) {
30293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30295 arg3
= static_cast< wxDouble
>(val3
);
30296 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30297 if (!SWIG_IsOK(ecode4
)) {
30298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30300 arg4
= static_cast< wxDouble
>(val4
);
30301 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30302 if (!SWIG_IsOK(ecode5
)) {
30303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30305 arg5
= static_cast< wxDouble
>(val5
);
30306 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30307 if (!SWIG_IsOK(ecode6
)) {
30308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30310 arg6
= static_cast< wxDouble
>(val6
);
30312 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30315 resultobj
= SWIG_Py_Void();
30322 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
= 0;
30324 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 PyObject
* obj3
= 0 ;
30346 PyObject
* obj4
= 0 ;
30347 PyObject
* obj5
= 0 ;
30348 char * kwnames
[] = {
30349 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30357 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30359 if (!SWIG_IsOK(res2
)) {
30360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30365 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30366 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30367 if (!SWIG_IsOK(ecode3
)) {
30368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30370 arg3
= static_cast< wxDouble
>(val3
);
30371 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30372 if (!SWIG_IsOK(ecode4
)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30375 arg4
= static_cast< wxDouble
>(val4
);
30376 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30377 if (!SWIG_IsOK(ecode5
)) {
30378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30380 arg5
= static_cast< wxDouble
>(val5
);
30381 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30382 if (!SWIG_IsOK(ecode6
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30385 arg6
= static_cast< wxDouble
>(val6
);
30387 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 resultobj
= SWIG_Py_Void();
30397 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
= 0;
30399 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30414 PyObject
* obj0
= 0 ;
30415 PyObject
* obj1
= 0 ;
30416 PyObject
* obj2
= 0 ;
30417 PyObject
* obj3
= 0 ;
30418 PyObject
* obj4
= 0 ;
30419 char * kwnames
[] = {
30420 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30425 if (!SWIG_IsOK(res1
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30428 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30429 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30430 if (!SWIG_IsOK(ecode2
)) {
30431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30433 arg2
= static_cast< wxDouble
>(val2
);
30434 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30435 if (!SWIG_IsOK(ecode3
)) {
30436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30438 arg3
= static_cast< wxDouble
>(val3
);
30439 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30440 if (!SWIG_IsOK(ecode4
)) {
30441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30443 arg4
= static_cast< wxDouble
>(val4
);
30444 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30445 if (!SWIG_IsOK(ecode5
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30448 arg5
= static_cast< wxDouble
>(val5
);
30450 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 resultobj
= SWIG_Py_Void();
30460 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
= 0;
30462 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30464 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30467 PyObject
* obj0
= 0 ;
30468 PyObject
* obj1
= 0 ;
30469 char * kwnames
[] = {
30470 (char *) "self",(char *) "points", NULL
30473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30478 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30480 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30481 if (arg3
== NULL
) SWIG_fail
;
30484 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= SWIG_Py_Void();
30489 if (arg3
) delete [] arg3
;
30494 if (arg3
) delete [] arg3
;
30500 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
= 0;
30502 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30503 PyObject
*arg2
= (PyObject
*) 0 ;
30504 PyObject
*arg3
= (PyObject
*) 0 ;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 PyObject
* obj2
= 0 ;
30510 char * kwnames
[] = {
30511 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30516 if (!SWIG_IsOK(res1
)) {
30517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30519 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30523 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= SWIG_Py_Void();
30533 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
= 0;
30535 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30537 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30538 int arg4
= (int) wxODDEVEN_RULE
;
30543 PyObject
* obj0
= 0 ;
30544 PyObject
* obj1
= 0 ;
30545 PyObject
* obj2
= 0 ;
30546 char * kwnames
[] = {
30547 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30552 if (!SWIG_IsOK(res1
)) {
30553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30555 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30557 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30558 if (arg3
== NULL
) SWIG_fail
;
30561 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30562 if (!SWIG_IsOK(ecode4
)) {
30563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30565 arg4
= static_cast< int >(val4
);
30568 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 resultobj
= SWIG_Py_Void();
30573 if (arg3
) delete [] arg3
;
30578 if (arg3
) delete [] arg3
;
30584 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30585 PyObject
*resultobj
= 0;
30586 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 PyObject
* obj2
= 0 ;
30604 PyObject
* obj3
= 0 ;
30605 PyObject
* obj4
= 0 ;
30606 char * kwnames
[] = {
30607 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30612 if (!SWIG_IsOK(res1
)) {
30613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30615 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30616 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30617 if (!SWIG_IsOK(ecode2
)) {
30618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30620 arg2
= static_cast< wxDouble
>(val2
);
30621 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30622 if (!SWIG_IsOK(ecode3
)) {
30623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30625 arg3
= static_cast< wxDouble
>(val3
);
30626 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30627 if (!SWIG_IsOK(ecode4
)) {
30628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30630 arg4
= static_cast< wxDouble
>(val4
);
30631 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30632 if (!SWIG_IsOK(ecode5
)) {
30633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30635 arg5
= static_cast< wxDouble
>(val5
);
30637 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= SWIG_Py_Void();
30647 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
= 0;
30649 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30664 PyObject
* obj0
= 0 ;
30665 PyObject
* obj1
= 0 ;
30666 PyObject
* obj2
= 0 ;
30667 PyObject
* obj3
= 0 ;
30668 PyObject
* obj4
= 0 ;
30669 char * kwnames
[] = {
30670 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30675 if (!SWIG_IsOK(res1
)) {
30676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30678 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30679 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30680 if (!SWIG_IsOK(ecode2
)) {
30681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30683 arg2
= static_cast< wxDouble
>(val2
);
30684 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30685 if (!SWIG_IsOK(ecode3
)) {
30686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30688 arg3
= static_cast< wxDouble
>(val3
);
30689 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30690 if (!SWIG_IsOK(ecode4
)) {
30691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30693 arg4
= static_cast< wxDouble
>(val4
);
30694 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30695 if (!SWIG_IsOK(ecode5
)) {
30696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30698 arg5
= static_cast< wxDouble
>(val5
);
30700 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_Py_Void();
30710 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
= 0;
30712 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 PyObject
* obj2
= 0 ;
30733 PyObject
* obj3
= 0 ;
30734 PyObject
* obj4
= 0 ;
30735 PyObject
* obj5
= 0 ;
30736 char * kwnames
[] = {
30737 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30745 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30746 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30747 if (!SWIG_IsOK(ecode2
)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30750 arg2
= static_cast< wxDouble
>(val2
);
30751 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30752 if (!SWIG_IsOK(ecode3
)) {
30753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30755 arg3
= static_cast< wxDouble
>(val3
);
30756 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30757 if (!SWIG_IsOK(ecode4
)) {
30758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30760 arg4
= static_cast< wxDouble
>(val4
);
30761 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30762 if (!SWIG_IsOK(ecode5
)) {
30763 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30765 arg5
= static_cast< wxDouble
>(val5
);
30766 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30767 if (!SWIG_IsOK(ecode6
)) {
30768 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30770 arg6
= static_cast< wxDouble
>(val6
);
30772 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_Py_Void();
30782 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30783 PyObject
*resultobj
= 0;
30784 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30788 PyObject
*swig_obj
[1] ;
30790 if (!args
) SWIG_fail
;
30791 swig_obj
[0] = args
;
30792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30793 if (!SWIG_IsOK(res1
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30796 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30798 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30799 if (PyErr_Occurred()) SWIG_fail
;
30802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30810 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30813 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30814 return SWIG_Py_Void();
30817 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30818 PyObject
*resultobj
= 0;
30819 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30822 PyObject
*swig_obj
[1] ;
30824 if (!args
) SWIG_fail
;
30825 swig_obj
[0] = args
;
30826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30827 if (!SWIG_IsOK(res1
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30830 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= SWIG_Py_Void();
30843 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30844 PyObject
*resultobj
= 0;
30845 wxGraphicsRenderer
*result
= 0 ;
30847 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30849 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30850 if (PyErr_Occurred()) SWIG_fail
;
30852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30859 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30860 PyObject
*resultobj
= 0;
30861 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30862 wxWindowDC
*arg2
= 0 ;
30863 wxGraphicsContext
*result
= 0 ;
30869 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30874 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30875 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30876 if (!SWIG_IsOK(res2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30882 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30884 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30894 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30895 PyObject
*resultobj
= 0;
30896 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30897 wxWindow
*arg2
= (wxWindow
*) 0 ;
30898 wxGraphicsContext
*result
= 0 ;
30904 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30906 if (!SWIG_IsOK(res1
)) {
30907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30909 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30910 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30911 if (!SWIG_IsOK(res2
)) {
30912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30916 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30926 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30930 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30935 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30936 _v
= SWIG_CheckState(res
);
30938 if (!_v
) goto check_1
;
30939 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30944 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30948 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30953 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30954 PyObject
*resultobj
= 0;
30955 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30956 wxGraphicsContext
*result
= 0 ;
30959 PyObject
*swig_obj
[1] ;
30961 if (!args
) SWIG_fail
;
30962 swig_obj
[0] = args
;
30963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30964 if (!SWIG_IsOK(res1
)) {
30965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30967 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30969 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30979 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
= 0;
30981 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30982 void *arg2
= (void *) 0 ;
30983 wxGraphicsContext
*result
= 0 ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 char * kwnames
[] = {
30990 (char *) "self",(char *) "context", NULL
30993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30995 if (!SWIG_IsOK(res1
)) {
30996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30998 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30999 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31000 if (!SWIG_IsOK(res2
)) {
31001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
31004 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31014 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31017 void *arg2
= (void *) 0 ;
31018 wxGraphicsContext
*result
= 0 ;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 char * kwnames
[] = {
31025 (char *) "self",(char *) "window", NULL
31028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31030 if (!SWIG_IsOK(res1
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31033 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31034 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31035 if (!SWIG_IsOK(res2
)) {
31036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
31039 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31049 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31050 PyObject
*resultobj
= 0;
31051 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31052 wxGraphicsPath result
;
31055 PyObject
*swig_obj
[1] ;
31057 if (!args
) SWIG_fail
;
31058 swig_obj
[0] = args
;
31059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31060 if (!SWIG_IsOK(res1
)) {
31061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31063 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31065 result
= (arg1
)->CreatePath();
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
31075 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
= 0;
31077 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31078 wxDouble arg2
= (wxDouble
) 1.0 ;
31079 wxDouble arg3
= (wxDouble
) 0.0 ;
31080 wxDouble arg4
= (wxDouble
) 0.0 ;
31081 wxDouble arg5
= (wxDouble
) 1.0 ;
31082 wxDouble arg6
= (wxDouble
) 0.0 ;
31083 wxDouble arg7
= (wxDouble
) 0.0 ;
31084 wxGraphicsMatrix result
;
31099 PyObject
* obj0
= 0 ;
31100 PyObject
* obj1
= 0 ;
31101 PyObject
* obj2
= 0 ;
31102 PyObject
* obj3
= 0 ;
31103 PyObject
* obj4
= 0 ;
31104 PyObject
* obj5
= 0 ;
31105 PyObject
* obj6
= 0 ;
31106 char * kwnames
[] = {
31107 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
31110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31112 if (!SWIG_IsOK(res1
)) {
31113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31115 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31117 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31118 if (!SWIG_IsOK(ecode2
)) {
31119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
31121 arg2
= static_cast< wxDouble
>(val2
);
31124 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31125 if (!SWIG_IsOK(ecode3
)) {
31126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
31128 arg3
= static_cast< wxDouble
>(val3
);
31131 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31132 if (!SWIG_IsOK(ecode4
)) {
31133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
31135 arg4
= static_cast< wxDouble
>(val4
);
31138 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31139 if (!SWIG_IsOK(ecode5
)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
31142 arg5
= static_cast< wxDouble
>(val5
);
31145 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31146 if (!SWIG_IsOK(ecode6
)) {
31147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
31149 arg6
= static_cast< wxDouble
>(val6
);
31152 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31153 if (!SWIG_IsOK(ecode7
)) {
31154 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31156 arg7
= static_cast< wxDouble
>(val7
);
31159 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31160 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31169 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
= 0;
31171 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31173 wxGraphicsPen result
;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 char * kwnames
[] = {
31181 (char *) "self",(char *) "pen", NULL
31184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31186 if (!SWIG_IsOK(res1
)) {
31187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31189 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31191 if (!SWIG_IsOK(res2
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31197 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31199 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31209 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
= 0;
31211 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31212 wxBrush
*arg2
= 0 ;
31213 wxGraphicsBrush result
;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 char * kwnames
[] = {
31221 (char *) "self",(char *) "brush", NULL
31224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31226 if (!SWIG_IsOK(res1
)) {
31227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31229 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31231 if (!SWIG_IsOK(res2
)) {
31232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31237 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31239 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31242 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31249 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
= 0;
31251 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31256 wxColour
*arg6
= 0 ;
31257 wxColour
*arg7
= 0 ;
31258 wxGraphicsBrush result
;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 PyObject
* obj2
= 0 ;
31274 PyObject
* obj3
= 0 ;
31275 PyObject
* obj4
= 0 ;
31276 PyObject
* obj5
= 0 ;
31277 PyObject
* obj6
= 0 ;
31278 char * kwnames
[] = {
31279 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31284 if (!SWIG_IsOK(res1
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31287 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31288 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31289 if (!SWIG_IsOK(ecode2
)) {
31290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31292 arg2
= static_cast< wxDouble
>(val2
);
31293 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31294 if (!SWIG_IsOK(ecode3
)) {
31295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31297 arg3
= static_cast< wxDouble
>(val3
);
31298 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31299 if (!SWIG_IsOK(ecode4
)) {
31300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31302 arg4
= static_cast< wxDouble
>(val4
);
31303 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31304 if (!SWIG_IsOK(ecode5
)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31307 arg5
= static_cast< wxDouble
>(val5
);
31310 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31314 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31317 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31327 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31328 PyObject
*resultobj
= 0;
31329 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31335 wxColour
*arg7
= 0 ;
31336 wxColour
*arg8
= 0 ;
31337 wxGraphicsBrush result
;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 PyObject
* obj2
= 0 ;
31355 PyObject
* obj3
= 0 ;
31356 PyObject
* obj4
= 0 ;
31357 PyObject
* obj5
= 0 ;
31358 PyObject
* obj6
= 0 ;
31359 PyObject
* obj7
= 0 ;
31360 char * kwnames
[] = {
31361 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31366 if (!SWIG_IsOK(res1
)) {
31367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31369 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31370 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31371 if (!SWIG_IsOK(ecode2
)) {
31372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31374 arg2
= static_cast< wxDouble
>(val2
);
31375 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31376 if (!SWIG_IsOK(ecode3
)) {
31377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31379 arg3
= static_cast< wxDouble
>(val3
);
31380 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31381 if (!SWIG_IsOK(ecode4
)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31384 arg4
= static_cast< wxDouble
>(val4
);
31385 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31386 if (!SWIG_IsOK(ecode5
)) {
31387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31389 arg5
= static_cast< wxDouble
>(val5
);
31390 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31391 if (!SWIG_IsOK(ecode6
)) {
31392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31394 arg6
= static_cast< wxDouble
>(val6
);
31397 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31401 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31404 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31407 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31414 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31415 PyObject
*resultobj
= 0;
31416 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31418 wxColour
const &arg3_defvalue
= *wxBLACK
;
31419 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31420 wxGraphicsFont result
;
31426 PyObject
* obj0
= 0 ;
31427 PyObject
* obj1
= 0 ;
31428 PyObject
* obj2
= 0 ;
31429 char * kwnames
[] = {
31430 (char *) "self",(char *) "font",(char *) "col", NULL
31433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31435 if (!SWIG_IsOK(res1
)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31438 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31440 if (!SWIG_IsOK(res2
)) {
31441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31446 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31450 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31454 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31464 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31467 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31468 return SWIG_Py_Void();
31471 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31472 PyObject
*resultobj
= 0;
31473 wxWindowDC
*arg1
= 0 ;
31474 wxGCDC
*result
= 0 ;
31478 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31480 if (!SWIG_IsOK(res1
)) {
31481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31486 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31488 if (!wxPyCheckForApp()) SWIG_fail
;
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31490 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31491 wxPyEndAllowThreads(__tstate
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31501 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31502 PyObject
*resultobj
= 0;
31503 wxWindow
*arg1
= (wxWindow
*) 0 ;
31504 wxGCDC
*result
= 0 ;
31508 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31510 if (!SWIG_IsOK(res1
)) {
31511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31515 if (!wxPyCheckForApp()) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 result
= (wxGCDC
*)new wxGCDC(arg1
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31528 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31532 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31537 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31538 _v
= SWIG_CheckState(res
);
31540 if (!_v
) goto check_1
;
31541 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31546 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31550 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31555 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31556 PyObject
*resultobj
= 0;
31557 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31560 PyObject
*swig_obj
[1] ;
31562 if (!args
) SWIG_fail
;
31563 swig_obj
[0] = args
;
31564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31565 if (!SWIG_IsOK(res1
)) {
31566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31568 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= SWIG_Py_Void();
31581 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31582 PyObject
*resultobj
= 0;
31583 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31584 wxGraphicsContext
*result
= 0 ;
31587 PyObject
*swig_obj
[1] ;
31589 if (!args
) SWIG_fail
;
31590 swig_obj
[0] = args
;
31591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31592 if (!SWIG_IsOK(res1
)) {
31593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31595 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31597 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31598 if (PyErr_Occurred()) SWIG_fail
;
31600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31607 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31608 PyObject
*resultobj
= 0;
31609 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31610 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31615 PyObject
* obj0
= 0 ;
31616 PyObject
* obj1
= 0 ;
31617 char * kwnames
[] = {
31618 (char *) "self",(char *) "ctx", NULL
31621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31623 if (!SWIG_IsOK(res1
)) {
31624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31626 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31628 if (!SWIG_IsOK(res2
)) {
31629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31631 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31633 (arg1
)->SetGraphicsContext(arg2
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_Py_Void();
31643 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31646 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31647 return SWIG_Py_Void();
31650 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31651 return SWIG_Python_InitShadowInstance(args
);
31654 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31655 PyObject
*resultobj
= 0;
31656 wxOverlay
*result
= 0 ;
31658 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 result
= (wxOverlay
*)new wxOverlay();
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31672 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31673 PyObject
*resultobj
= 0;
31674 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31677 PyObject
*swig_obj
[1] ;
31679 if (!args
) SWIG_fail
;
31680 swig_obj
[0] = args
;
31681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31682 if (!SWIG_IsOK(res1
)) {
31683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31685 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31690 wxPyEndAllowThreads(__tstate
);
31691 if (PyErr_Occurred()) SWIG_fail
;
31693 resultobj
= SWIG_Py_Void();
31700 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31701 PyObject
*resultobj
= 0;
31702 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31705 PyObject
*swig_obj
[1] ;
31707 if (!args
) SWIG_fail
;
31708 swig_obj
[0] = args
;
31709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31710 if (!SWIG_IsOK(res1
)) {
31711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31713 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31717 wxPyEndAllowThreads(__tstate
);
31718 if (PyErr_Occurred()) SWIG_fail
;
31720 resultobj
= SWIG_Py_Void();
31727 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31730 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31731 return SWIG_Py_Void();
31734 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31735 return SWIG_Python_InitShadowInstance(args
);
31738 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31739 PyObject
*resultobj
= 0;
31740 wxOverlay
*arg1
= 0 ;
31741 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31746 wxDCOverlay
*result
= 0 ;
31760 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31762 if (!SWIG_IsOK(res1
)) {
31763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31768 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31769 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31770 if (!SWIG_IsOK(res2
)) {
31771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31773 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31774 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31775 if (!SWIG_IsOK(ecode3
)) {
31776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31778 arg3
= static_cast< int >(val3
);
31779 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31780 if (!SWIG_IsOK(ecode4
)) {
31781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31783 arg4
= static_cast< int >(val4
);
31784 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31785 if (!SWIG_IsOK(ecode5
)) {
31786 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31788 arg5
= static_cast< int >(val5
);
31789 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31790 if (!SWIG_IsOK(ecode6
)) {
31791 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31793 arg6
= static_cast< int >(val6
);
31795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31797 wxPyEndAllowThreads(__tstate
);
31798 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31807 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31808 PyObject
*resultobj
= 0;
31809 wxOverlay
*arg1
= 0 ;
31810 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31811 wxDCOverlay
*result
= 0 ;
31817 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31819 if (!SWIG_IsOK(res1
)) {
31820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31825 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31826 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31827 if (!SWIG_IsOK(res2
)) {
31828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31830 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31844 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31848 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31851 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31854 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31858 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31863 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31864 PyObject
*resultobj
= 0;
31865 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31868 PyObject
*swig_obj
[1] ;
31870 if (!args
) SWIG_fail
;
31871 swig_obj
[0] = args
;
31872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31873 if (!SWIG_IsOK(res1
)) {
31874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31876 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_Py_Void();
31891 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31892 PyObject
*resultobj
= 0;
31893 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31896 PyObject
*swig_obj
[1] ;
31898 if (!args
) SWIG_fail
;
31899 swig_obj
[0] = args
;
31900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31901 if (!SWIG_IsOK(res1
)) {
31902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31904 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31911 resultobj
= SWIG_Py_Void();
31918 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31921 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31922 return SWIG_Py_Void();
31925 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31926 return SWIG_Python_InitShadowInstance(args
);
31929 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31930 PyObject
*resultobj
= 0;
31933 int arg3
= (int) true ;
31934 int arg4
= (int) 1 ;
31935 wxImageList
*result
= 0 ;
31944 PyObject
* obj0
= 0 ;
31945 PyObject
* obj1
= 0 ;
31946 PyObject
* obj2
= 0 ;
31947 PyObject
* obj3
= 0 ;
31948 char * kwnames
[] = {
31949 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31953 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31954 if (!SWIG_IsOK(ecode1
)) {
31955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31957 arg1
= static_cast< int >(val1
);
31958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31959 if (!SWIG_IsOK(ecode2
)) {
31960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31962 arg2
= static_cast< int >(val2
);
31964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31965 if (!SWIG_IsOK(ecode3
)) {
31966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31968 arg3
= static_cast< int >(val3
);
31971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31972 if (!SWIG_IsOK(ecode4
)) {
31973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31975 arg4
= static_cast< int >(val4
);
31978 if (!wxPyCheckForApp()) SWIG_fail
;
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31991 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31992 PyObject
*resultobj
= 0;
31993 wxImageList
*arg1
= (wxImageList
*) 0 ;
31996 PyObject
*swig_obj
[1] ;
31998 if (!args
) SWIG_fail
;
31999 swig_obj
[0] = args
;
32000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
32001 if (!SWIG_IsOK(res1
)) {
32002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
32004 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 resultobj
= SWIG_Py_Void();
32019 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
= 0;
32021 wxImageList
*arg1
= (wxImageList
*) 0 ;
32022 wxBitmap
*arg2
= 0 ;
32023 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32024 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32032 PyObject
* obj0
= 0 ;
32033 PyObject
* obj1
= 0 ;
32034 PyObject
* obj2
= 0 ;
32035 char * kwnames
[] = {
32036 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
32039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32041 if (!SWIG_IsOK(res1
)) {
32042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
32044 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32046 if (!SWIG_IsOK(res2
)) {
32047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32052 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32054 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32055 if (!SWIG_IsOK(res3
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32061 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32065 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32069 resultobj
= SWIG_From_int(static_cast< int >(result
));
32076 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32077 PyObject
*resultobj
= 0;
32078 wxImageList
*arg1
= (wxImageList
*) 0 ;
32079 wxBitmap
*arg2
= 0 ;
32080 wxColour
*arg3
= 0 ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 PyObject
* obj2
= 0 ;
32090 char * kwnames
[] = {
32091 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
32094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32096 if (!SWIG_IsOK(res1
)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
32099 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32101 if (!SWIG_IsOK(res2
)) {
32102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32107 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32110 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32118 resultobj
= SWIG_From_int(static_cast< int >(result
));
32125 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32126 PyObject
*resultobj
= 0;
32127 wxImageList
*arg1
= (wxImageList
*) 0 ;
32134 PyObject
* obj0
= 0 ;
32135 PyObject
* obj1
= 0 ;
32136 char * kwnames
[] = {
32137 (char *) "self",(char *) "icon", NULL
32140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32142 if (!SWIG_IsOK(res1
)) {
32143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
32145 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32147 if (!SWIG_IsOK(res2
)) {
32148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32153 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= SWIG_From_int(static_cast< int >(result
));
32167 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
= 0;
32169 wxImageList
*arg1
= (wxImageList
*) 0 ;
32171 SwigValueWrapper
<wxBitmap
> result
;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char * kwnames
[] = {
32179 (char *) "self",(char *) "index", NULL
32182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32184 if (!SWIG_IsOK(res1
)) {
32185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32187 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32189 if (!SWIG_IsOK(ecode2
)) {
32190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32192 arg2
= static_cast< int >(val2
);
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32206 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
= 0;
32208 wxImageList
*arg1
= (wxImageList
*) 0 ;
32215 PyObject
* obj0
= 0 ;
32216 PyObject
* obj1
= 0 ;
32217 char * kwnames
[] = {
32218 (char *) "self",(char *) "index", NULL
32221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32223 if (!SWIG_IsOK(res1
)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32226 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32228 if (!SWIG_IsOK(ecode2
)) {
32229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32231 arg2
= static_cast< int >(val2
);
32233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32234 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32235 wxPyEndAllowThreads(__tstate
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32238 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32245 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32246 PyObject
*resultobj
= 0;
32247 wxImageList
*arg1
= (wxImageList
*) 0 ;
32249 wxBitmap
*arg3
= 0 ;
32250 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32251 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32261 PyObject
* obj0
= 0 ;
32262 PyObject
* obj1
= 0 ;
32263 PyObject
* obj2
= 0 ;
32264 PyObject
* obj3
= 0 ;
32265 char * kwnames
[] = {
32266 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32271 if (!SWIG_IsOK(res1
)) {
32272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32274 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32276 if (!SWIG_IsOK(ecode2
)) {
32277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32279 arg2
= static_cast< int >(val2
);
32280 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32281 if (!SWIG_IsOK(res3
)) {
32282 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32287 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32289 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32290 if (!SWIG_IsOK(res4
)) {
32291 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32296 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32301 wxPyEndAllowThreads(__tstate
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32313 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32314 PyObject
*resultobj
= 0;
32315 wxImageList
*arg1
= (wxImageList
*) 0 ;
32320 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32321 bool arg7
= (bool) (bool)false ;
32337 PyObject
* obj0
= 0 ;
32338 PyObject
* obj1
= 0 ;
32339 PyObject
* obj2
= 0 ;
32340 PyObject
* obj3
= 0 ;
32341 PyObject
* obj4
= 0 ;
32342 PyObject
* obj5
= 0 ;
32343 PyObject
* obj6
= 0 ;
32344 char * kwnames
[] = {
32345 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32350 if (!SWIG_IsOK(res1
)) {
32351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32353 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32355 if (!SWIG_IsOK(ecode2
)) {
32356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32358 arg2
= static_cast< int >(val2
);
32359 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32360 if (!SWIG_IsOK(res3
)) {
32361 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32366 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32368 if (!SWIG_IsOK(ecode4
)) {
32369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32371 arg4
= static_cast< int >(val4
);
32372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32373 if (!SWIG_IsOK(ecode5
)) {
32374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32376 arg5
= static_cast< int >(val5
);
32378 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32379 if (!SWIG_IsOK(ecode6
)) {
32380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32382 arg6
= static_cast< int >(val6
);
32385 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32386 if (!SWIG_IsOK(ecode7
)) {
32387 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32389 arg7
= static_cast< bool >(val7
);
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32406 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32407 PyObject
*resultobj
= 0;
32408 wxImageList
*arg1
= (wxImageList
*) 0 ;
32412 PyObject
*swig_obj
[1] ;
32414 if (!args
) SWIG_fail
;
32415 swig_obj
[0] = args
;
32416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32417 if (!SWIG_IsOK(res1
)) {
32418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32420 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32423 result
= (int)(arg1
)->GetImageCount();
32424 wxPyEndAllowThreads(__tstate
);
32425 if (PyErr_Occurred()) SWIG_fail
;
32427 resultobj
= SWIG_From_int(static_cast< int >(result
));
32434 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32435 PyObject
*resultobj
= 0;
32436 wxImageList
*arg1
= (wxImageList
*) 0 ;
32443 PyObject
* obj0
= 0 ;
32444 PyObject
* obj1
= 0 ;
32445 char * kwnames
[] = {
32446 (char *) "self",(char *) "index", NULL
32449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32451 if (!SWIG_IsOK(res1
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32454 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32456 if (!SWIG_IsOK(ecode2
)) {
32457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32459 arg2
= static_cast< int >(val2
);
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 result
= (bool)(arg1
)->Remove(arg2
);
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32475 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32476 PyObject
*resultobj
= 0;
32477 wxImageList
*arg1
= (wxImageList
*) 0 ;
32481 PyObject
*swig_obj
[1] ;
32483 if (!args
) SWIG_fail
;
32484 swig_obj
[0] = args
;
32485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32486 if (!SWIG_IsOK(res1
)) {
32487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32489 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 result
= (bool)(arg1
)->RemoveAll();
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32505 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
= 0;
32507 wxImageList
*arg1
= (wxImageList
*) 0 ;
32516 int res3
= SWIG_TMPOBJ
;
32518 int res4
= SWIG_TMPOBJ
;
32519 PyObject
* obj0
= 0 ;
32520 PyObject
* obj1
= 0 ;
32521 char * kwnames
[] = {
32522 (char *) "self",(char *) "index", NULL
32527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32529 if (!SWIG_IsOK(res1
)) {
32530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32532 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32534 if (!SWIG_IsOK(ecode2
)) {
32535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32537 arg2
= static_cast< int >(val2
);
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 resultobj
= SWIG_Py_Void();
32545 if (SWIG_IsTmpObj(res3
)) {
32546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32548 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32551 if (SWIG_IsTmpObj(res4
)) {
32552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32554 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32563 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32566 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32567 return SWIG_Py_Void();
32570 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32571 return SWIG_Python_InitShadowInstance(args
);
32574 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32575 PyObject
*resultobj
= 0;
32576 wxStockGDI
*result
= 0 ;
32578 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (wxStockGDI
*)new wxStockGDI();
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32592 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32593 PyObject
*resultobj
= 0;
32594 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32597 PyObject
*swig_obj
[1] ;
32599 if (!args
) SWIG_fail
;
32600 swig_obj
[0] = args
;
32601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32602 if (!SWIG_IsOK(res1
)) {
32603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32605 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32613 resultobj
= SWIG_Py_Void();
32620 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32621 PyObject
*resultobj
= 0;
32623 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 wxStockGDI::DeleteAll();
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= SWIG_Py_Void();
32637 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32638 PyObject
*resultobj
= 0;
32639 wxStockGDI
*result
= 0 ;
32641 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32645 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32646 result
= (wxStockGDI
*) &_result_ref
;
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32658 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
= 0;
32660 wxStockGDI::Item arg1
;
32661 wxBrush
*result
= 0 ;
32664 PyObject
* obj0
= 0 ;
32665 char * kwnames
[] = {
32666 (char *) "item", NULL
32669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32670 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32671 if (!SWIG_IsOK(ecode1
)) {
32672 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32674 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32677 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32678 wxPyEndAllowThreads(__tstate
);
32679 if (PyErr_Occurred()) SWIG_fail
;
32681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32688 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32689 PyObject
*resultobj
= 0;
32690 wxStockGDI::Item arg1
;
32691 wxColour
*result
= 0 ;
32694 PyObject
* obj0
= 0 ;
32695 char * kwnames
[] = {
32696 (char *) "item", NULL
32699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32700 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32701 if (!SWIG_IsOK(ecode1
)) {
32702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32704 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32707 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32708 wxPyEndAllowThreads(__tstate
);
32709 if (PyErr_Occurred()) SWIG_fail
;
32711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32718 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32719 PyObject
*resultobj
= 0;
32720 wxStockGDI::Item arg1
;
32721 wxCursor
*result
= 0 ;
32724 PyObject
* obj0
= 0 ;
32725 char * kwnames
[] = {
32726 (char *) "item", NULL
32729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32730 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32731 if (!SWIG_IsOK(ecode1
)) {
32732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32734 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32738 wxPyEndAllowThreads(__tstate
);
32739 if (PyErr_Occurred()) SWIG_fail
;
32741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32748 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32749 PyObject
*resultobj
= 0;
32750 wxStockGDI::Item arg1
;
32751 wxPen
*result
= 0 ;
32754 PyObject
* obj0
= 0 ;
32755 char * kwnames
[] = {
32756 (char *) "item", NULL
32759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32761 if (!SWIG_IsOK(ecode1
)) {
32762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32764 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32767 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32768 wxPyEndAllowThreads(__tstate
);
32769 if (PyErr_Occurred()) SWIG_fail
;
32771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32778 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32779 PyObject
*resultobj
= 0;
32780 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32781 wxStockGDI::Item arg2
;
32782 wxFont
*result
= 0 ;
32787 PyObject
* obj0
= 0 ;
32788 PyObject
* obj1
= 0 ;
32789 char * kwnames
[] = {
32790 (char *) "self",(char *) "item", NULL
32793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32798 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32800 if (!SWIG_IsOK(ecode2
)) {
32801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32803 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32817 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32820 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32821 return SWIG_Py_Void();
32824 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32825 return SWIG_Python_InitShadowInstance(args
);
32828 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32829 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32834 SWIGINTERN PyObject
*NullBitmap_get(void) {
32835 PyObject
*pyobj
= 0;
32837 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32842 SWIGINTERN
int NullIcon_set(PyObject
*) {
32843 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32848 SWIGINTERN PyObject
*NullIcon_get(void) {
32849 PyObject
*pyobj
= 0;
32851 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32856 SWIGINTERN
int NullCursor_set(PyObject
*) {
32857 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32862 SWIGINTERN PyObject
*NullCursor_get(void) {
32863 PyObject
*pyobj
= 0;
32865 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32870 SWIGINTERN
int NullPen_set(PyObject
*) {
32871 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32876 SWIGINTERN PyObject
*NullPen_get(void) {
32877 PyObject
*pyobj
= 0;
32879 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32884 SWIGINTERN
int NullBrush_set(PyObject
*) {
32885 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32890 SWIGINTERN PyObject
*NullBrush_get(void) {
32891 PyObject
*pyobj
= 0;
32893 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32898 SWIGINTERN
int NullPalette_set(PyObject
*) {
32899 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32904 SWIGINTERN PyObject
*NullPalette_get(void) {
32905 PyObject
*pyobj
= 0;
32907 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32912 SWIGINTERN
int NullFont_set(PyObject
*) {
32913 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32918 SWIGINTERN PyObject
*NullFont_get(void) {
32919 PyObject
*pyobj
= 0;
32921 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32926 SWIGINTERN
int NullColour_set(PyObject
*) {
32927 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32932 SWIGINTERN PyObject
*NullColour_get(void) {
32933 PyObject
*pyobj
= 0;
32935 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32940 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32941 PyObject
*resultobj
= 0;
32942 wxGDIObjListBase
*result
= 0 ;
32944 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32958 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32959 PyObject
*resultobj
= 0;
32960 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32963 PyObject
*swig_obj
[1] ;
32965 if (!args
) SWIG_fail
;
32966 swig_obj
[0] = args
;
32967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32968 if (!SWIG_IsOK(res1
)) {
32969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32971 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32979 resultobj
= SWIG_Py_Void();
32986 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32989 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32990 return SWIG_Py_Void();
32993 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32994 return SWIG_Python_InitShadowInstance(args
);
32997 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
= 0;
32999 wxPenList
*arg1
= (wxPenList
*) 0 ;
33000 wxColour
*arg2
= 0 ;
33003 wxPen
*result
= 0 ;
33011 PyObject
* obj0
= 0 ;
33012 PyObject
* obj1
= 0 ;
33013 PyObject
* obj2
= 0 ;
33014 PyObject
* obj3
= 0 ;
33015 char * kwnames
[] = {
33016 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
33019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33021 if (!SWIG_IsOK(res1
)) {
33022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33024 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33030 if (!SWIG_IsOK(ecode3
)) {
33031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
33033 arg3
= static_cast< int >(val3
);
33034 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33035 if (!SWIG_IsOK(ecode4
)) {
33036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
33038 arg4
= static_cast< int >(val4
);
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33052 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
= 0;
33054 wxPenList
*arg1
= (wxPenList
*) 0 ;
33055 wxPen
*arg2
= (wxPen
*) 0 ;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 char * kwnames
[] = {
33063 (char *) "self",(char *) "pen", NULL
33066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33068 if (!SWIG_IsOK(res1
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
33071 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33073 if (!SWIG_IsOK(res2
)) {
33074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
33076 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 (arg1
)->AddPen(arg2
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 resultobj
= SWIG_Py_Void();
33090 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
= 0;
33092 wxPenList
*arg1
= (wxPenList
*) 0 ;
33093 wxPen
*arg2
= (wxPen
*) 0 ;
33098 PyObject
* obj0
= 0 ;
33099 PyObject
* obj1
= 0 ;
33100 char * kwnames
[] = {
33101 (char *) "self",(char *) "pen", NULL
33104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33106 if (!SWIG_IsOK(res1
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33109 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33111 if (!SWIG_IsOK(res2
)) {
33112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
33114 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 (arg1
)->RemovePen(arg2
);
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= SWIG_Py_Void();
33128 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
33132 return SWIG_Py_Void();
33135 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
= 0;
33137 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33138 wxColour
*arg2
= 0 ;
33139 int arg3
= (int) wxSOLID
;
33140 wxBrush
*result
= 0 ;
33146 PyObject
* obj0
= 0 ;
33147 PyObject
* obj1
= 0 ;
33148 PyObject
* obj2
= 0 ;
33149 char * kwnames
[] = {
33150 (char *) "self",(char *) "colour",(char *) "style", NULL
33153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33155 if (!SWIG_IsOK(res1
)) {
33156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33158 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33165 if (!SWIG_IsOK(ecode3
)) {
33166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33168 arg3
= static_cast< int >(val3
);
33171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33172 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33173 wxPyEndAllowThreads(__tstate
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33183 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33184 PyObject
*resultobj
= 0;
33185 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33186 wxBrush
*arg2
= (wxBrush
*) 0 ;
33191 PyObject
* obj0
= 0 ;
33192 PyObject
* obj1
= 0 ;
33193 char * kwnames
[] = {
33194 (char *) "self",(char *) "brush", NULL
33197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33199 if (!SWIG_IsOK(res1
)) {
33200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33202 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33204 if (!SWIG_IsOK(res2
)) {
33205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33207 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33210 (arg1
)->AddBrush(arg2
);
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 resultobj
= SWIG_Py_Void();
33221 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33222 PyObject
*resultobj
= 0;
33223 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33224 wxBrush
*arg2
= (wxBrush
*) 0 ;
33229 PyObject
* obj0
= 0 ;
33230 PyObject
* obj1
= 0 ;
33231 char * kwnames
[] = {
33232 (char *) "self",(char *) "brush", NULL
33235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33237 if (!SWIG_IsOK(res1
)) {
33238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33240 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33242 if (!SWIG_IsOK(res2
)) {
33243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33245 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33248 (arg1
)->RemoveBrush(arg2
);
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33252 resultobj
= SWIG_Py_Void();
33259 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33262 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33263 return SWIG_Py_Void();
33266 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33267 PyObject
*resultobj
= 0;
33268 wxFontList
*arg1
= (wxFontList
*) 0 ;
33273 bool arg6
= (bool) false ;
33274 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33275 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33276 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33277 wxFont
*result
= 0 ;
33290 bool temp7
= false ;
33293 PyObject
* obj0
= 0 ;
33294 PyObject
* obj1
= 0 ;
33295 PyObject
* obj2
= 0 ;
33296 PyObject
* obj3
= 0 ;
33297 PyObject
* obj4
= 0 ;
33298 PyObject
* obj5
= 0 ;
33299 PyObject
* obj6
= 0 ;
33300 PyObject
* obj7
= 0 ;
33301 char * kwnames
[] = {
33302 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33307 if (!SWIG_IsOK(res1
)) {
33308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33310 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33312 if (!SWIG_IsOK(ecode2
)) {
33313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33315 arg2
= static_cast< int >(val2
);
33316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33317 if (!SWIG_IsOK(ecode3
)) {
33318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33320 arg3
= static_cast< int >(val3
);
33321 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33322 if (!SWIG_IsOK(ecode4
)) {
33323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33325 arg4
= static_cast< int >(val4
);
33326 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33327 if (!SWIG_IsOK(ecode5
)) {
33328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33330 arg5
= static_cast< int >(val5
);
33332 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33333 if (!SWIG_IsOK(ecode6
)) {
33334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33336 arg6
= static_cast< bool >(val6
);
33340 arg7
= wxString_in_helper(obj6
);
33341 if (arg7
== NULL
) SWIG_fail
;
33346 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33347 if (!SWIG_IsOK(ecode8
)) {
33348 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33350 arg8
= static_cast< wxFontEncoding
>(val8
);
33353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33354 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33373 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33374 PyObject
*resultobj
= 0;
33375 wxFontList
*arg1
= (wxFontList
*) 0 ;
33376 wxFont
*arg2
= (wxFont
*) 0 ;
33381 PyObject
* obj0
= 0 ;
33382 PyObject
* obj1
= 0 ;
33383 char * kwnames
[] = {
33384 (char *) "self",(char *) "font", NULL
33387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33389 if (!SWIG_IsOK(res1
)) {
33390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33392 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33393 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33394 if (!SWIG_IsOK(res2
)) {
33395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33397 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 (arg1
)->AddFont(arg2
);
33401 wxPyEndAllowThreads(__tstate
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= SWIG_Py_Void();
33411 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33412 PyObject
*resultobj
= 0;
33413 wxFontList
*arg1
= (wxFontList
*) 0 ;
33414 wxFont
*arg2
= (wxFont
*) 0 ;
33419 PyObject
* obj0
= 0 ;
33420 PyObject
* obj1
= 0 ;
33421 char * kwnames
[] = {
33422 (char *) "self",(char *) "font", NULL
33425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33427 if (!SWIG_IsOK(res1
)) {
33428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33430 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33432 if (!SWIG_IsOK(res2
)) {
33433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33435 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 (arg1
)->RemoveFont(arg2
);
33439 wxPyEndAllowThreads(__tstate
);
33440 if (PyErr_Occurred()) SWIG_fail
;
33442 resultobj
= SWIG_Py_Void();
33449 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33452 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33453 return SWIG_Py_Void();
33456 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33457 PyObject
*resultobj
= 0;
33458 wxColourDatabase
*result
= 0 ;
33460 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33462 if (!wxPyCheckForApp()) SWIG_fail
;
33463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33464 result
= (wxColourDatabase
*)new wxColourDatabase();
33465 wxPyEndAllowThreads(__tstate
);
33466 if (PyErr_Occurred()) SWIG_fail
;
33468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33475 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33476 PyObject
*resultobj
= 0;
33477 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33480 PyObject
*swig_obj
[1] ;
33482 if (!args
) SWIG_fail
;
33483 swig_obj
[0] = args
;
33484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33485 if (!SWIG_IsOK(res1
)) {
33486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33488 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33493 wxPyEndAllowThreads(__tstate
);
33494 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= SWIG_Py_Void();
33503 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33504 PyObject
*resultobj
= 0;
33505 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33506 wxString
*arg2
= 0 ;
33510 bool temp2
= false ;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 char * kwnames
[] = {
33514 (char *) "self",(char *) "name", NULL
33517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33519 if (!SWIG_IsOK(res1
)) {
33520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33522 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33524 arg2
= wxString_in_helper(obj1
);
33525 if (arg2
== NULL
) SWIG_fail
;
33529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33530 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33531 wxPyEndAllowThreads(__tstate
);
33532 if (PyErr_Occurred()) SWIG_fail
;
33534 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33549 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33550 PyObject
*resultobj
= 0;
33551 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33552 wxColour
*arg2
= 0 ;
33557 PyObject
* obj0
= 0 ;
33558 PyObject
* obj1
= 0 ;
33559 char * kwnames
[] = {
33560 (char *) "self",(char *) "colour", NULL
33563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33565 if (!SWIG_IsOK(res1
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33568 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33571 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33576 wxPyEndAllowThreads(__tstate
);
33577 if (PyErr_Occurred()) SWIG_fail
;
33581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33592 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33593 PyObject
*resultobj
= 0;
33594 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33595 wxString
*arg2
= 0 ;
33596 wxColour
*arg3
= 0 ;
33599 bool temp2
= false ;
33601 PyObject
* obj0
= 0 ;
33602 PyObject
* obj1
= 0 ;
33603 PyObject
* obj2
= 0 ;
33604 char * kwnames
[] = {
33605 (char *) "self",(char *) "name",(char *) "colour", NULL
33608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33610 if (!SWIG_IsOK(res1
)) {
33611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33613 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33615 arg2
= wxString_in_helper(obj1
);
33616 if (arg2
== NULL
) SWIG_fail
;
33621 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33626 wxPyEndAllowThreads(__tstate
);
33627 if (PyErr_Occurred()) SWIG_fail
;
33629 resultobj
= SWIG_Py_Void();
33644 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33645 PyObject
*resultobj
= 0;
33646 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33647 wxString
*arg2
= 0 ;
33653 bool temp2
= false ;
33660 PyObject
* obj0
= 0 ;
33661 PyObject
* obj1
= 0 ;
33662 PyObject
* obj2
= 0 ;
33663 PyObject
* obj3
= 0 ;
33664 PyObject
* obj4
= 0 ;
33665 char * kwnames
[] = {
33666 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33671 if (!SWIG_IsOK(res1
)) {
33672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33674 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33676 arg2
= wxString_in_helper(obj1
);
33677 if (arg2
== NULL
) SWIG_fail
;
33680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33681 if (!SWIG_IsOK(ecode3
)) {
33682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33684 arg3
= static_cast< int >(val3
);
33685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33686 if (!SWIG_IsOK(ecode4
)) {
33687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33689 arg4
= static_cast< int >(val4
);
33690 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33691 if (!SWIG_IsOK(ecode5
)) {
33692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33694 arg5
= static_cast< int >(val5
);
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33701 resultobj
= SWIG_Py_Void();
33716 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33718 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33719 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33720 return SWIG_Py_Void();
33723 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33724 return SWIG_Python_InitShadowInstance(args
);
33727 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33728 PyObject
*resultobj
= 0;
33729 wxFontList
*result
= 0 ;
33731 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 result
= (wxFontList
*)_wxPyInitTheFontList();
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33745 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33746 PyObject
*resultobj
= 0;
33747 wxPenList
*result
= 0 ;
33749 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 result
= (wxPenList
*)_wxPyInitThePenList();
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33763 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33764 PyObject
*resultobj
= 0;
33765 wxBrushList
*result
= 0 ;
33767 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33771 wxPyEndAllowThreads(__tstate
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33781 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33782 PyObject
*resultobj
= 0;
33783 wxColourDatabase
*result
= 0 ;
33785 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33799 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33800 PyObject
*resultobj
= 0;
33801 wxEffects
*result
= 0 ;
33803 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33806 result
= (wxEffects
*)new wxEffects();
33807 wxPyEndAllowThreads(__tstate
);
33808 if (PyErr_Occurred()) SWIG_fail
;
33810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33817 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33818 PyObject
*resultobj
= 0;
33819 wxEffects
*arg1
= (wxEffects
*) 0 ;
33823 PyObject
*swig_obj
[1] ;
33825 if (!args
) SWIG_fail
;
33826 swig_obj
[0] = args
;
33827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33828 if (!SWIG_IsOK(res1
)) {
33829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33831 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33834 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33835 wxPyEndAllowThreads(__tstate
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33838 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33845 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33846 PyObject
*resultobj
= 0;
33847 wxEffects
*arg1
= (wxEffects
*) 0 ;
33851 PyObject
*swig_obj
[1] ;
33853 if (!args
) SWIG_fail
;
33854 swig_obj
[0] = args
;
33855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33856 if (!SWIG_IsOK(res1
)) {
33857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33859 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33862 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33863 wxPyEndAllowThreads(__tstate
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33866 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33873 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33874 PyObject
*resultobj
= 0;
33875 wxEffects
*arg1
= (wxEffects
*) 0 ;
33879 PyObject
*swig_obj
[1] ;
33881 if (!args
) SWIG_fail
;
33882 swig_obj
[0] = args
;
33883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33884 if (!SWIG_IsOK(res1
)) {
33885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33887 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33890 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33901 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33902 PyObject
*resultobj
= 0;
33903 wxEffects
*arg1
= (wxEffects
*) 0 ;
33907 PyObject
*swig_obj
[1] ;
33909 if (!args
) SWIG_fail
;
33910 swig_obj
[0] = args
;
33911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33912 if (!SWIG_IsOK(res1
)) {
33913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33915 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33929 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33930 PyObject
*resultobj
= 0;
33931 wxEffects
*arg1
= (wxEffects
*) 0 ;
33935 PyObject
*swig_obj
[1] ;
33937 if (!args
) SWIG_fail
;
33938 swig_obj
[0] = args
;
33939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33943 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33957 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33958 PyObject
*resultobj
= 0;
33959 wxEffects
*arg1
= (wxEffects
*) 0 ;
33960 wxColour
*arg2
= 0 ;
33964 PyObject
* obj0
= 0 ;
33965 PyObject
* obj1
= 0 ;
33966 char * kwnames
[] = {
33967 (char *) "self",(char *) "c", NULL
33970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33972 if (!SWIG_IsOK(res1
)) {
33973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33975 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33978 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33982 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33983 wxPyEndAllowThreads(__tstate
);
33984 if (PyErr_Occurred()) SWIG_fail
;
33986 resultobj
= SWIG_Py_Void();
33993 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
= 0;
33995 wxEffects
*arg1
= (wxEffects
*) 0 ;
33996 wxColour
*arg2
= 0 ;
34000 PyObject
* obj0
= 0 ;
34001 PyObject
* obj1
= 0 ;
34002 char * kwnames
[] = {
34003 (char *) "self",(char *) "c", NULL
34006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34008 if (!SWIG_IsOK(res1
)) {
34009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34011 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 resultobj
= SWIG_Py_Void();
34029 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
= 0;
34031 wxEffects
*arg1
= (wxEffects
*) 0 ;
34032 wxColour
*arg2
= 0 ;
34036 PyObject
* obj0
= 0 ;
34037 PyObject
* obj1
= 0 ;
34038 char * kwnames
[] = {
34039 (char *) "self",(char *) "c", NULL
34042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34044 if (!SWIG_IsOK(res1
)) {
34045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34047 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34050 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34054 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
34055 wxPyEndAllowThreads(__tstate
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34058 resultobj
= SWIG_Py_Void();
34065 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34066 PyObject
*resultobj
= 0;
34067 wxEffects
*arg1
= (wxEffects
*) 0 ;
34068 wxColour
*arg2
= 0 ;
34072 PyObject
* obj0
= 0 ;
34073 PyObject
* obj1
= 0 ;
34074 char * kwnames
[] = {
34075 (char *) "self",(char *) "c", NULL
34078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34080 if (!SWIG_IsOK(res1
)) {
34081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34083 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34090 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
34091 wxPyEndAllowThreads(__tstate
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= SWIG_Py_Void();
34101 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34102 PyObject
*resultobj
= 0;
34103 wxEffects
*arg1
= (wxEffects
*) 0 ;
34104 wxColour
*arg2
= 0 ;
34108 PyObject
* obj0
= 0 ;
34109 PyObject
* obj1
= 0 ;
34110 char * kwnames
[] = {
34111 (char *) "self",(char *) "c", NULL
34114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34116 if (!SWIG_IsOK(res1
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34119 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34122 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34126 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
34127 wxPyEndAllowThreads(__tstate
);
34128 if (PyErr_Occurred()) SWIG_fail
;
34130 resultobj
= SWIG_Py_Void();
34137 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34138 PyObject
*resultobj
= 0;
34139 wxEffects
*arg1
= (wxEffects
*) 0 ;
34140 wxColour
*arg2
= 0 ;
34141 wxColour
*arg3
= 0 ;
34142 wxColour
*arg4
= 0 ;
34143 wxColour
*arg5
= 0 ;
34144 wxColour
*arg6
= 0 ;
34152 PyObject
* obj0
= 0 ;
34153 PyObject
* obj1
= 0 ;
34154 PyObject
* obj2
= 0 ;
34155 PyObject
* obj3
= 0 ;
34156 PyObject
* obj4
= 0 ;
34157 PyObject
* obj5
= 0 ;
34158 char * kwnames
[] = {
34159 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34164 if (!SWIG_IsOK(res1
)) {
34165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34167 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34174 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34178 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34182 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34186 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34190 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34191 wxPyEndAllowThreads(__tstate
);
34192 if (PyErr_Occurred()) SWIG_fail
;
34194 resultobj
= SWIG_Py_Void();
34201 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34202 PyObject
*resultobj
= 0;
34203 wxEffects
*arg1
= (wxEffects
*) 0 ;
34206 int arg4
= (int) 1 ;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 PyObject
* obj2
= 0 ;
34217 PyObject
* obj3
= 0 ;
34218 char * kwnames
[] = {
34219 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34224 if (!SWIG_IsOK(res1
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34227 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34229 if (!SWIG_IsOK(res2
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34235 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34238 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34242 if (!SWIG_IsOK(ecode4
)) {
34243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34245 arg4
= static_cast< int >(val4
);
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 resultobj
= SWIG_Py_Void();
34260 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
= 0;
34262 wxEffects
*arg1
= (wxEffects
*) 0 ;
34265 wxBitmap
*arg4
= 0 ;
34274 PyObject
* obj0
= 0 ;
34275 PyObject
* obj1
= 0 ;
34276 PyObject
* obj2
= 0 ;
34277 PyObject
* obj3
= 0 ;
34278 char * kwnames
[] = {
34279 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34284 if (!SWIG_IsOK(res1
)) {
34285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34287 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34290 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34292 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34293 if (!SWIG_IsOK(res3
)) {
34294 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34299 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34300 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34301 if (!SWIG_IsOK(res4
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34307 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34310 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34323 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34326 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34327 return SWIG_Py_Void();
34330 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34331 return SWIG_Python_InitShadowInstance(args
);
34334 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
= 0;
34339 wxSplitterRenderParams
*result
= 0 ;
34346 PyObject
* obj0
= 0 ;
34347 PyObject
* obj1
= 0 ;
34348 PyObject
* obj2
= 0 ;
34349 char * kwnames
[] = {
34350 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34354 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34355 if (!SWIG_IsOK(ecode1
)) {
34356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34358 arg1
= static_cast< int >(val1
);
34359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34360 if (!SWIG_IsOK(ecode2
)) {
34361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34363 arg2
= static_cast< int >(val2
);
34364 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34365 if (!SWIG_IsOK(ecode3
)) {
34366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34368 arg3
= static_cast< bool >(val3
);
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34382 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34383 PyObject
*resultobj
= 0;
34384 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34387 PyObject
*swig_obj
[1] ;
34389 if (!args
) SWIG_fail
;
34390 swig_obj
[0] = args
;
34391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34392 if (!SWIG_IsOK(res1
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34395 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 wxPyEndAllowThreads(__tstate
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34403 resultobj
= SWIG_Py_Void();
34410 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34411 PyObject
*resultobj
= 0;
34412 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34416 PyObject
*swig_obj
[1] ;
34418 if (!args
) SWIG_fail
;
34419 swig_obj
[0] = args
;
34420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34421 if (!SWIG_IsOK(res1
)) {
34422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34424 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34425 result
= (int)(int) ((arg1
)->widthSash
);
34426 resultobj
= SWIG_From_int(static_cast< int >(result
));
34433 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34434 PyObject
*resultobj
= 0;
34435 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34439 PyObject
*swig_obj
[1] ;
34441 if (!args
) SWIG_fail
;
34442 swig_obj
[0] = args
;
34443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34444 if (!SWIG_IsOK(res1
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34447 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34448 result
= (int)(int) ((arg1
)->border
);
34449 resultobj
= SWIG_From_int(static_cast< int >(result
));
34456 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34457 PyObject
*resultobj
= 0;
34458 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34462 PyObject
*swig_obj
[1] ;
34464 if (!args
) SWIG_fail
;
34465 swig_obj
[0] = args
;
34466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34467 if (!SWIG_IsOK(res1
)) {
34468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34470 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34471 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34472 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34479 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34482 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34483 return SWIG_Py_Void();
34486 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34487 return SWIG_Python_InitShadowInstance(args
);
34490 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34491 PyObject
*resultobj
= 0;
34492 wxHeaderButtonParams
*result
= 0 ;
34494 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34497 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34508 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34509 PyObject
*resultobj
= 0;
34510 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34513 PyObject
*swig_obj
[1] ;
34515 if (!args
) SWIG_fail
;
34516 swig_obj
[0] = args
;
34517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34518 if (!SWIG_IsOK(res1
)) {
34519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34521 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34526 wxPyEndAllowThreads(__tstate
);
34527 if (PyErr_Occurred()) SWIG_fail
;
34529 resultobj
= SWIG_Py_Void();
34536 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34537 PyObject
*resultobj
= 0;
34538 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34539 wxColour
*arg2
= (wxColour
*) 0 ;
34543 PyObject
*swig_obj
[2] ;
34545 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34547 if (!SWIG_IsOK(res1
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34550 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34553 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34555 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34557 resultobj
= SWIG_Py_Void();
34564 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34565 PyObject
*resultobj
= 0;
34566 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34567 wxColour
*result
= 0 ;
34570 PyObject
*swig_obj
[1] ;
34572 if (!args
) SWIG_fail
;
34573 swig_obj
[0] = args
;
34574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34575 if (!SWIG_IsOK(res1
)) {
34576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34578 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34579 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34587 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34588 PyObject
*resultobj
= 0;
34589 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34590 wxColour
*arg2
= (wxColour
*) 0 ;
34594 PyObject
*swig_obj
[2] ;
34596 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34598 if (!SWIG_IsOK(res1
)) {
34599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34601 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34604 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34606 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34608 resultobj
= SWIG_Py_Void();
34615 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34616 PyObject
*resultobj
= 0;
34617 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34618 wxColour
*result
= 0 ;
34621 PyObject
*swig_obj
[1] ;
34623 if (!args
) SWIG_fail
;
34624 swig_obj
[0] = args
;
34625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34626 if (!SWIG_IsOK(res1
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34629 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34630 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34638 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34639 PyObject
*resultobj
= 0;
34640 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34641 wxString
*arg2
= (wxString
*) 0 ;
34644 bool temp2
= false ;
34645 PyObject
*swig_obj
[2] ;
34647 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34649 if (!SWIG_IsOK(res1
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34652 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34654 arg2
= wxString_in_helper(swig_obj
[1]);
34655 if (arg2
== NULL
) SWIG_fail
;
34658 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34660 resultobj
= SWIG_Py_Void();
34675 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34676 PyObject
*resultobj
= 0;
34677 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34678 wxString
*result
= 0 ;
34681 PyObject
*swig_obj
[1] ;
34683 if (!args
) SWIG_fail
;
34684 swig_obj
[0] = args
;
34685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34686 if (!SWIG_IsOK(res1
)) {
34687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34689 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34690 result
= (wxString
*)& ((arg1
)->m_labelText
);
34693 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34695 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34704 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34705 PyObject
*resultobj
= 0;
34706 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34707 wxFont
*arg2
= (wxFont
*) 0 ;
34712 PyObject
*swig_obj
[2] ;
34714 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34716 if (!SWIG_IsOK(res1
)) {
34717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34719 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34720 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34721 if (!SWIG_IsOK(res2
)) {
34722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34724 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34725 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34727 resultobj
= SWIG_Py_Void();
34734 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34735 PyObject
*resultobj
= 0;
34736 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34737 wxFont
*result
= 0 ;
34740 PyObject
*swig_obj
[1] ;
34742 if (!args
) SWIG_fail
;
34743 swig_obj
[0] = args
;
34744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34745 if (!SWIG_IsOK(res1
)) {
34746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34748 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34749 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34757 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34758 PyObject
*resultobj
= 0;
34759 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34760 wxColour
*arg2
= (wxColour
*) 0 ;
34764 PyObject
*swig_obj
[2] ;
34766 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34768 if (!SWIG_IsOK(res1
)) {
34769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34771 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34774 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34776 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34778 resultobj
= SWIG_Py_Void();
34785 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34786 PyObject
*resultobj
= 0;
34787 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34788 wxColour
*result
= 0 ;
34791 PyObject
*swig_obj
[1] ;
34793 if (!args
) SWIG_fail
;
34794 swig_obj
[0] = args
;
34795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34796 if (!SWIG_IsOK(res1
)) {
34797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34799 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34800 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34808 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34809 PyObject
*resultobj
= 0;
34810 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34811 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34816 PyObject
*swig_obj
[2] ;
34818 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34820 if (!SWIG_IsOK(res1
)) {
34821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34823 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34824 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34825 if (!SWIG_IsOK(res2
)) {
34826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34828 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34829 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34831 resultobj
= SWIG_Py_Void();
34838 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34839 PyObject
*resultobj
= 0;
34840 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34841 wxBitmap
*result
= 0 ;
34844 PyObject
*swig_obj
[1] ;
34846 if (!args
) SWIG_fail
;
34847 swig_obj
[0] = args
;
34848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34849 if (!SWIG_IsOK(res1
)) {
34850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34852 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34853 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34861 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34862 PyObject
*resultobj
= 0;
34863 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34869 PyObject
*swig_obj
[2] ;
34871 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34873 if (!SWIG_IsOK(res1
)) {
34874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34876 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34877 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34878 if (!SWIG_IsOK(ecode2
)) {
34879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34881 arg2
= static_cast< int >(val2
);
34882 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34884 resultobj
= SWIG_Py_Void();
34891 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34892 PyObject
*resultobj
= 0;
34893 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34897 PyObject
*swig_obj
[1] ;
34899 if (!args
) SWIG_fail
;
34900 swig_obj
[0] = args
;
34901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34902 if (!SWIG_IsOK(res1
)) {
34903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34905 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34906 result
= (int) ((arg1
)->m_labelAlignment
);
34907 resultobj
= SWIG_From_int(static_cast< int >(result
));
34914 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34917 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34918 return SWIG_Py_Void();
34921 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34922 return SWIG_Python_InitShadowInstance(args
);
34925 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34926 PyObject
*resultobj
= 0;
34929 wxRendererVersion
*result
= 0 ;
34934 PyObject
* obj0
= 0 ;
34935 PyObject
* obj1
= 0 ;
34936 char * kwnames
[] = {
34937 (char *) "version_",(char *) "age_", NULL
34940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34942 if (!SWIG_IsOK(ecode1
)) {
34943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34945 arg1
= static_cast< int >(val1
);
34946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34947 if (!SWIG_IsOK(ecode2
)) {
34948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34950 arg2
= static_cast< int >(val2
);
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34964 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34965 PyObject
*resultobj
= 0;
34966 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34969 PyObject
*swig_obj
[1] ;
34971 if (!args
) SWIG_fail
;
34972 swig_obj
[0] = args
;
34973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34974 if (!SWIG_IsOK(res1
)) {
34975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34977 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34982 wxPyEndAllowThreads(__tstate
);
34983 if (PyErr_Occurred()) SWIG_fail
;
34985 resultobj
= SWIG_Py_Void();
34992 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
= 0;
34994 wxRendererVersion
*arg1
= 0 ;
34998 PyObject
* obj0
= 0 ;
34999 char * kwnames
[] = {
35000 (char *) "ver", NULL
35003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
35004 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
35005 if (!SWIG_IsOK(res1
)) {
35006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35011 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35014 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
35015 wxPyEndAllowThreads(__tstate
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35027 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35028 PyObject
*resultobj
= 0;
35029 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35033 PyObject
*swig_obj
[1] ;
35035 if (!args
) SWIG_fail
;
35036 swig_obj
[0] = args
;
35037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35038 if (!SWIG_IsOK(res1
)) {
35039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35041 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35042 result
= (int)(int) ((arg1
)->version
);
35043 resultobj
= SWIG_From_int(static_cast< int >(result
));
35050 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35051 PyObject
*resultobj
= 0;
35052 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35056 PyObject
*swig_obj
[1] ;
35058 if (!args
) SWIG_fail
;
35059 swig_obj
[0] = args
;
35060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35061 if (!SWIG_IsOK(res1
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35064 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35065 result
= (int)(int) ((arg1
)->age
);
35066 resultobj
= SWIG_From_int(static_cast< int >(result
));
35073 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35076 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
35077 return SWIG_Py_Void();
35080 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35081 return SWIG_Python_InitShadowInstance(args
);
35084 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35085 PyObject
*resultobj
= 0;
35086 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35087 wxWindow
*arg2
= (wxWindow
*) 0 ;
35090 int arg5
= (int) 0 ;
35091 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35092 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35107 PyObject
* obj0
= 0 ;
35108 PyObject
* obj1
= 0 ;
35109 PyObject
* obj2
= 0 ;
35110 PyObject
* obj3
= 0 ;
35111 PyObject
* obj4
= 0 ;
35112 PyObject
* obj5
= 0 ;
35113 PyObject
* obj6
= 0 ;
35114 char * kwnames
[] = {
35115 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35120 if (!SWIG_IsOK(res1
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35123 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35125 if (!SWIG_IsOK(res2
)) {
35126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35129 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35130 if (!SWIG_IsOK(res3
)) {
35131 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35136 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35139 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35142 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35143 if (!SWIG_IsOK(ecode5
)) {
35144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
35146 arg5
= static_cast< int >(val5
);
35149 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35150 if (!SWIG_IsOK(ecode6
)) {
35151 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35153 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35156 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35157 if (!SWIG_IsOK(res7
)) {
35158 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35160 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35164 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35168 resultobj
= SWIG_From_int(static_cast< int >(result
));
35175 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35176 PyObject
*resultobj
= 0;
35177 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35178 wxWindow
*arg2
= (wxWindow
*) 0 ;
35181 int arg5
= (int) 0 ;
35182 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35183 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35198 PyObject
* obj0
= 0 ;
35199 PyObject
* obj1
= 0 ;
35200 PyObject
* obj2
= 0 ;
35201 PyObject
* obj3
= 0 ;
35202 PyObject
* obj4
= 0 ;
35203 PyObject
* obj5
= 0 ;
35204 PyObject
* obj6
= 0 ;
35205 char * kwnames
[] = {
35206 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35211 if (!SWIG_IsOK(res1
)) {
35212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35214 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35216 if (!SWIG_IsOK(res2
)) {
35217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35219 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35220 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35221 if (!SWIG_IsOK(res3
)) {
35222 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35227 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35230 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35233 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35234 if (!SWIG_IsOK(ecode5
)) {
35235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35237 arg5
= static_cast< int >(val5
);
35240 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35241 if (!SWIG_IsOK(ecode6
)) {
35242 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35244 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35247 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35248 if (!SWIG_IsOK(res7
)) {
35249 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35251 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35255 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35256 wxPyEndAllowThreads(__tstate
);
35257 if (PyErr_Occurred()) SWIG_fail
;
35259 resultobj
= SWIG_From_int(static_cast< int >(result
));
35266 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35267 PyObject
*resultobj
= 0;
35268 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35269 wxWindow
*arg2
= (wxWindow
*) 0 ;
35275 PyObject
* obj0
= 0 ;
35276 PyObject
* obj1
= 0 ;
35277 char * kwnames
[] = {
35278 (char *) "self",(char *) "win", NULL
35281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35283 if (!SWIG_IsOK(res1
)) {
35284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35286 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35288 if (!SWIG_IsOK(res2
)) {
35289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35295 wxPyEndAllowThreads(__tstate
);
35296 if (PyErr_Occurred()) SWIG_fail
;
35298 resultobj
= SWIG_From_int(static_cast< int >(result
));
35305 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35306 PyObject
*resultobj
= 0;
35307 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35308 wxWindow
*arg2
= (wxWindow
*) 0 ;
35311 int arg5
= (int) 0 ;
35321 PyObject
* obj0
= 0 ;
35322 PyObject
* obj1
= 0 ;
35323 PyObject
* obj2
= 0 ;
35324 PyObject
* obj3
= 0 ;
35325 PyObject
* obj4
= 0 ;
35326 char * kwnames
[] = {
35327 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35332 if (!SWIG_IsOK(res1
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35335 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35337 if (!SWIG_IsOK(res2
)) {
35338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35340 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35341 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35342 if (!SWIG_IsOK(res3
)) {
35343 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35348 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35351 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35354 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35355 if (!SWIG_IsOK(ecode5
)) {
35356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35358 arg5
= static_cast< int >(val5
);
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= SWIG_Py_Void();
35373 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35376 wxWindow
*arg2
= (wxWindow
*) 0 ;
35379 int arg5
= (int) 0 ;
35389 PyObject
* obj0
= 0 ;
35390 PyObject
* obj1
= 0 ;
35391 PyObject
* obj2
= 0 ;
35392 PyObject
* obj3
= 0 ;
35393 PyObject
* obj4
= 0 ;
35394 char * kwnames
[] = {
35395 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35400 if (!SWIG_IsOK(res1
)) {
35401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35403 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35405 if (!SWIG_IsOK(res2
)) {
35406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35408 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35409 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35410 if (!SWIG_IsOK(res3
)) {
35411 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35416 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35419 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35422 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35423 if (!SWIG_IsOK(ecode5
)) {
35424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35426 arg5
= static_cast< int >(val5
);
35429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35430 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 resultobj
= SWIG_Py_Void();
35441 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35442 PyObject
*resultobj
= 0;
35443 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35444 wxWindow
*arg2
= (wxWindow
*) 0 ;
35448 wxOrientation arg6
;
35449 int arg7
= (int) 0 ;
35463 PyObject
* obj0
= 0 ;
35464 PyObject
* obj1
= 0 ;
35465 PyObject
* obj2
= 0 ;
35466 PyObject
* obj3
= 0 ;
35467 PyObject
* obj4
= 0 ;
35468 PyObject
* obj5
= 0 ;
35469 PyObject
* obj6
= 0 ;
35470 char * kwnames
[] = {
35471 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35476 if (!SWIG_IsOK(res1
)) {
35477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35479 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35481 if (!SWIG_IsOK(res2
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35484 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35485 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35486 if (!SWIG_IsOK(res3
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35492 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35495 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35497 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35498 if (!SWIG_IsOK(ecode5
)) {
35499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35501 arg5
= static_cast< int >(val5
);
35502 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35503 if (!SWIG_IsOK(ecode6
)) {
35504 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35506 arg6
= static_cast< wxOrientation
>(val6
);
35508 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35509 if (!SWIG_IsOK(ecode7
)) {
35510 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35512 arg7
= static_cast< int >(val7
);
35515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35516 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 resultobj
= SWIG_Py_Void();
35527 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
= 0;
35529 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35530 wxWindow
*arg2
= (wxWindow
*) 0 ;
35533 int arg5
= (int) 0 ;
35543 PyObject
* obj0
= 0 ;
35544 PyObject
* obj1
= 0 ;
35545 PyObject
* obj2
= 0 ;
35546 PyObject
* obj3
= 0 ;
35547 PyObject
* obj4
= 0 ;
35548 char * kwnames
[] = {
35549 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35554 if (!SWIG_IsOK(res1
)) {
35555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35557 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35559 if (!SWIG_IsOK(res2
)) {
35560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35562 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35563 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35564 if (!SWIG_IsOK(res3
)) {
35565 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35570 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35573 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35576 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35577 if (!SWIG_IsOK(ecode5
)) {
35578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35580 arg5
= static_cast< int >(val5
);
35583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35584 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35585 wxPyEndAllowThreads(__tstate
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35588 resultobj
= SWIG_Py_Void();
35595 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= 0;
35597 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35598 wxWindow
*arg2
= (wxWindow
*) 0 ;
35601 int arg5
= (int) 0 ;
35611 PyObject
* obj0
= 0 ;
35612 PyObject
* obj1
= 0 ;
35613 PyObject
* obj2
= 0 ;
35614 PyObject
* obj3
= 0 ;
35615 PyObject
* obj4
= 0 ;
35616 char * kwnames
[] = {
35617 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35622 if (!SWIG_IsOK(res1
)) {
35623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35625 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35627 if (!SWIG_IsOK(res2
)) {
35628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35630 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35631 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35632 if (!SWIG_IsOK(res3
)) {
35633 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35638 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35641 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35644 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35645 if (!SWIG_IsOK(ecode5
)) {
35646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35648 arg5
= static_cast< int >(val5
);
35651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35652 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35653 wxPyEndAllowThreads(__tstate
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35656 resultobj
= SWIG_Py_Void();
35663 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
= 0;
35665 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35666 wxWindow
*arg2
= (wxWindow
*) 0 ;
35669 int arg5
= (int) 0 ;
35679 PyObject
* obj0
= 0 ;
35680 PyObject
* obj1
= 0 ;
35681 PyObject
* obj2
= 0 ;
35682 PyObject
* obj3
= 0 ;
35683 PyObject
* obj4
= 0 ;
35684 char * kwnames
[] = {
35685 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35690 if (!SWIG_IsOK(res1
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35693 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35695 if (!SWIG_IsOK(res2
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35698 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35699 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35700 if (!SWIG_IsOK(res3
)) {
35701 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35706 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35709 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35713 if (!SWIG_IsOK(ecode5
)) {
35714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35716 arg5
= static_cast< int >(val5
);
35719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35720 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35721 wxPyEndAllowThreads(__tstate
);
35722 if (PyErr_Occurred()) SWIG_fail
;
35724 resultobj
= SWIG_Py_Void();
35731 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35732 PyObject
*resultobj
= 0;
35733 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35734 wxWindow
*arg2
= (wxWindow
*) 0 ;
35737 int arg5
= (int) 0 ;
35747 PyObject
* obj0
= 0 ;
35748 PyObject
* obj1
= 0 ;
35749 PyObject
* obj2
= 0 ;
35750 PyObject
* obj3
= 0 ;
35751 PyObject
* obj4
= 0 ;
35752 char * kwnames
[] = {
35753 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35758 if (!SWIG_IsOK(res1
)) {
35759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35761 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35763 if (!SWIG_IsOK(res2
)) {
35764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35766 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35767 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35768 if (!SWIG_IsOK(res3
)) {
35769 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35774 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35777 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35780 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35781 if (!SWIG_IsOK(ecode5
)) {
35782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35784 arg5
= static_cast< int >(val5
);
35787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35788 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35789 wxPyEndAllowThreads(__tstate
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35792 resultobj
= SWIG_Py_Void();
35799 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35800 PyObject
*resultobj
= 0;
35801 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35802 wxWindow
*arg2
= (wxWindow
*) 0 ;
35805 int arg5
= (int) 0 ;
35815 PyObject
* obj0
= 0 ;
35816 PyObject
* obj1
= 0 ;
35817 PyObject
* obj2
= 0 ;
35818 PyObject
* obj3
= 0 ;
35819 PyObject
* obj4
= 0 ;
35820 char * kwnames
[] = {
35821 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35826 if (!SWIG_IsOK(res1
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35829 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35831 if (!SWIG_IsOK(res2
)) {
35832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35834 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35835 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35836 if (!SWIG_IsOK(res3
)) {
35837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35842 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35845 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35848 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35849 if (!SWIG_IsOK(ecode5
)) {
35850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35852 arg5
= static_cast< int >(val5
);
35855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35856 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35860 resultobj
= SWIG_Py_Void();
35867 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35868 PyObject
*resultobj
= 0;
35869 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35870 wxWindow
*arg2
= (wxWindow
*) 0 ;
35871 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35876 PyObject
* obj0
= 0 ;
35877 PyObject
* obj1
= 0 ;
35878 char * kwnames
[] = {
35879 (char *) "self",(char *) "win", NULL
35882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35884 if (!SWIG_IsOK(res1
)) {
35885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35887 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35889 if (!SWIG_IsOK(res2
)) {
35890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35892 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35895 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35896 wxPyEndAllowThreads(__tstate
);
35897 if (PyErr_Occurred()) SWIG_fail
;
35899 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35906 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35907 PyObject
*resultobj
= 0;
35908 wxRendererNative
*result
= 0 ;
35910 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35912 if (!wxPyCheckForApp()) SWIG_fail
;
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35915 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35916 result
= (wxRendererNative
*) &_result_ref
;
35918 wxPyEndAllowThreads(__tstate
);
35919 if (PyErr_Occurred()) SWIG_fail
;
35921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35928 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35929 PyObject
*resultobj
= 0;
35930 wxRendererNative
*result
= 0 ;
35932 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35934 if (!wxPyCheckForApp()) SWIG_fail
;
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35937 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35938 result
= (wxRendererNative
*) &_result_ref
;
35940 wxPyEndAllowThreads(__tstate
);
35941 if (PyErr_Occurred()) SWIG_fail
;
35943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35950 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35951 PyObject
*resultobj
= 0;
35952 wxRendererNative
*result
= 0 ;
35954 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35956 if (!wxPyCheckForApp()) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35959 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35960 result
= (wxRendererNative
*) &_result_ref
;
35962 wxPyEndAllowThreads(__tstate
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35972 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35973 PyObject
*resultobj
= 0;
35974 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35975 wxRendererNative
*result
= 0 ;
35978 PyObject
* obj0
= 0 ;
35979 char * kwnames
[] = {
35980 (char *) "renderer", NULL
35983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35985 if (!SWIG_IsOK(res1
)) {
35986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35988 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35990 if (!wxPyCheckForApp()) SWIG_fail
;
35991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35992 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35993 wxPyEndAllowThreads(__tstate
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36003 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36004 PyObject
*resultobj
= 0;
36005 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36006 SwigValueWrapper
<wxRendererVersion
> result
;
36009 PyObject
*swig_obj
[1] ;
36011 if (!args
) SWIG_fail
;
36012 swig_obj
[0] = args
;
36013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36014 if (!SWIG_IsOK(res1
)) {
36015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
36017 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
36021 wxPyEndAllowThreads(__tstate
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
36031 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36034 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
36035 return SWIG_Py_Void();
36038 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36039 PyObject
*resultobj
= 0;
36040 wxPseudoDC
*result
= 0 ;
36042 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
36044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36045 result
= (wxPseudoDC
*)new wxPseudoDC();
36046 wxPyEndAllowThreads(__tstate
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
36056 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36057 PyObject
*resultobj
= 0;
36058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36061 PyObject
*swig_obj
[1] ;
36063 if (!args
) SWIG_fail
;
36064 swig_obj
[0] = args
;
36065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36066 if (!SWIG_IsOK(res1
)) {
36067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36069 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36072 (arg1
)->BeginDrawing();
36073 wxPyEndAllowThreads(__tstate
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36076 resultobj
= SWIG_Py_Void();
36083 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36084 PyObject
*resultobj
= 0;
36085 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36088 PyObject
*swig_obj
[1] ;
36090 if (!args
) SWIG_fail
;
36091 swig_obj
[0] = args
;
36092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36093 if (!SWIG_IsOK(res1
)) {
36094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36096 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36099 (arg1
)->EndDrawing();
36100 wxPyEndAllowThreads(__tstate
);
36101 if (PyErr_Occurred()) SWIG_fail
;
36103 resultobj
= SWIG_Py_Void();
36110 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36111 PyObject
*resultobj
= 0;
36112 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36115 PyObject
*swig_obj
[1] ;
36117 if (!args
) SWIG_fail
;
36118 swig_obj
[0] = args
;
36119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
36120 if (!SWIG_IsOK(res1
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36123 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36128 wxPyEndAllowThreads(__tstate
);
36129 if (PyErr_Occurred()) SWIG_fail
;
36131 resultobj
= SWIG_Py_Void();
36138 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36139 PyObject
*resultobj
= 0;
36140 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36143 PyObject
*swig_obj
[1] ;
36145 if (!args
) SWIG_fail
;
36146 swig_obj
[0] = args
;
36147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36148 if (!SWIG_IsOK(res1
)) {
36149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36151 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36154 (arg1
)->RemoveAll();
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36158 resultobj
= SWIG_Py_Void();
36165 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36166 PyObject
*resultobj
= 0;
36167 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36171 PyObject
*swig_obj
[1] ;
36173 if (!args
) SWIG_fail
;
36174 swig_obj
[0] = args
;
36175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36176 if (!SWIG_IsOK(res1
)) {
36177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36179 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36182 result
= (int)(arg1
)->GetLen();
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36186 resultobj
= SWIG_From_int(static_cast< int >(result
));
36193 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36194 PyObject
*resultobj
= 0;
36195 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36201 PyObject
* obj0
= 0 ;
36202 PyObject
* obj1
= 0 ;
36203 char * kwnames
[] = {
36204 (char *) "self",(char *) "id", NULL
36207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36209 if (!SWIG_IsOK(res1
)) {
36210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36212 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36214 if (!SWIG_IsOK(ecode2
)) {
36215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36217 arg2
= static_cast< int >(val2
);
36219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36220 (arg1
)->SetId(arg2
);
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36224 resultobj
= SWIG_Py_Void();
36231 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36232 PyObject
*resultobj
= 0;
36233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36239 PyObject
* obj0
= 0 ;
36240 PyObject
* obj1
= 0 ;
36241 char * kwnames
[] = {
36242 (char *) "self",(char *) "id", NULL
36245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36247 if (!SWIG_IsOK(res1
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36252 if (!SWIG_IsOK(ecode2
)) {
36253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36255 arg2
= static_cast< int >(val2
);
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 (arg1
)->ClearId(arg2
);
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= SWIG_Py_Void();
36269 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36270 PyObject
*resultobj
= 0;
36271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36277 PyObject
* obj0
= 0 ;
36278 PyObject
* obj1
= 0 ;
36279 char * kwnames
[] = {
36280 (char *) "self",(char *) "id", NULL
36283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36285 if (!SWIG_IsOK(res1
)) {
36286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36288 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36290 if (!SWIG_IsOK(ecode2
)) {
36291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36293 arg2
= static_cast< int >(val2
);
36295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36296 (arg1
)->RemoveId(arg2
);
36297 wxPyEndAllowThreads(__tstate
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36300 resultobj
= SWIG_Py_Void();
36307 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36308 PyObject
*resultobj
= 0;
36309 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36321 PyObject
* obj0
= 0 ;
36322 PyObject
* obj1
= 0 ;
36323 PyObject
* obj2
= 0 ;
36324 PyObject
* obj3
= 0 ;
36325 char * kwnames
[] = {
36326 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36331 if (!SWIG_IsOK(res1
)) {
36332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36334 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36336 if (!SWIG_IsOK(ecode2
)) {
36337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36339 arg2
= static_cast< int >(val2
);
36340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36341 if (!SWIG_IsOK(ecode3
)) {
36342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36344 arg3
= static_cast< int >(val3
);
36345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36346 if (!SWIG_IsOK(ecode4
)) {
36347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36349 arg4
= static_cast< int >(val4
);
36351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36352 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36353 wxPyEndAllowThreads(__tstate
);
36354 if (PyErr_Occurred()) SWIG_fail
;
36356 resultobj
= SWIG_Py_Void();
36363 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36364 PyObject
*resultobj
= 0;
36365 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36367 bool arg3
= (bool) true ;
36374 PyObject
* obj0
= 0 ;
36375 PyObject
* obj1
= 0 ;
36376 PyObject
* obj2
= 0 ;
36377 char * kwnames
[] = {
36378 (char *) "self",(char *) "id",(char *) "greyout", NULL
36381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36383 if (!SWIG_IsOK(res1
)) {
36384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36386 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36388 if (!SWIG_IsOK(ecode2
)) {
36389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36391 arg2
= static_cast< int >(val2
);
36393 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36394 if (!SWIG_IsOK(ecode3
)) {
36395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36397 arg3
= static_cast< bool >(val3
);
36400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36401 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36402 wxPyEndAllowThreads(__tstate
);
36403 if (PyErr_Occurred()) SWIG_fail
;
36405 resultobj
= SWIG_Py_Void();
36412 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36413 PyObject
*resultobj
= 0;
36414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36421 PyObject
* obj0
= 0 ;
36422 PyObject
* obj1
= 0 ;
36423 char * kwnames
[] = {
36424 (char *) "self",(char *) "id", NULL
36427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36429 if (!SWIG_IsOK(res1
)) {
36430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36432 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36434 if (!SWIG_IsOK(ecode2
)) {
36435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36437 arg2
= static_cast< int >(val2
);
36439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36440 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36453 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
= 0;
36455 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36458 int arg4
= (int) 1 ;
36459 wxColor
const &arg5_defvalue
= *wxWHITE
;
36460 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36461 PyObject
*result
= 0 ;
36472 PyObject
* obj0
= 0 ;
36473 PyObject
* obj1
= 0 ;
36474 PyObject
* obj2
= 0 ;
36475 PyObject
* obj3
= 0 ;
36476 PyObject
* obj4
= 0 ;
36477 char * kwnames
[] = {
36478 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36483 if (!SWIG_IsOK(res1
)) {
36484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36488 if (!SWIG_IsOK(ecode2
)) {
36489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36491 arg2
= static_cast< int >(val2
);
36492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36493 if (!SWIG_IsOK(ecode3
)) {
36494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36496 arg3
= static_cast< int >(val3
);
36498 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36499 if (!SWIG_IsOK(ecode4
)) {
36500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36502 arg4
= static_cast< int >(val4
);
36505 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36506 if (!SWIG_IsOK(res5
)) {
36507 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36512 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36515 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36516 if (PyErr_Occurred()) SWIG_fail
;
36518 resultobj
= result
;
36525 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36526 PyObject
*resultobj
= 0;
36527 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36530 PyObject
*result
= 0 ;
36537 PyObject
* obj0
= 0 ;
36538 PyObject
* obj1
= 0 ;
36539 PyObject
* obj2
= 0 ;
36540 char * kwnames
[] = {
36541 (char *) "self",(char *) "x",(char *) "y", NULL
36544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36546 if (!SWIG_IsOK(res1
)) {
36547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36549 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36551 if (!SWIG_IsOK(ecode2
)) {
36552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36554 arg2
= static_cast< int >(val2
);
36555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36556 if (!SWIG_IsOK(ecode3
)) {
36557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36559 arg3
= static_cast< int >(val3
);
36561 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 resultobj
= result
;
36571 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36572 PyObject
*resultobj
= 0;
36573 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36575 wxDC
*arg3
= (wxDC
*) 0 ;
36582 PyObject
* obj0
= 0 ;
36583 PyObject
* obj1
= 0 ;
36584 PyObject
* obj2
= 0 ;
36585 char * kwnames
[] = {
36586 (char *) "self",(char *) "id",(char *) "dc", NULL
36589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36591 if (!SWIG_IsOK(res1
)) {
36592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36594 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36596 if (!SWIG_IsOK(ecode2
)) {
36597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36599 arg2
= static_cast< int >(val2
);
36600 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36601 if (!SWIG_IsOK(res3
)) {
36602 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36604 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 (arg1
)->DrawIdToDC(arg2
,arg3
);
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= SWIG_Py_Void();
36618 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36619 PyObject
*resultobj
= 0;
36620 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36628 PyObject
* obj0
= 0 ;
36629 PyObject
* obj1
= 0 ;
36630 PyObject
* obj2
= 0 ;
36631 char * kwnames
[] = {
36632 (char *) "self",(char *) "id",(char *) "rect", NULL
36635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36637 if (!SWIG_IsOK(res1
)) {
36638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36640 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36642 if (!SWIG_IsOK(ecode2
)) {
36643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36645 arg2
= static_cast< int >(val2
);
36648 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 (arg1
)->SetIdBounds(arg2
,*arg3
);
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36656 resultobj
= SWIG_Py_Void();
36663 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36664 PyObject
*resultobj
= 0;
36665 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36672 PyObject
* obj0
= 0 ;
36673 PyObject
* obj1
= 0 ;
36674 char * kwnames
[] = {
36675 (char *) "self",(char *) "id", NULL
36678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36680 if (!SWIG_IsOK(res1
)) {
36681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36683 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36685 if (!SWIG_IsOK(ecode2
)) {
36686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36688 arg2
= static_cast< int >(val2
);
36690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36691 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36702 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
= 0;
36704 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36705 wxDC
*arg2
= (wxDC
*) 0 ;
36712 PyObject
* obj0
= 0 ;
36713 PyObject
* obj1
= 0 ;
36714 PyObject
* obj2
= 0 ;
36715 char * kwnames
[] = {
36716 (char *) "self",(char *) "dc",(char *) "rect", NULL
36719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36721 if (!SWIG_IsOK(res1
)) {
36722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36724 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36726 if (!SWIG_IsOK(res2
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36729 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36732 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36736 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36740 resultobj
= SWIG_Py_Void();
36747 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36748 PyObject
*resultobj
= 0;
36749 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36750 wxDC
*arg2
= (wxDC
*) 0 ;
36751 wxRegion
*arg3
= 0 ;
36758 PyObject
* obj0
= 0 ;
36759 PyObject
* obj1
= 0 ;
36760 PyObject
* obj2
= 0 ;
36761 char * kwnames
[] = {
36762 (char *) "self",(char *) "dc",(char *) "region", NULL
36765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36767 if (!SWIG_IsOK(res1
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36770 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36772 if (!SWIG_IsOK(res2
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36775 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36776 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36777 if (!SWIG_IsOK(res3
)) {
36778 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36783 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36786 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36790 resultobj
= SWIG_Py_Void();
36797 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36798 PyObject
*resultobj
= 0;
36799 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36800 wxDC
*arg2
= (wxDC
*) 0 ;
36805 PyObject
* obj0
= 0 ;
36806 PyObject
* obj1
= 0 ;
36807 char * kwnames
[] = {
36808 (char *) "self",(char *) "dc", NULL
36811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36813 if (!SWIG_IsOK(res1
)) {
36814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36816 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36818 if (!SWIG_IsOK(res2
)) {
36819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36821 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36824 (arg1
)->DrawToDC(arg2
);
36825 wxPyEndAllowThreads(__tstate
);
36826 if (PyErr_Occurred()) SWIG_fail
;
36828 resultobj
= SWIG_Py_Void();
36835 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36836 PyObject
*resultobj
= 0;
36837 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36840 wxColour
*arg4
= 0 ;
36841 int arg5
= (int) wxFLOOD_SURFACE
;
36851 PyObject
* obj0
= 0 ;
36852 PyObject
* obj1
= 0 ;
36853 PyObject
* obj2
= 0 ;
36854 PyObject
* obj3
= 0 ;
36855 PyObject
* obj4
= 0 ;
36856 char * kwnames
[] = {
36857 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36862 if (!SWIG_IsOK(res1
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36867 if (!SWIG_IsOK(ecode2
)) {
36868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36870 arg2
= static_cast< int >(val2
);
36871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36872 if (!SWIG_IsOK(ecode3
)) {
36873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36875 arg3
= static_cast< int >(val3
);
36878 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36882 if (!SWIG_IsOK(ecode5
)) {
36883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36885 arg5
= static_cast< int >(val5
);
36888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36889 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36890 wxPyEndAllowThreads(__tstate
);
36891 if (PyErr_Occurred()) SWIG_fail
;
36893 resultobj
= SWIG_Py_Void();
36900 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36901 PyObject
*resultobj
= 0;
36902 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36903 wxPoint
*arg2
= 0 ;
36904 wxColour
*arg3
= 0 ;
36905 int arg4
= (int) wxFLOOD_SURFACE
;
36912 PyObject
* obj0
= 0 ;
36913 PyObject
* obj1
= 0 ;
36914 PyObject
* obj2
= 0 ;
36915 PyObject
* obj3
= 0 ;
36916 char * kwnames
[] = {
36917 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36922 if (!SWIG_IsOK(res1
)) {
36923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36925 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36932 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36936 if (!SWIG_IsOK(ecode4
)) {
36937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36939 arg4
= static_cast< int >(val4
);
36942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36943 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36944 wxPyEndAllowThreads(__tstate
);
36945 if (PyErr_Occurred()) SWIG_fail
;
36947 resultobj
= SWIG_Py_Void();
36954 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36955 PyObject
*resultobj
= 0;
36956 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36971 PyObject
* obj0
= 0 ;
36972 PyObject
* obj1
= 0 ;
36973 PyObject
* obj2
= 0 ;
36974 PyObject
* obj3
= 0 ;
36975 PyObject
* obj4
= 0 ;
36976 char * kwnames
[] = {
36977 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36982 if (!SWIG_IsOK(res1
)) {
36983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36985 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36987 if (!SWIG_IsOK(ecode2
)) {
36988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36990 arg2
= static_cast< int >(val2
);
36991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36992 if (!SWIG_IsOK(ecode3
)) {
36993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36995 arg3
= static_cast< int >(val3
);
36996 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36997 if (!SWIG_IsOK(ecode4
)) {
36998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
37000 arg4
= static_cast< int >(val4
);
37001 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37002 if (!SWIG_IsOK(ecode5
)) {
37003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
37005 arg5
= static_cast< int >(val5
);
37007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37008 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37012 resultobj
= SWIG_Py_Void();
37019 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37020 PyObject
*resultobj
= 0;
37021 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37022 wxPoint
*arg2
= 0 ;
37023 wxPoint
*arg3
= 0 ;
37028 PyObject
* obj0
= 0 ;
37029 PyObject
* obj1
= 0 ;
37030 PyObject
* obj2
= 0 ;
37031 char * kwnames
[] = {
37032 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
37035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37037 if (!SWIG_IsOK(res1
)) {
37038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37051 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
37052 wxPyEndAllowThreads(__tstate
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37055 resultobj
= SWIG_Py_Void();
37062 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37063 PyObject
*resultobj
= 0;
37064 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37073 PyObject
* obj0
= 0 ;
37074 PyObject
* obj1
= 0 ;
37075 PyObject
* obj2
= 0 ;
37076 char * kwnames
[] = {
37077 (char *) "self",(char *) "x",(char *) "y", NULL
37080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37082 if (!SWIG_IsOK(res1
)) {
37083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37085 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37087 if (!SWIG_IsOK(ecode2
)) {
37088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
37090 arg2
= static_cast< int >(val2
);
37091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37092 if (!SWIG_IsOK(ecode3
)) {
37093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
37095 arg3
= static_cast< int >(val3
);
37097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37098 (arg1
)->CrossHair(arg2
,arg3
);
37099 wxPyEndAllowThreads(__tstate
);
37100 if (PyErr_Occurred()) SWIG_fail
;
37102 resultobj
= SWIG_Py_Void();
37109 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37110 PyObject
*resultobj
= 0;
37111 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37112 wxPoint
*arg2
= 0 ;
37116 PyObject
* obj0
= 0 ;
37117 PyObject
* obj1
= 0 ;
37118 char * kwnames
[] = {
37119 (char *) "self",(char *) "pt", NULL
37122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37124 if (!SWIG_IsOK(res1
)) {
37125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37127 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37134 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
37135 wxPyEndAllowThreads(__tstate
);
37136 if (PyErr_Occurred()) SWIG_fail
;
37138 resultobj
= SWIG_Py_Void();
37145 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37146 PyObject
*resultobj
= 0;
37147 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37168 PyObject
* obj0
= 0 ;
37169 PyObject
* obj1
= 0 ;
37170 PyObject
* obj2
= 0 ;
37171 PyObject
* obj3
= 0 ;
37172 PyObject
* obj4
= 0 ;
37173 PyObject
* obj5
= 0 ;
37174 PyObject
* obj6
= 0 ;
37175 char * kwnames
[] = {
37176 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37181 if (!SWIG_IsOK(res1
)) {
37182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37184 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37186 if (!SWIG_IsOK(ecode2
)) {
37187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37189 arg2
= static_cast< int >(val2
);
37190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37191 if (!SWIG_IsOK(ecode3
)) {
37192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37194 arg3
= static_cast< int >(val3
);
37195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37196 if (!SWIG_IsOK(ecode4
)) {
37197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37199 arg4
= static_cast< int >(val4
);
37200 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37201 if (!SWIG_IsOK(ecode5
)) {
37202 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37204 arg5
= static_cast< int >(val5
);
37205 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37206 if (!SWIG_IsOK(ecode6
)) {
37207 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37209 arg6
= static_cast< int >(val6
);
37210 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37211 if (!SWIG_IsOK(ecode7
)) {
37212 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37214 arg7
= static_cast< int >(val7
);
37216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37217 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37218 wxPyEndAllowThreads(__tstate
);
37219 if (PyErr_Occurred()) SWIG_fail
;
37221 resultobj
= SWIG_Py_Void();
37228 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37229 PyObject
*resultobj
= 0;
37230 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37231 wxPoint
*arg2
= 0 ;
37232 wxPoint
*arg3
= 0 ;
37233 wxPoint
*arg4
= 0 ;
37239 PyObject
* obj0
= 0 ;
37240 PyObject
* obj1
= 0 ;
37241 PyObject
* obj2
= 0 ;
37242 PyObject
* obj3
= 0 ;
37243 char * kwnames
[] = {
37244 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37249 if (!SWIG_IsOK(res1
)) {
37250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37252 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37259 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37263 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37267 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37268 wxPyEndAllowThreads(__tstate
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37271 resultobj
= SWIG_Py_Void();
37278 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37279 PyObject
*resultobj
= 0;
37280 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37295 PyObject
* obj0
= 0 ;
37296 PyObject
* obj1
= 0 ;
37297 PyObject
* obj2
= 0 ;
37298 PyObject
* obj3
= 0 ;
37299 PyObject
* obj4
= 0 ;
37300 char * kwnames
[] = {
37301 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37306 if (!SWIG_IsOK(res1
)) {
37307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37309 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37311 if (!SWIG_IsOK(ecode2
)) {
37312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37314 arg2
= static_cast< int >(val2
);
37315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37316 if (!SWIG_IsOK(ecode3
)) {
37317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37319 arg3
= static_cast< int >(val3
);
37320 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37321 if (!SWIG_IsOK(ecode4
)) {
37322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37324 arg4
= static_cast< int >(val4
);
37325 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37326 if (!SWIG_IsOK(ecode5
)) {
37327 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37329 arg5
= static_cast< int >(val5
);
37331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37332 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37333 wxPyEndAllowThreads(__tstate
);
37334 if (PyErr_Occurred()) SWIG_fail
;
37336 resultobj
= SWIG_Py_Void();
37343 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37344 PyObject
*resultobj
= 0;
37345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37350 PyObject
* obj0
= 0 ;
37351 PyObject
* obj1
= 0 ;
37352 char * kwnames
[] = {
37353 (char *) "self",(char *) "rect", NULL
37356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37358 if (!SWIG_IsOK(res1
)) {
37359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37361 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37364 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37368 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37369 wxPyEndAllowThreads(__tstate
);
37370 if (PyErr_Occurred()) SWIG_fail
;
37372 resultobj
= SWIG_Py_Void();
37379 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37380 PyObject
*resultobj
= 0;
37381 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37402 PyObject
* obj0
= 0 ;
37403 PyObject
* obj1
= 0 ;
37404 PyObject
* obj2
= 0 ;
37405 PyObject
* obj3
= 0 ;
37406 PyObject
* obj4
= 0 ;
37407 PyObject
* obj5
= 0 ;
37408 PyObject
* obj6
= 0 ;
37409 char * kwnames
[] = {
37410 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37415 if (!SWIG_IsOK(res1
)) {
37416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37418 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37420 if (!SWIG_IsOK(ecode2
)) {
37421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37423 arg2
= static_cast< int >(val2
);
37424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37425 if (!SWIG_IsOK(ecode3
)) {
37426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37428 arg3
= static_cast< int >(val3
);
37429 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37430 if (!SWIG_IsOK(ecode4
)) {
37431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37433 arg4
= static_cast< int >(val4
);
37434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37435 if (!SWIG_IsOK(ecode5
)) {
37436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37438 arg5
= static_cast< int >(val5
);
37439 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37440 if (!SWIG_IsOK(ecode6
)) {
37441 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37443 arg6
= static_cast< double >(val6
);
37444 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37445 if (!SWIG_IsOK(ecode7
)) {
37446 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37448 arg7
= static_cast< double >(val7
);
37450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37451 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 resultobj
= SWIG_Py_Void();
37462 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37463 PyObject
*resultobj
= 0;
37464 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37465 wxPoint
*arg2
= 0 ;
37477 PyObject
* obj0
= 0 ;
37478 PyObject
* obj1
= 0 ;
37479 PyObject
* obj2
= 0 ;
37480 PyObject
* obj3
= 0 ;
37481 PyObject
* obj4
= 0 ;
37482 char * kwnames
[] = {
37483 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37488 if (!SWIG_IsOK(res1
)) {
37489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37498 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37500 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37501 if (!SWIG_IsOK(ecode4
)) {
37502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37504 arg4
= static_cast< double >(val4
);
37505 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37506 if (!SWIG_IsOK(ecode5
)) {
37507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37509 arg5
= static_cast< double >(val5
);
37511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37512 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37513 wxPyEndAllowThreads(__tstate
);
37514 if (PyErr_Occurred()) SWIG_fail
;
37516 resultobj
= SWIG_Py_Void();
37523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37524 PyObject
*resultobj
= 0;
37525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37534 PyObject
* obj0
= 0 ;
37535 PyObject
* obj1
= 0 ;
37536 PyObject
* obj2
= 0 ;
37537 char * kwnames
[] = {
37538 (char *) "self",(char *) "x",(char *) "y", NULL
37541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37543 if (!SWIG_IsOK(res1
)) {
37544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37546 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37548 if (!SWIG_IsOK(ecode2
)) {
37549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37551 arg2
= static_cast< int >(val2
);
37552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37553 if (!SWIG_IsOK(ecode3
)) {
37554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37556 arg3
= static_cast< int >(val3
);
37558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37559 (arg1
)->DrawPoint(arg2
,arg3
);
37560 wxPyEndAllowThreads(__tstate
);
37561 if (PyErr_Occurred()) SWIG_fail
;
37563 resultobj
= SWIG_Py_Void();
37570 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37571 PyObject
*resultobj
= 0;
37572 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37573 wxPoint
*arg2
= 0 ;
37577 PyObject
* obj0
= 0 ;
37578 PyObject
* obj1
= 0 ;
37579 char * kwnames
[] = {
37580 (char *) "self",(char *) "pt", NULL
37583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37585 if (!SWIG_IsOK(res1
)) {
37586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37588 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37595 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37596 wxPyEndAllowThreads(__tstate
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37599 resultobj
= SWIG_Py_Void();
37606 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37607 PyObject
*resultobj
= 0;
37608 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37623 PyObject
* obj0
= 0 ;
37624 PyObject
* obj1
= 0 ;
37625 PyObject
* obj2
= 0 ;
37626 PyObject
* obj3
= 0 ;
37627 PyObject
* obj4
= 0 ;
37628 char * kwnames
[] = {
37629 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37634 if (!SWIG_IsOK(res1
)) {
37635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37637 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37639 if (!SWIG_IsOK(ecode2
)) {
37640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37642 arg2
= static_cast< int >(val2
);
37643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37644 if (!SWIG_IsOK(ecode3
)) {
37645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37647 arg3
= static_cast< int >(val3
);
37648 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37649 if (!SWIG_IsOK(ecode4
)) {
37650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37652 arg4
= static_cast< int >(val4
);
37653 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37654 if (!SWIG_IsOK(ecode5
)) {
37655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37657 arg5
= static_cast< int >(val5
);
37659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37660 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37661 wxPyEndAllowThreads(__tstate
);
37662 if (PyErr_Occurred()) SWIG_fail
;
37664 resultobj
= SWIG_Py_Void();
37671 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37672 PyObject
*resultobj
= 0;
37673 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37678 PyObject
* obj0
= 0 ;
37679 PyObject
* obj1
= 0 ;
37680 char * kwnames
[] = {
37681 (char *) "self",(char *) "rect", NULL
37684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37686 if (!SWIG_IsOK(res1
)) {
37687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37689 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37696 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37697 wxPyEndAllowThreads(__tstate
);
37698 if (PyErr_Occurred()) SWIG_fail
;
37700 resultobj
= SWIG_Py_Void();
37707 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37708 PyObject
*resultobj
= 0;
37709 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37710 wxPoint
*arg2
= 0 ;
37716 PyObject
* obj0
= 0 ;
37717 PyObject
* obj1
= 0 ;
37718 PyObject
* obj2
= 0 ;
37719 char * kwnames
[] = {
37720 (char *) "self",(char *) "pt",(char *) "sz", NULL
37723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37725 if (!SWIG_IsOK(res1
)) {
37726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37728 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37731 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37735 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37739 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37740 wxPyEndAllowThreads(__tstate
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37743 resultobj
= SWIG_Py_Void();
37750 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37751 PyObject
*resultobj
= 0;
37752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37770 PyObject
* obj0
= 0 ;
37771 PyObject
* obj1
= 0 ;
37772 PyObject
* obj2
= 0 ;
37773 PyObject
* obj3
= 0 ;
37774 PyObject
* obj4
= 0 ;
37775 PyObject
* obj5
= 0 ;
37776 char * kwnames
[] = {
37777 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37782 if (!SWIG_IsOK(res1
)) {
37783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37787 if (!SWIG_IsOK(ecode2
)) {
37788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37790 arg2
= static_cast< int >(val2
);
37791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37792 if (!SWIG_IsOK(ecode3
)) {
37793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37795 arg3
= static_cast< int >(val3
);
37796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37797 if (!SWIG_IsOK(ecode4
)) {
37798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37800 arg4
= static_cast< int >(val4
);
37801 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37802 if (!SWIG_IsOK(ecode5
)) {
37803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37805 arg5
= static_cast< int >(val5
);
37806 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37807 if (!SWIG_IsOK(ecode6
)) {
37808 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37810 arg6
= static_cast< double >(val6
);
37812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37813 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37814 wxPyEndAllowThreads(__tstate
);
37815 if (PyErr_Occurred()) SWIG_fail
;
37817 resultobj
= SWIG_Py_Void();
37824 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37825 PyObject
*resultobj
= 0;
37826 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37834 PyObject
* obj0
= 0 ;
37835 PyObject
* obj1
= 0 ;
37836 PyObject
* obj2
= 0 ;
37837 char * kwnames
[] = {
37838 (char *) "self",(char *) "r",(char *) "radius", NULL
37841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37843 if (!SWIG_IsOK(res1
)) {
37844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37846 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37849 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37851 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37852 if (!SWIG_IsOK(ecode3
)) {
37853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37855 arg3
= static_cast< double >(val3
);
37857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37858 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37859 wxPyEndAllowThreads(__tstate
);
37860 if (PyErr_Occurred()) SWIG_fail
;
37862 resultobj
= SWIG_Py_Void();
37869 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37870 PyObject
*resultobj
= 0;
37871 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37872 wxPoint
*arg2
= 0 ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 PyObject
* obj2
= 0 ;
37884 PyObject
* obj3
= 0 ;
37885 char * kwnames
[] = {
37886 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37891 if (!SWIG_IsOK(res1
)) {
37892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37894 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37901 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37903 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37904 if (!SWIG_IsOK(ecode4
)) {
37905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37907 arg4
= static_cast< double >(val4
);
37909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37910 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37911 wxPyEndAllowThreads(__tstate
);
37912 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= SWIG_Py_Void();
37921 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37922 PyObject
*resultobj
= 0;
37923 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37935 PyObject
* obj0
= 0 ;
37936 PyObject
* obj1
= 0 ;
37937 PyObject
* obj2
= 0 ;
37938 PyObject
* obj3
= 0 ;
37939 char * kwnames
[] = {
37940 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37945 if (!SWIG_IsOK(res1
)) {
37946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37950 if (!SWIG_IsOK(ecode2
)) {
37951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37953 arg2
= static_cast< int >(val2
);
37954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37955 if (!SWIG_IsOK(ecode3
)) {
37956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37958 arg3
= static_cast< int >(val3
);
37959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37960 if (!SWIG_IsOK(ecode4
)) {
37961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37963 arg4
= static_cast< int >(val4
);
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37967 wxPyEndAllowThreads(__tstate
);
37968 if (PyErr_Occurred()) SWIG_fail
;
37970 resultobj
= SWIG_Py_Void();
37977 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37978 PyObject
*resultobj
= 0;
37979 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37980 wxPoint
*arg2
= 0 ;
37987 PyObject
* obj0
= 0 ;
37988 PyObject
* obj1
= 0 ;
37989 PyObject
* obj2
= 0 ;
37990 char * kwnames
[] = {
37991 (char *) "self",(char *) "pt",(char *) "radius", NULL
37994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37996 if (!SWIG_IsOK(res1
)) {
37997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38005 if (!SWIG_IsOK(ecode3
)) {
38006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
38008 arg3
= static_cast< int >(val3
);
38010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38011 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
38012 wxPyEndAllowThreads(__tstate
);
38013 if (PyErr_Occurred()) SWIG_fail
;
38015 resultobj
= SWIG_Py_Void();
38022 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38023 PyObject
*resultobj
= 0;
38024 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38039 PyObject
* obj0
= 0 ;
38040 PyObject
* obj1
= 0 ;
38041 PyObject
* obj2
= 0 ;
38042 PyObject
* obj3
= 0 ;
38043 PyObject
* obj4
= 0 ;
38044 char * kwnames
[] = {
38045 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38050 if (!SWIG_IsOK(res1
)) {
38051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38055 if (!SWIG_IsOK(ecode2
)) {
38056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
38058 arg2
= static_cast< int >(val2
);
38059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38060 if (!SWIG_IsOK(ecode3
)) {
38061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
38063 arg3
= static_cast< int >(val3
);
38064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38065 if (!SWIG_IsOK(ecode4
)) {
38066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
38068 arg4
= static_cast< int >(val4
);
38069 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38070 if (!SWIG_IsOK(ecode5
)) {
38071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
38073 arg5
= static_cast< int >(val5
);
38075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38076 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
38077 wxPyEndAllowThreads(__tstate
);
38078 if (PyErr_Occurred()) SWIG_fail
;
38080 resultobj
= SWIG_Py_Void();
38087 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38088 PyObject
*resultobj
= 0;
38089 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38094 PyObject
* obj0
= 0 ;
38095 PyObject
* obj1
= 0 ;
38096 char * kwnames
[] = {
38097 (char *) "self",(char *) "rect", NULL
38100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38102 if (!SWIG_IsOK(res1
)) {
38103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38108 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38112 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
38113 wxPyEndAllowThreads(__tstate
);
38114 if (PyErr_Occurred()) SWIG_fail
;
38116 resultobj
= SWIG_Py_Void();
38123 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38124 PyObject
*resultobj
= 0;
38125 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38126 wxPoint
*arg2
= 0 ;
38132 PyObject
* obj0
= 0 ;
38133 PyObject
* obj1
= 0 ;
38134 PyObject
* obj2
= 0 ;
38135 char * kwnames
[] = {
38136 (char *) "self",(char *) "pt",(char *) "sz", NULL
38139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38141 if (!SWIG_IsOK(res1
)) {
38142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38144 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38151 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38155 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38156 wxPyEndAllowThreads(__tstate
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38159 resultobj
= SWIG_Py_Void();
38166 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38167 PyObject
*resultobj
= 0;
38168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38180 PyObject
* obj0
= 0 ;
38181 PyObject
* obj1
= 0 ;
38182 PyObject
* obj2
= 0 ;
38183 PyObject
* obj3
= 0 ;
38184 char * kwnames
[] = {
38185 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38190 if (!SWIG_IsOK(res1
)) {
38191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38195 if (!SWIG_IsOK(res2
)) {
38196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38201 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38203 if (!SWIG_IsOK(ecode3
)) {
38204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38206 arg3
= static_cast< int >(val3
);
38207 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38208 if (!SWIG_IsOK(ecode4
)) {
38209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38211 arg4
= static_cast< int >(val4
);
38213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38214 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38215 wxPyEndAllowThreads(__tstate
);
38216 if (PyErr_Occurred()) SWIG_fail
;
38218 resultobj
= SWIG_Py_Void();
38225 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38226 PyObject
*resultobj
= 0;
38227 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38229 wxPoint
*arg3
= 0 ;
38235 PyObject
* obj0
= 0 ;
38236 PyObject
* obj1
= 0 ;
38237 PyObject
* obj2
= 0 ;
38238 char * kwnames
[] = {
38239 (char *) "self",(char *) "icon",(char *) "pt", NULL
38242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38244 if (!SWIG_IsOK(res1
)) {
38245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38249 if (!SWIG_IsOK(res2
)) {
38250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38255 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38258 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38262 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= SWIG_Py_Void();
38273 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
= 0;
38275 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38276 wxBitmap
*arg2
= 0 ;
38279 bool arg5
= (bool) false ;
38290 PyObject
* obj0
= 0 ;
38291 PyObject
* obj1
= 0 ;
38292 PyObject
* obj2
= 0 ;
38293 PyObject
* obj3
= 0 ;
38294 PyObject
* obj4
= 0 ;
38295 char * kwnames
[] = {
38296 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38301 if (!SWIG_IsOK(res1
)) {
38302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38306 if (!SWIG_IsOK(res2
)) {
38307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38312 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38314 if (!SWIG_IsOK(ecode3
)) {
38315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38317 arg3
= static_cast< int >(val3
);
38318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38319 if (!SWIG_IsOK(ecode4
)) {
38320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38322 arg4
= static_cast< int >(val4
);
38324 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38325 if (!SWIG_IsOK(ecode5
)) {
38326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38328 arg5
= static_cast< bool >(val5
);
38331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38332 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38333 wxPyEndAllowThreads(__tstate
);
38334 if (PyErr_Occurred()) SWIG_fail
;
38336 resultobj
= SWIG_Py_Void();
38343 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38344 PyObject
*resultobj
= 0;
38345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38346 wxBitmap
*arg2
= 0 ;
38347 wxPoint
*arg3
= 0 ;
38348 bool arg4
= (bool) false ;
38356 PyObject
* obj0
= 0 ;
38357 PyObject
* obj1
= 0 ;
38358 PyObject
* obj2
= 0 ;
38359 PyObject
* obj3
= 0 ;
38360 char * kwnames
[] = {
38361 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38366 if (!SWIG_IsOK(res1
)) {
38367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38371 if (!SWIG_IsOK(res2
)) {
38372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38377 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38380 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38383 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38384 if (!SWIG_IsOK(ecode4
)) {
38385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38387 arg4
= static_cast< bool >(val4
);
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38392 wxPyEndAllowThreads(__tstate
);
38393 if (PyErr_Occurred()) SWIG_fail
;
38395 resultobj
= SWIG_Py_Void();
38402 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38403 PyObject
*resultobj
= 0;
38404 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38405 wxString
*arg2
= 0 ;
38410 bool temp2
= false ;
38415 PyObject
* obj0
= 0 ;
38416 PyObject
* obj1
= 0 ;
38417 PyObject
* obj2
= 0 ;
38418 PyObject
* obj3
= 0 ;
38419 char * kwnames
[] = {
38420 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38425 if (!SWIG_IsOK(res1
)) {
38426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38428 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38430 arg2
= wxString_in_helper(obj1
);
38431 if (arg2
== NULL
) SWIG_fail
;
38434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38435 if (!SWIG_IsOK(ecode3
)) {
38436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38438 arg3
= static_cast< int >(val3
);
38439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38440 if (!SWIG_IsOK(ecode4
)) {
38441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38443 arg4
= static_cast< int >(val4
);
38445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38446 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38447 wxPyEndAllowThreads(__tstate
);
38448 if (PyErr_Occurred()) SWIG_fail
;
38450 resultobj
= SWIG_Py_Void();
38465 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38466 PyObject
*resultobj
= 0;
38467 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38468 wxString
*arg2
= 0 ;
38469 wxPoint
*arg3
= 0 ;
38472 bool temp2
= false ;
38474 PyObject
* obj0
= 0 ;
38475 PyObject
* obj1
= 0 ;
38476 PyObject
* obj2
= 0 ;
38477 char * kwnames
[] = {
38478 (char *) "self",(char *) "text",(char *) "pt", NULL
38481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38483 if (!SWIG_IsOK(res1
)) {
38484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38488 arg2
= wxString_in_helper(obj1
);
38489 if (arg2
== NULL
) SWIG_fail
;
38494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38498 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38502 resultobj
= SWIG_Py_Void();
38517 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38518 PyObject
*resultobj
= 0;
38519 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38520 wxString
*arg2
= 0 ;
38526 bool temp2
= false ;
38533 PyObject
* obj0
= 0 ;
38534 PyObject
* obj1
= 0 ;
38535 PyObject
* obj2
= 0 ;
38536 PyObject
* obj3
= 0 ;
38537 PyObject
* obj4
= 0 ;
38538 char * kwnames
[] = {
38539 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38544 if (!SWIG_IsOK(res1
)) {
38545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38547 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38549 arg2
= wxString_in_helper(obj1
);
38550 if (arg2
== NULL
) SWIG_fail
;
38553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38554 if (!SWIG_IsOK(ecode3
)) {
38555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38557 arg3
= static_cast< int >(val3
);
38558 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38559 if (!SWIG_IsOK(ecode4
)) {
38560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38562 arg4
= static_cast< int >(val4
);
38563 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38564 if (!SWIG_IsOK(ecode5
)) {
38565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38567 arg5
= static_cast< double >(val5
);
38569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38570 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38571 wxPyEndAllowThreads(__tstate
);
38572 if (PyErr_Occurred()) SWIG_fail
;
38574 resultobj
= SWIG_Py_Void();
38589 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38590 PyObject
*resultobj
= 0;
38591 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38592 wxString
*arg2
= 0 ;
38593 wxPoint
*arg3
= 0 ;
38597 bool temp2
= false ;
38601 PyObject
* obj0
= 0 ;
38602 PyObject
* obj1
= 0 ;
38603 PyObject
* obj2
= 0 ;
38604 PyObject
* obj3
= 0 ;
38605 char * kwnames
[] = {
38606 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38611 if (!SWIG_IsOK(res1
)) {
38612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38614 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38616 arg2
= wxString_in_helper(obj1
);
38617 if (arg2
== NULL
) SWIG_fail
;
38622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38624 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38625 if (!SWIG_IsOK(ecode4
)) {
38626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38628 arg4
= static_cast< double >(val4
);
38630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38631 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38632 wxPyEndAllowThreads(__tstate
);
38633 if (PyErr_Occurred()) SWIG_fail
;
38635 resultobj
= SWIG_Py_Void();
38650 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38651 PyObject
*resultobj
= 0;
38652 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38654 wxPoint
*arg3
= (wxPoint
*) 0 ;
38655 int arg4
= (int) 0 ;
38656 int arg5
= (int) 0 ;
38663 PyObject
* obj0
= 0 ;
38664 PyObject
* obj1
= 0 ;
38665 PyObject
* obj2
= 0 ;
38666 PyObject
* obj3
= 0 ;
38667 char * kwnames
[] = {
38668 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38673 if (!SWIG_IsOK(res1
)) {
38674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38676 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38678 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38679 if (arg3
== NULL
) SWIG_fail
;
38682 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38683 if (!SWIG_IsOK(ecode4
)) {
38684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38686 arg4
= static_cast< int >(val4
);
38689 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38690 if (!SWIG_IsOK(ecode5
)) {
38691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38693 arg5
= static_cast< int >(val5
);
38696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38697 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38698 wxPyEndAllowThreads(__tstate
);
38699 if (PyErr_Occurred()) SWIG_fail
;
38701 resultobj
= SWIG_Py_Void();
38703 if (arg3
) delete [] arg3
;
38708 if (arg3
) delete [] arg3
;
38714 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38715 PyObject
*resultobj
= 0;
38716 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38718 wxPoint
*arg3
= (wxPoint
*) 0 ;
38719 int arg4
= (int) 0 ;
38720 int arg5
= (int) 0 ;
38721 int arg6
= (int) wxODDEVEN_RULE
;
38730 PyObject
* obj0
= 0 ;
38731 PyObject
* obj1
= 0 ;
38732 PyObject
* obj2
= 0 ;
38733 PyObject
* obj3
= 0 ;
38734 PyObject
* obj4
= 0 ;
38735 char * kwnames
[] = {
38736 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38741 if (!SWIG_IsOK(res1
)) {
38742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38744 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38746 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38747 if (arg3
== NULL
) SWIG_fail
;
38750 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38751 if (!SWIG_IsOK(ecode4
)) {
38752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38754 arg4
= static_cast< int >(val4
);
38757 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38758 if (!SWIG_IsOK(ecode5
)) {
38759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38761 arg5
= static_cast< int >(val5
);
38764 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38765 if (!SWIG_IsOK(ecode6
)) {
38766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38768 arg6
= static_cast< int >(val6
);
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38773 wxPyEndAllowThreads(__tstate
);
38774 if (PyErr_Occurred()) SWIG_fail
;
38776 resultobj
= SWIG_Py_Void();
38778 if (arg3
) delete [] arg3
;
38783 if (arg3
) delete [] arg3
;
38789 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38790 PyObject
*resultobj
= 0;
38791 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38792 wxString
*arg2
= 0 ;
38794 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38795 int arg5
= (int) -1 ;
38798 bool temp2
= false ;
38804 PyObject
* obj0
= 0 ;
38805 PyObject
* obj1
= 0 ;
38806 PyObject
* obj2
= 0 ;
38807 PyObject
* obj3
= 0 ;
38808 PyObject
* obj4
= 0 ;
38809 char * kwnames
[] = {
38810 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38815 if (!SWIG_IsOK(res1
)) {
38816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38818 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38820 arg2
= wxString_in_helper(obj1
);
38821 if (arg2
== NULL
) SWIG_fail
;
38826 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38830 if (!SWIG_IsOK(ecode4
)) {
38831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38833 arg4
= static_cast< int >(val4
);
38836 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38837 if (!SWIG_IsOK(ecode5
)) {
38838 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38840 arg5
= static_cast< int >(val5
);
38843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38844 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38845 wxPyEndAllowThreads(__tstate
);
38846 if (PyErr_Occurred()) SWIG_fail
;
38848 resultobj
= SWIG_Py_Void();
38863 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38864 PyObject
*resultobj
= 0;
38865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38866 wxString
*arg2
= 0 ;
38867 wxBitmap
*arg3
= 0 ;
38869 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38870 int arg6
= (int) -1 ;
38873 bool temp2
= false ;
38881 PyObject
* obj0
= 0 ;
38882 PyObject
* obj1
= 0 ;
38883 PyObject
* obj2
= 0 ;
38884 PyObject
* obj3
= 0 ;
38885 PyObject
* obj4
= 0 ;
38886 PyObject
* obj5
= 0 ;
38887 char * kwnames
[] = {
38888 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38893 if (!SWIG_IsOK(res1
)) {
38894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38896 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38898 arg2
= wxString_in_helper(obj1
);
38899 if (arg2
== NULL
) SWIG_fail
;
38902 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38903 if (!SWIG_IsOK(res3
)) {
38904 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38909 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38912 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38916 if (!SWIG_IsOK(ecode5
)) {
38917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38919 arg5
= static_cast< int >(val5
);
38922 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38923 if (!SWIG_IsOK(ecode6
)) {
38924 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38926 arg6
= static_cast< int >(val6
);
38929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38930 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38931 wxPyEndAllowThreads(__tstate
);
38932 if (PyErr_Occurred()) SWIG_fail
;
38934 resultobj
= SWIG_Py_Void();
38949 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38950 PyObject
*resultobj
= 0;
38951 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38953 wxPoint
*arg3
= (wxPoint
*) 0 ;
38956 PyObject
* obj0
= 0 ;
38957 PyObject
* obj1
= 0 ;
38958 char * kwnames
[] = {
38959 (char *) "self",(char *) "points", NULL
38962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38964 if (!SWIG_IsOK(res1
)) {
38965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38967 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38969 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38970 if (arg3
== NULL
) SWIG_fail
;
38973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38974 (arg1
)->DrawSpline(arg2
,arg3
);
38975 wxPyEndAllowThreads(__tstate
);
38976 if (PyErr_Occurred()) SWIG_fail
;
38978 resultobj
= SWIG_Py_Void();
38980 if (arg3
) delete [] arg3
;
38985 if (arg3
) delete [] arg3
;
38991 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38992 PyObject
*resultobj
= 0;
38993 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38996 PyObject
*swig_obj
[1] ;
38998 if (!args
) SWIG_fail
;
38999 swig_obj
[0] = args
;
39000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39001 if (!SWIG_IsOK(res1
)) {
39002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39004 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39008 wxPyEndAllowThreads(__tstate
);
39009 if (PyErr_Occurred()) SWIG_fail
;
39011 resultobj
= SWIG_Py_Void();
39018 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39019 PyObject
*resultobj
= 0;
39020 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39026 PyObject
* obj0
= 0 ;
39027 PyObject
* obj1
= 0 ;
39028 char * kwnames
[] = {
39029 (char *) "self",(char *) "font", NULL
39032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39034 if (!SWIG_IsOK(res1
)) {
39035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39039 if (!SWIG_IsOK(res2
)) {
39040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39045 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39048 (arg1
)->SetFont((wxFont
const &)*arg2
);
39049 wxPyEndAllowThreads(__tstate
);
39050 if (PyErr_Occurred()) SWIG_fail
;
39052 resultobj
= SWIG_Py_Void();
39059 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39060 PyObject
*resultobj
= 0;
39061 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39067 PyObject
* obj0
= 0 ;
39068 PyObject
* obj1
= 0 ;
39069 char * kwnames
[] = {
39070 (char *) "self",(char *) "pen", NULL
39073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39075 if (!SWIG_IsOK(res1
)) {
39076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
39080 if (!SWIG_IsOK(res2
)) {
39081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39086 arg2
= reinterpret_cast< wxPen
* >(argp2
);
39088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39089 (arg1
)->SetPen((wxPen
const &)*arg2
);
39090 wxPyEndAllowThreads(__tstate
);
39091 if (PyErr_Occurred()) SWIG_fail
;
39093 resultobj
= SWIG_Py_Void();
39100 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39101 PyObject
*resultobj
= 0;
39102 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39103 wxBrush
*arg2
= 0 ;
39108 PyObject
* obj0
= 0 ;
39109 PyObject
* obj1
= 0 ;
39110 char * kwnames
[] = {
39111 (char *) "self",(char *) "brush", NULL
39114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39116 if (!SWIG_IsOK(res1
)) {
39117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39119 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39121 if (!SWIG_IsOK(res2
)) {
39122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39127 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39130 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
39131 wxPyEndAllowThreads(__tstate
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39134 resultobj
= SWIG_Py_Void();
39141 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39142 PyObject
*resultobj
= 0;
39143 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39144 wxBrush
*arg2
= 0 ;
39149 PyObject
* obj0
= 0 ;
39150 PyObject
* obj1
= 0 ;
39151 char * kwnames
[] = {
39152 (char *) "self",(char *) "brush", NULL
39155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39157 if (!SWIG_IsOK(res1
)) {
39158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39160 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39162 if (!SWIG_IsOK(res2
)) {
39163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39168 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39171 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39172 wxPyEndAllowThreads(__tstate
);
39173 if (PyErr_Occurred()) SWIG_fail
;
39175 resultobj
= SWIG_Py_Void();
39182 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39183 PyObject
*resultobj
= 0;
39184 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39190 PyObject
* obj0
= 0 ;
39191 PyObject
* obj1
= 0 ;
39192 char * kwnames
[] = {
39193 (char *) "self",(char *) "mode", NULL
39196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39198 if (!SWIG_IsOK(res1
)) {
39199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39201 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39203 if (!SWIG_IsOK(ecode2
)) {
39204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39206 arg2
= static_cast< int >(val2
);
39208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39209 (arg1
)->SetBackgroundMode(arg2
);
39210 wxPyEndAllowThreads(__tstate
);
39211 if (PyErr_Occurred()) SWIG_fail
;
39213 resultobj
= SWIG_Py_Void();
39220 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39221 PyObject
*resultobj
= 0;
39222 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39223 wxPalette
*arg2
= 0 ;
39228 PyObject
* obj0
= 0 ;
39229 PyObject
* obj1
= 0 ;
39230 char * kwnames
[] = {
39231 (char *) "self",(char *) "palette", NULL
39234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39236 if (!SWIG_IsOK(res1
)) {
39237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39241 if (!SWIG_IsOK(res2
)) {
39242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39247 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39250 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39251 wxPyEndAllowThreads(__tstate
);
39252 if (PyErr_Occurred()) SWIG_fail
;
39254 resultobj
= SWIG_Py_Void();
39261 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39262 PyObject
*resultobj
= 0;
39263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39264 wxColour
*arg2
= 0 ;
39268 PyObject
* obj0
= 0 ;
39269 PyObject
* obj1
= 0 ;
39270 char * kwnames
[] = {
39271 (char *) "self",(char *) "colour", NULL
39274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39276 if (!SWIG_IsOK(res1
)) {
39277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39279 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39282 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39287 wxPyEndAllowThreads(__tstate
);
39288 if (PyErr_Occurred()) SWIG_fail
;
39290 resultobj
= SWIG_Py_Void();
39297 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39298 PyObject
*resultobj
= 0;
39299 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39300 wxColour
*arg2
= 0 ;
39304 PyObject
* obj0
= 0 ;
39305 PyObject
* obj1
= 0 ;
39306 char * kwnames
[] = {
39307 (char *) "self",(char *) "colour", NULL
39310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39312 if (!SWIG_IsOK(res1
)) {
39313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39315 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39322 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39323 wxPyEndAllowThreads(__tstate
);
39324 if (PyErr_Occurred()) SWIG_fail
;
39326 resultobj
= SWIG_Py_Void();
39333 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39334 PyObject
*resultobj
= 0;
39335 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39341 PyObject
* obj0
= 0 ;
39342 PyObject
* obj1
= 0 ;
39343 char * kwnames
[] = {
39344 (char *) "self",(char *) "function", NULL
39347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39349 if (!SWIG_IsOK(res1
)) {
39350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39352 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39354 if (!SWIG_IsOK(ecode2
)) {
39355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39357 arg2
= static_cast< int >(val2
);
39359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39360 (arg1
)->SetLogicalFunction(arg2
);
39361 wxPyEndAllowThreads(__tstate
);
39362 if (PyErr_Occurred()) SWIG_fail
;
39364 resultobj
= SWIG_Py_Void();
39371 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39374 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39375 return SWIG_Py_Void();
39378 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39379 return SWIG_Python_InitShadowInstance(args
);
39382 static PyMethodDef SwigMethods
[] = {
39383 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39384 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39385 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39386 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39387 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39388 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39392 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39393 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39394 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39395 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39396 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39397 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39402 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39406 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39407 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39408 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39410 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39413 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39414 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39415 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39416 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39418 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39419 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39420 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39421 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39422 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39423 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39424 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39431 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39433 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39434 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39438 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39439 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39442 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39446 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39447 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39448 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39449 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39450 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39451 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39452 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39454 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39460 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39462 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39463 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39464 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39465 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39466 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39467 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39468 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39474 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39486 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39487 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39491 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39492 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39493 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39494 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39495 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39496 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39497 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39498 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39499 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39500 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39501 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39502 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39503 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39504 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39505 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39507 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39508 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39514 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39515 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39516 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39517 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39518 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39519 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39520 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39521 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39522 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39523 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39524 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39525 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39527 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39528 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39534 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39535 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39536 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39538 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39539 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39540 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39542 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39543 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39548 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39550 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39551 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39552 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39553 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39559 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39560 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39562 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39563 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39565 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39567 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39568 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39569 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39570 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39573 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39577 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39578 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39580 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39583 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39585 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39586 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39587 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39588 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39593 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39594 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39599 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39600 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39606 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39610 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39621 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39624 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39625 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39627 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39628 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39629 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39630 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39631 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39632 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39633 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39634 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39635 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39636 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39637 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39638 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39639 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39640 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39641 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39642 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39643 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39645 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39646 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39647 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39648 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39649 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39650 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39651 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39652 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39662 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39663 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39665 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39666 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39667 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39668 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39669 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39670 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39671 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39672 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39673 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39675 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39676 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39677 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39680 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39681 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39682 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39685 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39691 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39696 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39697 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39699 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39705 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39708 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39709 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39710 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39711 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39712 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39713 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39714 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39715 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39716 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39717 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39718 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39719 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39720 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39732 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39733 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39734 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39736 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39737 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39739 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39740 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39741 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39742 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39746 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39747 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39749 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39750 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39751 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39752 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39753 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39754 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39755 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39756 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39757 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39759 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39762 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39763 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39764 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39765 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39766 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39767 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39768 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39769 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39779 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39780 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39781 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39783 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39787 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39788 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39789 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39790 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39791 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39792 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39798 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39799 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39800 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39850 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39852 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39853 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39854 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39861 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39862 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39863 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39864 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39865 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39870 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39871 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39872 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39873 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39882 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39883 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39884 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39885 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39886 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39887 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39888 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39889 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39890 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39891 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39892 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39893 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39896 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39898 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39900 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39902 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39903 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39906 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39907 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39911 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39913 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39916 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39917 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39918 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39919 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39920 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39921 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39922 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39924 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39931 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39933 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39934 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39935 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39937 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39938 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39939 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39941 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39942 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39943 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39944 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39945 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39946 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39947 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39948 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39951 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39952 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39953 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39955 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39956 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39958 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39959 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39961 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39962 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39967 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39968 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39969 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39970 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39971 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39973 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39974 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39975 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39977 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39978 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39980 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39981 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39984 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39985 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39987 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39990 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39991 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39992 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39994 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39995 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39997 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39998 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39999 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
40000 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
40001 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
40002 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
40004 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
40005 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
40006 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
40008 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
40009 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
40011 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
40012 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
40013 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
40014 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
40015 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
40016 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
40017 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
40018 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
40019 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
40020 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
40021 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
40022 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
40023 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
40024 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
40025 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
40026 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
40027 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
40028 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
40029 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
40032 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
40033 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
40035 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40037 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40038 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40039 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
40041 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
40042 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
40043 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
40044 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
40045 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
40046 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
40047 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
40048 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
40050 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
40051 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
40052 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40058 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
40059 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40060 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40061 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
40062 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
40063 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
40064 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
40065 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
40066 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
40067 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
40068 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
40071 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40076 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40077 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
40078 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
40079 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
40082 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
40083 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
40084 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
40091 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
40092 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
40093 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
40094 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
40112 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
40113 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
40114 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
40115 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
40116 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
40117 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
40120 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
40127 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
40128 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
40129 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
40130 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
40132 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
40133 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
40134 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
40135 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
40136 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
40137 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
40138 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
40139 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
40140 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
40141 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
40142 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
40143 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
40145 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
40153 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
40155 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
40157 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
40158 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40159 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40160 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40161 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40162 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40168 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40169 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40170 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40171 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40172 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40173 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40176 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40177 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40179 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40180 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40181 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40182 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40183 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40184 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40185 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40186 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40187 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40188 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40189 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40190 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40191 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40192 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40193 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40194 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40195 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40196 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40197 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40198 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40199 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40200 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40201 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40202 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40203 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40204 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40206 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40207 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40208 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40209 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40210 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40211 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40212 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40213 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40214 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40215 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40216 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40217 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40218 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40219 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40220 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40221 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40222 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40223 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40224 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40225 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40226 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40227 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40228 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40229 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40230 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40231 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40232 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40233 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40234 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40235 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40236 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40237 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40238 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40239 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40240 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40241 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40242 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40243 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40244 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40245 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40246 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40247 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40248 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40249 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40250 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40251 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40252 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40253 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40254 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40255 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40256 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40257 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40258 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40259 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40260 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40261 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40262 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40263 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40264 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40265 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40266 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40267 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40268 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40269 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40270 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40271 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40272 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40273 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40274 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40275 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40276 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40277 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40278 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40279 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40280 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40283 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40284 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40315 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40316 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40322 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40327 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40332 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40333 { NULL
, NULL
, 0, NULL
}
40337 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40339 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40340 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40342 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40343 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40345 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40346 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40348 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40349 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40351 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40352 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40354 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40355 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40357 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40358 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40360 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40361 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40363 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40364 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40366 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40367 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40369 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40370 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40372 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40373 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40375 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40376 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40378 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40379 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40381 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40382 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40384 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40385 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40387 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40388 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40390 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40391 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40393 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40394 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40396 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40397 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40399 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40400 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40402 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40403 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40405 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40406 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40408 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40409 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40411 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40412 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40414 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40415 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40417 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40418 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40420 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40421 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40423 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40424 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40426 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40427 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40429 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40430 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40432 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40433 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40435 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40436 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40438 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40439 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40441 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40442 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40444 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40445 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40447 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40448 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40450 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40451 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40453 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40454 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40456 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40457 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40459 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40460 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40462 static void *_p_wxPenTo_p_wxObject(void *x
) {
40463 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40465 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40466 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40468 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40469 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40471 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40472 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40474 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40477 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40478 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40480 static void *_p_wxIconTo_p_wxObject(void *x
) {
40481 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40483 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40484 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40486 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40487 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40489 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40490 return (void *)((wxObject
*) ((wxSizer
*) x
));
40492 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40493 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40495 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40498 static void *_p_wxEventTo_p_wxObject(void *x
) {
40499 return (void *)((wxObject
*) ((wxEvent
*) x
));
40501 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40502 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40504 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40505 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40507 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40508 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40510 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40511 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40513 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40516 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40517 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40519 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40520 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40522 static void *_p_wxDCTo_p_wxObject(void *x
) {
40523 return (void *)((wxObject
*) ((wxDC
*) x
));
40525 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40526 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40528 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40529 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40531 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40532 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40534 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40535 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40537 static void *_p_wxControlTo_p_wxObject(void *x
) {
40538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40540 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40541 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40543 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40544 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40546 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40547 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40549 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40550 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40552 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40553 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40555 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40556 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40558 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40559 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40561 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40562 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40564 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40565 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40567 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40568 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40570 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40571 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40573 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40574 return (void *)((wxObject
*) ((wxEffects
*) x
));
40576 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40577 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40579 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40582 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40583 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40585 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40586 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40588 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40589 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40591 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40592 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40594 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40597 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40598 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40600 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40603 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40604 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40606 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40607 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40609 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40610 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40612 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40613 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40615 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40616 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40618 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40619 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40621 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40622 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40624 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40625 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40627 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40628 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40630 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40631 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40633 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40636 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40637 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40639 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40640 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40642 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40643 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40645 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40648 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40651 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40652 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40654 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40657 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40660 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40663 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40664 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40666 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40667 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40669 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40670 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40672 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40673 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40675 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40676 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40678 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40679 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40681 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40682 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40684 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40685 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40687 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40688 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40690 static void *_p_wxImageTo_p_wxObject(void *x
) {
40691 return (void *)((wxObject
*) ((wxImage
*) x
));
40693 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40694 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40696 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40697 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40699 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40700 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40702 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40703 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40705 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40706 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40708 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40709 return (void *)((wxObject
*) ((wxImageList
*) x
));
40711 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40712 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40714 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40715 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40717 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40718 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40720 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40721 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40723 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40724 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40726 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40729 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40730 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40732 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40733 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40735 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40736 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40738 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40739 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40741 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40744 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40745 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40747 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40748 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40750 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40751 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40753 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40754 return (void *)((wxObject
*) ((wxMask
*) x
));
40756 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40757 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40759 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40762 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40763 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40765 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40766 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40768 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40769 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40771 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40772 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40774 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40775 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40777 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40780 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40781 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40783 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40784 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40786 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40787 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40789 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40792 static void *_p_wxFontTo_p_wxObject(void *x
) {
40793 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40795 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40796 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40798 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40799 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40801 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40804 static void *_p_wxColourTo_p_wxObject(void *x
) {
40805 return (void *)((wxObject
*) ((wxColour
*) x
));
40807 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40810 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40811 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40813 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40814 return (void *)((wxWindow
*) ((wxControl
*) x
));
40816 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40817 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40819 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40820 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40822 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40823 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40825 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40826 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40828 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40829 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40830 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40831 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};
40832 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40833 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40834 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40835 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40836 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40837 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40838 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40839 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40840 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40841 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40842 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40843 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40844 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40845 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40848 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40849 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40850 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40851 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40852 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40853 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40854 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40855 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40856 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40857 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40858 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40859 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40860 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40894 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40895 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40896 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40897 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40898 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40899 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40900 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40901 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40902 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40903 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40904 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40905 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40906 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40907 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40908 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40909 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40910 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40911 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40912 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40913 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40914 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40915 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40916 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40917 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40918 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40919 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40920 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40921 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40922 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40923 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40924 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40925 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40926 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40927 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40928 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40929 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40930 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40931 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40932 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40933 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40934 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40935 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40936 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40937 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40938 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40939 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40940 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40941 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40942 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40943 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40944 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40945 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40946 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40947 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40948 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40949 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40950 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40951 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40952 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40953 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40954 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40955 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40956 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40957 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40958 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40959 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40960 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40961 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40962 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40963 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40964 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40965 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40966 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40967 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40968 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40969 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40970 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40971 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40972 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40973 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40974 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40975 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40976 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40977 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40978 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40979 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40980 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40981 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40982 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40983 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40984 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40985 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40986 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40987 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40988 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40989 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40990 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40991 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40992 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40993 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40994 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40995 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40996 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40997 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40998 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
41000 static swig_type_info
*swig_type_initial
[] = {
41004 &_swigt__p_form_ops_t
,
41006 &_swigt__p_unsigned_char
,
41007 &_swigt__p_unsigned_int
,
41008 &_swigt__p_unsigned_long
,
41010 &_swigt__p_wxANIHandler
,
41011 &_swigt__p_wxAcceleratorTable
,
41012 &_swigt__p_wxActivateEvent
,
41013 &_swigt__p_wxAlphaPixelData
,
41014 &_swigt__p_wxAlphaPixelData_Accessor
,
41015 &_swigt__p_wxAutoBufferedPaintDC
,
41016 &_swigt__p_wxBMPHandler
,
41017 &_swigt__p_wxBitmap
,
41018 &_swigt__p_wxBoxSizer
,
41019 &_swigt__p_wxBrush
,
41020 &_swigt__p_wxBrushList
,
41021 &_swigt__p_wxBufferedDC
,
41022 &_swigt__p_wxBufferedPaintDC
,
41023 &_swigt__p_wxCURHandler
,
41025 &_swigt__p_wxChildFocusEvent
,
41026 &_swigt__p_wxClientDC
,
41027 &_swigt__p_wxClipboardTextEvent
,
41028 &_swigt__p_wxCloseEvent
,
41029 &_swigt__p_wxColor
,
41030 &_swigt__p_wxColour
,
41031 &_swigt__p_wxColourDatabase
,
41032 &_swigt__p_wxCommandEvent
,
41033 &_swigt__p_wxContextMenuEvent
,
41034 &_swigt__p_wxControl
,
41035 &_swigt__p_wxControlWithItems
,
41036 &_swigt__p_wxCursor
,
41038 &_swigt__p_wxDCBrushChanger
,
41039 &_swigt__p_wxDCClipper
,
41040 &_swigt__p_wxDCOverlay
,
41041 &_swigt__p_wxDCPenChanger
,
41042 &_swigt__p_wxDCTextColourChanger
,
41044 &_swigt__p_wxDateEvent
,
41045 &_swigt__p_wxDisplayChangedEvent
,
41046 &_swigt__p_wxDropFilesEvent
,
41047 &_swigt__p_wxDuplexMode
,
41048 &_swigt__p_wxEffects
,
41049 &_swigt__p_wxEncodingConverter
,
41050 &_swigt__p_wxEraseEvent
,
41051 &_swigt__p_wxEvent
,
41052 &_swigt__p_wxEvtHandler
,
41053 &_swigt__p_wxFSFile
,
41054 &_swigt__p_wxFileSystem
,
41055 &_swigt__p_wxFlexGridSizer
,
41056 &_swigt__p_wxFocusEvent
,
41058 &_swigt__p_wxFontList
,
41059 &_swigt__p_wxFontMapper
,
41060 &_swigt__p_wxGBSizerItem
,
41062 &_swigt__p_wxGDIObjListBase
,
41063 &_swigt__p_wxGDIObject
,
41064 &_swigt__p_wxGIFHandler
,
41065 &_swigt__p_wxGraphicsBrush
,
41066 &_swigt__p_wxGraphicsContext
,
41067 &_swigt__p_wxGraphicsFont
,
41068 &_swigt__p_wxGraphicsMatrix
,
41069 &_swigt__p_wxGraphicsObject
,
41070 &_swigt__p_wxGraphicsPath
,
41071 &_swigt__p_wxGraphicsPen
,
41072 &_swigt__p_wxGraphicsRenderer
,
41073 &_swigt__p_wxGridBagSizer
,
41074 &_swigt__p_wxGridSizer
,
41075 &_swigt__p_wxHeaderButtonParams
,
41076 &_swigt__p_wxICOHandler
,
41078 &_swigt__p_wxIconBundle
,
41079 &_swigt__p_wxIconLocation
,
41080 &_swigt__p_wxIconizeEvent
,
41081 &_swigt__p_wxIdleEvent
,
41082 &_swigt__p_wxImage
,
41083 &_swigt__p_wxImageHandler
,
41084 &_swigt__p_wxImageList
,
41085 &_swigt__p_wxIndividualLayoutConstraint
,
41086 &_swigt__p_wxInitDialogEvent
,
41087 &_swigt__p_wxJPEGHandler
,
41088 &_swigt__p_wxKeyEvent
,
41089 &_swigt__p_wxLanguageInfo
,
41090 &_swigt__p_wxLayoutConstraints
,
41091 &_swigt__p_wxLocale
,
41093 &_swigt__p_wxMaximizeEvent
,
41094 &_swigt__p_wxMemoryDC
,
41096 &_swigt__p_wxMenuBar
,
41097 &_swigt__p_wxMenuEvent
,
41098 &_swigt__p_wxMenuItem
,
41099 &_swigt__p_wxMetaFile
,
41100 &_swigt__p_wxMetaFileDC
,
41101 &_swigt__p_wxMirrorDC
,
41102 &_swigt__p_wxMouseCaptureChangedEvent
,
41103 &_swigt__p_wxMouseCaptureLostEvent
,
41104 &_swigt__p_wxMouseEvent
,
41105 &_swigt__p_wxMoveEvent
,
41106 &_swigt__p_wxNativeEncodingInfo
,
41107 &_swigt__p_wxNativeFontInfo
,
41108 &_swigt__p_wxNativePixelData
,
41109 &_swigt__p_wxNativePixelData_Accessor
,
41110 &_swigt__p_wxNavigationKeyEvent
,
41111 &_swigt__p_wxNcPaintEvent
,
41112 &_swigt__p_wxNotifyEvent
,
41113 &_swigt__p_wxObject
,
41114 &_swigt__p_wxOverlay
,
41115 &_swigt__p_wxPCXHandler
,
41116 &_swigt__p_wxPNGHandler
,
41117 &_swigt__p_wxPNMHandler
,
41118 &_swigt__p_wxPaintDC
,
41119 &_swigt__p_wxPaintEvent
,
41120 &_swigt__p_wxPalette
,
41121 &_swigt__p_wxPaletteChangedEvent
,
41122 &_swigt__p_wxPaperSize
,
41124 &_swigt__p_wxPenList
,
41125 &_swigt__p_wxPixelDataBase
,
41126 &_swigt__p_wxPoint
,
41127 &_swigt__p_wxPoint2D
,
41128 &_swigt__p_wxPoint2DDouble
,
41129 &_swigt__p_wxPostScriptDC
,
41130 &_swigt__p_wxPrintData
,
41131 &_swigt__p_wxPrinterDC
,
41132 &_swigt__p_wxPseudoDC
,
41133 &_swigt__p_wxPyApp
,
41134 &_swigt__p_wxPyCommandEvent
,
41135 &_swigt__p_wxPyEvent
,
41136 &_swigt__p_wxPyFontEnumerator
,
41137 &_swigt__p_wxPyImageHandler
,
41138 &_swigt__p_wxPyLocale
,
41139 &_swigt__p_wxPySizer
,
41140 &_swigt__p_wxPyValidator
,
41141 &_swigt__p_wxQueryNewPaletteEvent
,
41143 &_swigt__p_wxRect2DDouble
,
41144 &_swigt__p_wxRegion
,
41145 &_swigt__p_wxRegionIterator
,
41146 &_swigt__p_wxRendererNative
,
41147 &_swigt__p_wxRendererVersion
,
41148 &_swigt__p_wxScreenDC
,
41149 &_swigt__p_wxScrollEvent
,
41150 &_swigt__p_wxScrollWinEvent
,
41151 &_swigt__p_wxSetCursorEvent
,
41152 &_swigt__p_wxShowEvent
,
41154 &_swigt__p_wxSizeEvent
,
41155 &_swigt__p_wxSizer
,
41156 &_swigt__p_wxSizerItem
,
41157 &_swigt__p_wxSplitterRenderParams
,
41158 &_swigt__p_wxStaticBoxSizer
,
41159 &_swigt__p_wxStdDialogButtonSizer
,
41160 &_swigt__p_wxStockGDI
,
41161 &_swigt__p_wxString
,
41162 &_swigt__p_wxSysColourChangedEvent
,
41163 &_swigt__p_wxTGAHandler
,
41164 &_swigt__p_wxTIFFHandler
,
41165 &_swigt__p_wxUpdateUIEvent
,
41166 &_swigt__p_wxValidator
,
41167 &_swigt__p_wxWindow
,
41168 &_swigt__p_wxWindowCreateEvent
,
41169 &_swigt__p_wxWindowDC
,
41170 &_swigt__p_wxWindowDestroyEvent
,
41171 &_swigt__p_wxXPMHandler
,
41174 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41189 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}};
41190 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41192 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}};
41193 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41197 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}};
41198 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41211 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}};
41212 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}};
41213 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41217 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}};
41218 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41219 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41228 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}};
41229 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41230 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}};
41231 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41233 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41235 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41236 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41237 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41246 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41247 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41255 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41256 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41257 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41261 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41262 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41265 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41266 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41270 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41271 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41272 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41273 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41274 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41275 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41276 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41277 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41278 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41279 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41280 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41281 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41282 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41283 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41284 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41285 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41286 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41287 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41288 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41289 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41290 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41291 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41292 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41293 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41294 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41295 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41296 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41297 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41298 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41299 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41300 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41301 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41302 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41303 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41304 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41305 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41306 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41307 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41308 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41309 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41310 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41311 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41312 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41313 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41314 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41315 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}};
41316 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41317 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41318 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41319 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41320 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41321 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41322 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}};
41323 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41324 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41325 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41326 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41327 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41328 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41329 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41330 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41331 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41332 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41333 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41334 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41335 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41336 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41337 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41338 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41339 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41340 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41341 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41342 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41343 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}};
41344 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}};
41346 static swig_cast_info
*swig_cast_initial
[] = {
41350 _swigc__p_form_ops_t
,
41352 _swigc__p_unsigned_char
,
41353 _swigc__p_unsigned_int
,
41354 _swigc__p_unsigned_long
,
41356 _swigc__p_wxANIHandler
,
41357 _swigc__p_wxAcceleratorTable
,
41358 _swigc__p_wxActivateEvent
,
41359 _swigc__p_wxAlphaPixelData
,
41360 _swigc__p_wxAlphaPixelData_Accessor
,
41361 _swigc__p_wxAutoBufferedPaintDC
,
41362 _swigc__p_wxBMPHandler
,
41363 _swigc__p_wxBitmap
,
41364 _swigc__p_wxBoxSizer
,
41366 _swigc__p_wxBrushList
,
41367 _swigc__p_wxBufferedDC
,
41368 _swigc__p_wxBufferedPaintDC
,
41369 _swigc__p_wxCURHandler
,
41371 _swigc__p_wxChildFocusEvent
,
41372 _swigc__p_wxClientDC
,
41373 _swigc__p_wxClipboardTextEvent
,
41374 _swigc__p_wxCloseEvent
,
41376 _swigc__p_wxColour
,
41377 _swigc__p_wxColourDatabase
,
41378 _swigc__p_wxCommandEvent
,
41379 _swigc__p_wxContextMenuEvent
,
41380 _swigc__p_wxControl
,
41381 _swigc__p_wxControlWithItems
,
41382 _swigc__p_wxCursor
,
41384 _swigc__p_wxDCBrushChanger
,
41385 _swigc__p_wxDCClipper
,
41386 _swigc__p_wxDCOverlay
,
41387 _swigc__p_wxDCPenChanger
,
41388 _swigc__p_wxDCTextColourChanger
,
41390 _swigc__p_wxDateEvent
,
41391 _swigc__p_wxDisplayChangedEvent
,
41392 _swigc__p_wxDropFilesEvent
,
41393 _swigc__p_wxDuplexMode
,
41394 _swigc__p_wxEffects
,
41395 _swigc__p_wxEncodingConverter
,
41396 _swigc__p_wxEraseEvent
,
41398 _swigc__p_wxEvtHandler
,
41399 _swigc__p_wxFSFile
,
41400 _swigc__p_wxFileSystem
,
41401 _swigc__p_wxFlexGridSizer
,
41402 _swigc__p_wxFocusEvent
,
41404 _swigc__p_wxFontList
,
41405 _swigc__p_wxFontMapper
,
41406 _swigc__p_wxGBSizerItem
,
41408 _swigc__p_wxGDIObjListBase
,
41409 _swigc__p_wxGDIObject
,
41410 _swigc__p_wxGIFHandler
,
41411 _swigc__p_wxGraphicsBrush
,
41412 _swigc__p_wxGraphicsContext
,
41413 _swigc__p_wxGraphicsFont
,
41414 _swigc__p_wxGraphicsMatrix
,
41415 _swigc__p_wxGraphicsObject
,
41416 _swigc__p_wxGraphicsPath
,
41417 _swigc__p_wxGraphicsPen
,
41418 _swigc__p_wxGraphicsRenderer
,
41419 _swigc__p_wxGridBagSizer
,
41420 _swigc__p_wxGridSizer
,
41421 _swigc__p_wxHeaderButtonParams
,
41422 _swigc__p_wxICOHandler
,
41424 _swigc__p_wxIconBundle
,
41425 _swigc__p_wxIconLocation
,
41426 _swigc__p_wxIconizeEvent
,
41427 _swigc__p_wxIdleEvent
,
41429 _swigc__p_wxImageHandler
,
41430 _swigc__p_wxImageList
,
41431 _swigc__p_wxIndividualLayoutConstraint
,
41432 _swigc__p_wxInitDialogEvent
,
41433 _swigc__p_wxJPEGHandler
,
41434 _swigc__p_wxKeyEvent
,
41435 _swigc__p_wxLanguageInfo
,
41436 _swigc__p_wxLayoutConstraints
,
41437 _swigc__p_wxLocale
,
41439 _swigc__p_wxMaximizeEvent
,
41440 _swigc__p_wxMemoryDC
,
41442 _swigc__p_wxMenuBar
,
41443 _swigc__p_wxMenuEvent
,
41444 _swigc__p_wxMenuItem
,
41445 _swigc__p_wxMetaFile
,
41446 _swigc__p_wxMetaFileDC
,
41447 _swigc__p_wxMirrorDC
,
41448 _swigc__p_wxMouseCaptureChangedEvent
,
41449 _swigc__p_wxMouseCaptureLostEvent
,
41450 _swigc__p_wxMouseEvent
,
41451 _swigc__p_wxMoveEvent
,
41452 _swigc__p_wxNativeEncodingInfo
,
41453 _swigc__p_wxNativeFontInfo
,
41454 _swigc__p_wxNativePixelData
,
41455 _swigc__p_wxNativePixelData_Accessor
,
41456 _swigc__p_wxNavigationKeyEvent
,
41457 _swigc__p_wxNcPaintEvent
,
41458 _swigc__p_wxNotifyEvent
,
41459 _swigc__p_wxObject
,
41460 _swigc__p_wxOverlay
,
41461 _swigc__p_wxPCXHandler
,
41462 _swigc__p_wxPNGHandler
,
41463 _swigc__p_wxPNMHandler
,
41464 _swigc__p_wxPaintDC
,
41465 _swigc__p_wxPaintEvent
,
41466 _swigc__p_wxPalette
,
41467 _swigc__p_wxPaletteChangedEvent
,
41468 _swigc__p_wxPaperSize
,
41470 _swigc__p_wxPenList
,
41471 _swigc__p_wxPixelDataBase
,
41473 _swigc__p_wxPoint2D
,
41474 _swigc__p_wxPoint2DDouble
,
41475 _swigc__p_wxPostScriptDC
,
41476 _swigc__p_wxPrintData
,
41477 _swigc__p_wxPrinterDC
,
41478 _swigc__p_wxPseudoDC
,
41480 _swigc__p_wxPyCommandEvent
,
41481 _swigc__p_wxPyEvent
,
41482 _swigc__p_wxPyFontEnumerator
,
41483 _swigc__p_wxPyImageHandler
,
41484 _swigc__p_wxPyLocale
,
41485 _swigc__p_wxPySizer
,
41486 _swigc__p_wxPyValidator
,
41487 _swigc__p_wxQueryNewPaletteEvent
,
41489 _swigc__p_wxRect2DDouble
,
41490 _swigc__p_wxRegion
,
41491 _swigc__p_wxRegionIterator
,
41492 _swigc__p_wxRendererNative
,
41493 _swigc__p_wxRendererVersion
,
41494 _swigc__p_wxScreenDC
,
41495 _swigc__p_wxScrollEvent
,
41496 _swigc__p_wxScrollWinEvent
,
41497 _swigc__p_wxSetCursorEvent
,
41498 _swigc__p_wxShowEvent
,
41500 _swigc__p_wxSizeEvent
,
41502 _swigc__p_wxSizerItem
,
41503 _swigc__p_wxSplitterRenderParams
,
41504 _swigc__p_wxStaticBoxSizer
,
41505 _swigc__p_wxStdDialogButtonSizer
,
41506 _swigc__p_wxStockGDI
,
41507 _swigc__p_wxString
,
41508 _swigc__p_wxSysColourChangedEvent
,
41509 _swigc__p_wxTGAHandler
,
41510 _swigc__p_wxTIFFHandler
,
41511 _swigc__p_wxUpdateUIEvent
,
41512 _swigc__p_wxValidator
,
41513 _swigc__p_wxWindow
,
41514 _swigc__p_wxWindowCreateEvent
,
41515 _swigc__p_wxWindowDC
,
41516 _swigc__p_wxWindowDestroyEvent
,
41517 _swigc__p_wxXPMHandler
,
41521 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41523 static swig_const_info swig_const_table
[] = {
41524 {0, 0, 0, 0.0, 0, 0}};
41529 /* -----------------------------------------------------------------------------
41530 * Type initialization:
41531 * This problem is tough by the requirement that no dynamic
41532 * memory is used. Also, since swig_type_info structures store pointers to
41533 * swig_cast_info structures and swig_cast_info structures store pointers back
41534 * to swig_type_info structures, we need some lookup code at initialization.
41535 * The idea is that swig generates all the structures that are needed.
41536 * The runtime then collects these partially filled structures.
41537 * The SWIG_InitializeModule function takes these initial arrays out of
41538 * swig_module, and does all the lookup, filling in the swig_module.types
41539 * array with the correct data and linking the correct swig_cast_info
41540 * structures together.
41542 * The generated swig_type_info structures are assigned staticly to an initial
41543 * array. We just loop though that array, and handle each type individually.
41544 * First we lookup if this type has been already loaded, and if so, use the
41545 * loaded structure instead of the generated one. Then we have to fill in the
41546 * cast linked list. The cast data is initially stored in something like a
41547 * two-dimensional array. Each row corresponds to a type (there are the same
41548 * number of rows as there are in the swig_type_initial array). Each entry in
41549 * a column is one of the swig_cast_info structures for that type.
41550 * The cast_initial array is actually an array of arrays, because each row has
41551 * a variable number of columns. So to actually build the cast linked list,
41552 * we find the array of casts associated with the type, and loop through it
41553 * adding the casts to the list. The one last trick we need to do is making
41554 * sure the type pointer in the swig_cast_info struct is correct.
41556 * First off, we lookup the cast->type name to see if it is already loaded.
41557 * There are three cases to handle:
41558 * 1) If the cast->type has already been loaded AND the type we are adding
41559 * casting info to has not been loaded (it is in this module), THEN we
41560 * replace the cast->type pointer with the type pointer that has already
41562 * 2) If BOTH types (the one we are adding casting info to, and the
41563 * cast->type) are loaded, THEN the cast info has already been loaded by
41564 * the previous module so we just ignore it.
41565 * 3) Finally, if cast->type has not already been loaded, then we add that
41566 * swig_cast_info to the linked list (because the cast->type) pointer will
41568 * ----------------------------------------------------------------------------- */
41578 #define SWIGRUNTIME_DEBUG
41582 SWIG_InitializeModule(void *clientdata
) {
41584 swig_module_info
*module_head
;
41585 static int init_run
= 0;
41587 clientdata
= clientdata
;
41589 if (init_run
) return;
41592 /* Initialize the swig_module */
41593 swig_module
.type_initial
= swig_type_initial
;
41594 swig_module
.cast_initial
= swig_cast_initial
;
41596 /* Try and load any already created modules */
41597 module_head
= SWIG_GetModule(clientdata
);
41599 swig_module
.next
= module_head
->next
;
41600 module_head
->next
= &swig_module
;
41602 /* This is the first module loaded */
41603 swig_module
.next
= &swig_module
;
41604 SWIG_SetModule(clientdata
, &swig_module
);
41607 /* Now work on filling in swig_module.types */
41608 #ifdef SWIGRUNTIME_DEBUG
41609 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41611 for (i
= 0; i
< swig_module
.size
; ++i
) {
41612 swig_type_info
*type
= 0;
41613 swig_type_info
*ret
;
41614 swig_cast_info
*cast
;
41616 #ifdef SWIGRUNTIME_DEBUG
41617 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41620 /* if there is another module already loaded */
41621 if (swig_module
.next
!= &swig_module
) {
41622 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41625 /* Overwrite clientdata field */
41626 #ifdef SWIGRUNTIME_DEBUG
41627 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41629 if (swig_module
.type_initial
[i
]->clientdata
) {
41630 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41631 #ifdef SWIGRUNTIME_DEBUG
41632 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41636 type
= swig_module
.type_initial
[i
];
41639 /* Insert casting types */
41640 cast
= swig_module
.cast_initial
[i
];
41641 while (cast
->type
) {
41642 /* Don't need to add information already in the list */
41644 #ifdef SWIGRUNTIME_DEBUG
41645 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41647 if (swig_module
.next
!= &swig_module
) {
41648 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41649 #ifdef SWIGRUNTIME_DEBUG
41650 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41654 if (type
== swig_module
.type_initial
[i
]) {
41655 #ifdef SWIGRUNTIME_DEBUG
41656 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41661 /* Check for casting already in the list */
41662 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41663 #ifdef SWIGRUNTIME_DEBUG
41664 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41666 if (!ocast
) ret
= 0;
41671 #ifdef SWIGRUNTIME_DEBUG
41672 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41675 type
->cast
->prev
= cast
;
41676 cast
->next
= type
->cast
;
41682 /* Set entry in modules->types array equal to the type */
41683 swig_module
.types
[i
] = type
;
41685 swig_module
.types
[i
] = 0;
41687 #ifdef SWIGRUNTIME_DEBUG
41688 printf("**** SWIG_InitializeModule: Cast List ******\n");
41689 for (i
= 0; i
< swig_module
.size
; ++i
) {
41691 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41692 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41693 while (cast
->type
) {
41694 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41698 printf("---- Total casts: %d\n",j
);
41700 printf("**** SWIG_InitializeModule: Cast List ******\n");
41704 /* This function will propagate the clientdata field of type to
41705 * any new swig_type_info structures that have been added into the list
41706 * of equivalent types. It is like calling
41707 * SWIG_TypeClientData(type, clientdata) a second time.
41710 SWIG_PropagateClientData(void) {
41712 swig_cast_info
*equiv
;
41713 static int init_run
= 0;
41715 if (init_run
) return;
41718 for (i
= 0; i
< swig_module
.size
; i
++) {
41719 if (swig_module
.types
[i
]->clientdata
) {
41720 equiv
= swig_module
.types
[i
]->cast
;
41722 if (!equiv
->converter
) {
41723 if (equiv
->type
&& !equiv
->type
->clientdata
)
41724 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41726 equiv
= equiv
->next
;
41746 /* Python-specific SWIG API */
41747 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41748 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41749 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41751 /* -----------------------------------------------------------------------------
41752 * global variable support code.
41753 * ----------------------------------------------------------------------------- */
41755 typedef struct swig_globalvar
{
41756 char *name
; /* Name of global variable */
41757 PyObject
*(*get_attr
)(void); /* Return the current value */
41758 int (*set_attr
)(PyObject
*); /* Set the value */
41759 struct swig_globalvar
*next
;
41762 typedef struct swig_varlinkobject
{
41764 swig_globalvar
*vars
;
41765 } swig_varlinkobject
;
41767 SWIGINTERN PyObject
*
41768 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41769 return PyString_FromString("<Swig global variables>");
41772 SWIGINTERN PyObject
*
41773 swig_varlink_str(swig_varlinkobject
*v
) {
41774 PyObject
*str
= PyString_FromString("(");
41775 swig_globalvar
*var
;
41776 for (var
= v
->vars
; var
; var
=var
->next
) {
41777 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41778 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41780 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41785 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41786 PyObject
*str
= swig_varlink_str(v
);
41787 fprintf(fp
,"Swig global variables ");
41788 fprintf(fp
,"%s\n", PyString_AsString(str
));
41794 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41795 swig_globalvar
*var
= v
->vars
;
41797 swig_globalvar
*n
= var
->next
;
41804 SWIGINTERN PyObject
*
41805 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41806 PyObject
*res
= NULL
;
41807 swig_globalvar
*var
= v
->vars
;
41809 if (strcmp(var
->name
,n
) == 0) {
41810 res
= (*var
->get_attr
)();
41815 if (res
== NULL
&& !PyErr_Occurred()) {
41816 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41822 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41824 swig_globalvar
*var
= v
->vars
;
41826 if (strcmp(var
->name
,n
) == 0) {
41827 res
= (*var
->set_attr
)(p
);
41832 if (res
== 1 && !PyErr_Occurred()) {
41833 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41838 SWIGINTERN PyTypeObject
*
41839 swig_varlink_type(void) {
41840 static char varlink__doc__
[] = "Swig var link object";
41841 static PyTypeObject varlink_type
;
41842 static int type_init
= 0;
41844 const PyTypeObject tmp
41846 PyObject_HEAD_INIT(NULL
)
41847 0, /* Number of items in variable part (ob_size) */
41848 (char *)"swigvarlink", /* Type name (tp_name) */
41849 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41850 0, /* Itemsize (tp_itemsize) */
41851 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41852 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41853 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41854 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41855 0, /* tp_compare */
41856 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41857 0, /* tp_as_number */
41858 0, /* tp_as_sequence */
41859 0, /* tp_as_mapping */
41862 (reprfunc
)swig_varlink_str
, /* tp_str */
41863 0, /* tp_getattro */
41864 0, /* tp_setattro */
41865 0, /* tp_as_buffer */
41867 varlink__doc__
, /* tp_doc */
41868 0, /* tp_traverse */
41870 0, /* tp_richcompare */
41871 0, /* tp_weaklistoffset */
41872 #if PY_VERSION_HEX >= 0x02020000
41873 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41875 #if PY_VERSION_HEX >= 0x02030000
41878 #ifdef COUNT_ALLOCS
41879 0,0,0,0 /* tp_alloc -> tp_next */
41882 varlink_type
= tmp
;
41883 varlink_type
.ob_type
= &PyType_Type
;
41886 return &varlink_type
;
41889 /* Create a variable linking object for use later */
41890 SWIGINTERN PyObject
*
41891 SWIG_Python_newvarlink(void) {
41892 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41896 return ((PyObject
*) result
);
41900 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41901 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41902 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41904 size_t size
= strlen(name
)+1;
41905 gv
->name
= (char *)malloc(size
);
41907 strncpy(gv
->name
,name
,size
);
41908 gv
->get_attr
= get_attr
;
41909 gv
->set_attr
= set_attr
;
41910 gv
->next
= v
->vars
;
41916 SWIGINTERN PyObject
*
41918 static PyObject
*_SWIG_globals
= 0;
41919 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41920 return _SWIG_globals
;
41923 /* -----------------------------------------------------------------------------
41924 * constants/methods manipulation
41925 * ----------------------------------------------------------------------------- */
41927 /* Install Constants */
41929 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41932 for (i
= 0; constants
[i
].type
; ++i
) {
41933 switch(constants
[i
].type
) {
41934 case SWIG_PY_POINTER
:
41935 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41937 case SWIG_PY_BINARY
:
41938 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41945 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41951 /* -----------------------------------------------------------------------------*/
41952 /* Fix SwigMethods to carry the callback ptrs when needed */
41953 /* -----------------------------------------------------------------------------*/
41956 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41957 swig_const_info
*const_table
,
41958 swig_type_info
**types
,
41959 swig_type_info
**types_initial
) {
41961 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41962 const char *c
= methods
[i
].ml_doc
;
41963 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41965 swig_const_info
*ci
= 0;
41966 const char *name
= c
+ 10;
41967 for (j
= 0; const_table
[j
].type
; ++j
) {
41968 if (strncmp(const_table
[j
].name
, name
,
41969 strlen(const_table
[j
].name
)) == 0) {
41970 ci
= &(const_table
[j
]);
41975 size_t shift
= (ci
->ptype
) - types
;
41976 swig_type_info
*ty
= types_initial
[shift
];
41977 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41978 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41979 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41982 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41984 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41986 strncpy(buff
, "swig_ptr: ", 10);
41988 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41989 methods
[i
].ml_doc
= ndoc
;
42001 /* -----------------------------------------------------------------------------*
42002 * Partial Init method
42003 * -----------------------------------------------------------------------------*/
42008 SWIGEXPORT
void SWIG_init(void) {
42011 /* Fix SwigMethods to carry the callback ptrs when needed */
42012 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
42014 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42015 d
= PyModule_GetDict(m
);
42017 SWIG_InitializeModule(0);
42018 SWIG_InstallConstants(d
,swig_const_table
);
42021 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
42022 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
42023 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
42024 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
42025 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
42026 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
42027 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
42028 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
42029 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
42030 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
42031 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
42032 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
42033 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
42034 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
42035 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
42036 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
42037 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
42038 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
42039 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
42040 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
42041 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
42042 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
42043 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
42044 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
42045 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
42046 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
42047 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
42048 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
42049 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
42050 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
42051 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
42052 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
42053 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
42054 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
42055 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
42056 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
42057 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
42058 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
42059 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
42060 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
42061 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
42062 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
42063 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
42064 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
42065 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
42066 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
42067 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
42068 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
42069 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
42070 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
42071 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
42072 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
42073 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
42074 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
42075 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
42076 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
42077 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
42078 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
42079 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
42080 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
42081 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
42082 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
42083 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
42084 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
42085 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
42086 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
42087 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
42088 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
42089 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
42090 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
42091 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
42092 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
42093 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
42094 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
42095 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
42096 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
42097 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
42098 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
42099 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
42100 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
42101 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
42102 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
42103 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
42104 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
42105 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
42106 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
42107 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
42108 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
42109 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
42110 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
42111 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
42112 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
42113 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
42114 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
42115 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
42116 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
42117 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
42118 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
42119 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
42120 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
42121 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
42122 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
42123 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
42124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
42125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
42126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
42127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
42128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
42129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
42130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
42131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
42132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
42133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
42134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
42135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
42136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
42137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
42138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
42139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
42140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
42141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
42142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
42143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
42144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
42145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
42146 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
42147 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
42148 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
42149 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
42150 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
42151 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
42152 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
42154 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
42156 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
42157 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
42158 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42159 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42160 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42161 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42162 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42163 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42164 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42165 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42166 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42167 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42168 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42169 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42170 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42171 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42172 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42173 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42174 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42175 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42176 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42177 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42178 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42179 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42180 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42181 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42182 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42183 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42184 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42185 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42186 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42187 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42188 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42189 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42190 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42191 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42192 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42193 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42194 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42195 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42196 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42197 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42205 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42206 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42207 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42208 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42209 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42210 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42211 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42212 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42213 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42214 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42215 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42216 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42217 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42218 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42219 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42220 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42221 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42222 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42223 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42224 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42225 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42226 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42227 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42228 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42229 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42230 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42231 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42232 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42233 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42234 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42235 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42236 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42237 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42238 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42239 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42240 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42241 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42242 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42243 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42244 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42245 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42246 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42247 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42248 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42249 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42250 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42251 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42252 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42253 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42254 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42255 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42256 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42257 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42258 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42259 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42260 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42261 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42262 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42263 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42264 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42265 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42266 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42267 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42268 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42269 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42270 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42271 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42272 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42273 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42274 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42275 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42276 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42277 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42278 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42279 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42280 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42281 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42282 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42283 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42284 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42285 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42286 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42287 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42288 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42289 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42290 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42291 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42292 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42293 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42294 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42295 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42296 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42297 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42298 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42299 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42300 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42301 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42302 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42303 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42304 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42305 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42306 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42307 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42308 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42309 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42310 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42311 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42312 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42313 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42314 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42315 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42316 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42317 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42318 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42319 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42320 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42321 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42322 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42323 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42324 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42325 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42326 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42327 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42328 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42329 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42330 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42331 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42332 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42333 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42334 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42335 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42336 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42337 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42338 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42339 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42340 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42341 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42342 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42343 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42344 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42345 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42346 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42347 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42348 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42349 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42350 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42351 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42352 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42353 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42354 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42355 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42356 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42357 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42358 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42359 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42360 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42361 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42362 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42363 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42364 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42365 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42366 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42367 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42368 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42369 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42370 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42371 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42372 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42373 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42374 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42375 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42376 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42377 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42378 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42379 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42380 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42381 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42382 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42383 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42384 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42385 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42386 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42387 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42388 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42389 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42390 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42391 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42392 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42393 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42394 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42395 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42396 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42397 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42398 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42399 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42400 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42401 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42402 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42403 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42404 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42405 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42406 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42407 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42408 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42409 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42410 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42411 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42412 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42413 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42414 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42415 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42416 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42417 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42418 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42419 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42420 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42421 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42422 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42423 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42424 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42425 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42426 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42427 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42428 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42429 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42430 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42431 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42432 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42433 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42434 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42435 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42436 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42437 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42438 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42439 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42440 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42441 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42442 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42443 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42444 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42445 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42446 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42447 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42448 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42449 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42450 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42451 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42452 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42453 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42454 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42455 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42456 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42457 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42458 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42459 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42460 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42461 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42462 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42463 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42464 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42465 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42466 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42467 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42468 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42469 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42470 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42471 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42472 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42473 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42474 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42475 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42476 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42477 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42478 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42479 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42481 // Work around a chicken/egg problem in drawlist.cpp
42482 wxPyDrawList_SetAPIPtr();